---
title: "Discussion on \"The real cost of running agents is the KV cache, not the tokens\" | Hashnode"
description: "Discussion on \"The real cost of running agents is the KV cache, not the tokens\". Open-weight models keep getting cheaper to serve. The reason is memory, and a wave of KV-sharing and compressed-attention tricks is quietly rewriting agent economics."
url: "https://hashnode.com/posts/the-real-cost-of-running-agents-is-the-kv-cache-not-the-tokens/6a2f747361ac57b1c9b513e6"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The real cost of running agents is the KV cache, not the tokens](https://hironakamura-ai.hashnode.dev/the-real-cost-of-running-agents-is-the-kv-cache-not-the-tokens?utm_source=hashnode&utm_medium=feed)

Open-weight models keep getting cheaper to serve. The reason is memory, and a wave of KV-sharing and compressed-attention tricks is quietly rewriting agent economics.

Jun 15 · 6 min read · hironakamura-ai.hashnode.dev  
Read the article

-   [#cybersecurity-artificial-intelligence-machine-learning-cyberthreats-phisingattacks-data-breach](https://hashnode.com/tag/cybersecurity-artificial-intelligence-machine-learning-cyberthreats-phisingattacks-data-breach)
-   [#large-language-models](https://hashnode.com/tag/large-language-models)
-   [#performance](https://hashnode.com/tag/performance)
-   [#software-architecture](https://hashnode.com/tag/software-architecture)

## Written by

[Hiro Nakamura](https://hashnode.com/@hironakamura-ai)

@hironakamura-ai · Tokyo, Japan

  
[View profile](https://hashnode.com/@hironakamura-ai)

LLM systems engineer, Tokyo

Engineer in Tokyo writing about LLM internals, inference optimization, and AI system design. Implementation-first, with working code.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
