# kv-cache

Published articles for kv-cache.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Инференс LLM: от KV-кэша до продакшен-деплоя

DevFeed: [Инференс LLM: от KV-кэша до продакшен-деплоя](<https://devfeed.tech/articles/llm-kv-30672.md>)

Original publisher: [Read original article](<https://habr.com/ru/companies/hh/articles/1062318/>)

Author: a\_ryzhov (hh.ru, Конференции Олега Бунина (Онтико))

Published: 2026-07-27T05:30:45Z

Content type: tutorial

Language: ru

Sources: [HeadHunter RU](<https://devfeed.tech/sources/headhunter-ru.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Caching](<https://devfeed.tech/topics/caching.md>), [on-prem](<https://devfeed.tech/topics/on-prem.md>), [genai](<https://devfeed.tech/topics/genai.md>), [MLOps](<https://devfeed.tech/topics/mlops.md>), [sglang](<https://devfeed.tech/topics/sglang.md>), [vllm](<https://devfeed.tech/topics/vllm.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [compute](<https://devfeed.tech/tags/compute.md>), [genai](<https://devfeed.tech/tags/genai.md>), [http](<https://devfeed.tech/tags/http.md>), [inference](<https://devfeed.tech/tags/inference.md>), [kv-cache](<https://devfeed.tech/tags/kv-cache.md>), [llm](<https://devfeed.tech/tags/llm.md>), [mlops](<https://devfeed.tech/tags/mlops.md>), [on-prem](<https://devfeed.tech/tags/on-prem.md>), [sglang](<https://devfeed.tech/tags/sglang.md>), [sram](<https://devfeed.tech/tags/sram.md>), [vllm](<https://devfeed.tech/tags/vllm.md>)

### AI overview

This Russian-language developer article explains how LLM inference behaves in on-premises production environments in 2026. It argues that GPU memory management is the main efficiency constraint, describes how KV caching shifts decoding from compute-bound to memory-bandwidth-bound work, and introduces vLLM and SGLang as ways to address the problem.

### Source excerpt

Привет! Я Саша Рыжов, MLOps-инженер в hh.ru, уже три года занимаюсь развитием инфраструктуры для искусственного интеллекта. Компании, которые развивают GenAI, рано или поздно приходят к задачам по запуску LLM на собственном железе. В статье я расскажу, как обстоят дела с движками инференса в 2026 году и как запустить on-prem-прод и не изобрести при этом велосипед. Читать далее

## Operational Costs and Performance Constraints of Self-Hosting Llama-3

DevFeed: [Operational Costs and Performance Constraints of Self-Hosting Llama-3](<https://devfeed.tech/articles/the-expensive-cosplay-of-local-models-true-3-am-operational-cost-of-hosting-llama-3-39574.md>)

Original publisher: [Read original article](<https://ankit-rana.com/logs/22-expensive-cosplay-local-llama-inference-tco/>)

Author: hello@ankit-rana.com

Published: 2026-03-21T00:00:00Z

Content type: opinion

Language: en

Sources: [Ankit Rana | Mechanical Sympathy](<https://devfeed.tech/sources/ankit-rana-mechanical-sympathy.md>)

Topics: [llama](<https://devfeed.tech/topics/llama.md>), [Inference](<https://devfeed.tech/topics/inference.md>), [GPU](<https://devfeed.tech/topics/gpu.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Latency](<https://devfeed.tech/topics/latency.md>)

Tags: [cuda](<https://devfeed.tech/tags/cuda.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [inference](<https://devfeed.tech/tags/inference.md>), [kv-cache](<https://devfeed.tech/tags/kv-cache.md>), [latency](<https://devfeed.tech/tags/latency.md>), [llama](<https://devfeed.tech/tags/llama.md>), [llm](<https://devfeed.tech/tags/llm.md>), [operations](<https://devfeed.tech/tags/operations.md>), [vram](<https://devfeed.tech/tags/vram.md>)

### AI overview

This opinion article argues that the total cost of self-hosting Llama-3 includes VRAM for model weights and per-user KV caches, memory-bandwidth limits, batching and latency trade-offs, idle GPU time, and operational staffing. It uses a Llama-3 70B example to illustrate why API savings may be offset by infrastructure and support costs.

### Source excerpt

Llama-3 70B at 16-bit precision needs roughly 140 GB of VRAM just to sit idle, before the KV cache that every concurrent user requires. Inference is memory-bandwidth-bound rather than compute-bound: an A100's roughly 2000 GB/s against a 140 GB weight set caps single-stream generation near 14 tokens per second before batching. Add idle GPU time, batching-versus-latency trade-offs, and an ML infra engineer on pager duty, and that salary alone can erase the API savings.

## Instrumenting AI Agents: Why the Apology Metric Is a First Class Reliability Signal

DevFeed: [Instrumenting AI Agents: Why the Apology Metric Is a First Class Reliability Signal](<https://devfeed.tech/articles/instrumenting-ai-agents-why-the-apology-metric-is-a-first-class-reliability-signal-39575.md>)

Original publisher: [Read original article](<https://ankit-rana.com/logs/23-vector-db-vs-graphrag-global-sense-making/>)

Author: hello@ankit-rana.com

Published: 2026-03-21T00:00:00Z

Content type: article

Language: en

Sources: [Ankit Rana | Mechanical Sympathy](<https://devfeed.tech/sources/ankit-rana-mechanical-sympathy.md>)

Topics: [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [reliability](<https://devfeed.tech/topics/reliability.md>), [agent observability](<https://devfeed.tech/topics/agent-observability.md>), [context](<https://devfeed.tech/topics/context.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [api](<https://devfeed.tech/tags/api.md>), [backend](<https://devfeed.tech/tags/backend.md>), [context](<https://devfeed.tech/tags/context.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [distributed-systems](<https://devfeed.tech/tags/distributed-systems.md>), [inference](<https://devfeed.tech/tags/inference.md>), [json](<https://devfeed.tech/tags/json.md>), [kv-cache](<https://devfeed.tech/tags/kv-cache.md>), [latency](<https://devfeed.tech/tags/latency.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llmops](<https://devfeed.tech/tags/llmops.md>), [metric](<https://devfeed.tech/tags/metric.md>), [observability](<https://devfeed.tech/tags/observability.md>), [orchestration](<https://devfeed.tech/tags/orchestration.md>), [rag](<https://devfeed.tech/tags/rag.md>), [reliability](<https://devfeed.tech/tags/reliability.md>), [reliability-engineering](<https://devfeed.tech/tags/reliability-engineering.md>), [signal](<https://devfeed.tech/tags/signal.md>), [timeout](<https://devfeed.tech/tags/timeout.md>)

### AI overview

This article argues that AI agents can return HTTP 200 responses while still failing business tasks. It proposes tracking apology responses as a reliability signal to expose context starvation caused by stalled dependencies, timeouts, stale synchronization, dropped data, or payload truncation in retrieval and orchestration pipelines.

### Source excerpt

An AI agent that returns "I apologize, but I cannot find that order" ships an HTTP 200. Infrastructure dashboards call that healthy; the business calls it a failure. Tracking apology phrases as a first-class SLO surfaces context starvation, a stalled dependency, a timeout guard tripping, or silent payload truncation, none of which HTTP status codes and CPU graphs can see.

## Why MCP and Skills Are Complementary for AI Agents

DevFeed: [Why MCP and Skills Are Complementary for AI Agents](<https://devfeed.tech/articles/why-do-we-need-mcp-if-skills-exist-now-31110.md>)

Original publisher: [Read original article](<https://www.mintlify.com/blog/why-do-we-need-mcp-if-skills-exist>)

Author: Michael Ryaboy

Published: 2026-01-26T00:00:00Z

Content type: article

Language: en

Sources: [Mintlify Blog](<https://devfeed.tech/sources/mintlify-blog.md>)

Topics: [Model Context Protocol](<https://devfeed.tech/topics/model-context-protocol.md>), [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [OAuth](<https://devfeed.tech/topics/oauth.md>), [Caching](<https://devfeed.tech/topics/caching.md>), [context window](<https://devfeed.tech/topics/context-window.md>), [Claude](<https://devfeed.tech/topics/claude.md>), [anthropic](<https://devfeed.tech/topics/anthropic.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [ai-trends](<https://devfeed.tech/tags/ai-trends.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [context-window](<https://devfeed.tech/tags/context-window.md>), [dev](<https://devfeed.tech/tags/dev.md>), [kv-cache](<https://devfeed.tech/tags/kv-cache.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [oauth](<https://devfeed.tech/tags/oauth.md>), [performance](<https://devfeed.tech/tags/performance.md>), [skills](<https://devfeed.tech/tags/skills.md>)

### AI overview

This article explains that MCP and Skills address different needs for AI agents: MCP provides standardized, authenticated and scoped access to external services, while Skills package the knowledge needed to use tools effectively. It also discusses MCP's context bloat and caching costs, and presents CLIs as an emerging complementary pattern.

### Source excerpt

Skills and MCP solve different problems. Skills package knowledge. MCP packages authenticated, scoped access on a user's behalf.

## Scaling LLM Inference: Innovations in Tensor Parallelism, Context Parallelism, and Expert Parallelism

DevFeed: [Scaling LLM Inference: Innovations in Tensor Parallelism, Context Parallelism, and Expert Parallelism](<https://devfeed.tech/articles/scaling-llm-inference-innovations-in-tensor-parallelism-context-parallelism-and-expert-parallelism-30492.md>)

Original publisher: [Read original article](<https://engineering.fb.com/2025/10/17/ai-research/scaling-llm-inference-innovations-tensor-parallelism-context-parallelism-expert-parallelism/>)

Author: Cen Zhao; Xiaodong Wang; Jianyu Huang

Published: 2025-10-17T16:00:50Z

Content type: article

Language: en

Sources: [Meta AI Research](<https://devfeed.tech/sources/meta-ai-research.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [AI Inference](<https://devfeed.tech/topics/ai-inference.md>), [Inference Performance](<https://devfeed.tech/topics/inference-performance.md>), [LLM Techniques](<https://devfeed.tech/topics/llm-techniques.md>), [GPU](<https://devfeed.tech/topics/gpu.md>), [sharding](<https://devfeed.tech/topics/sharding.md>), [long-context](<https://devfeed.tech/topics/long-context.md>)

Tags: [ai-research](<https://devfeed.tech/tags/ai-research.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [inference](<https://devfeed.tech/tags/inference.md>), [kv-cache](<https://devfeed.tech/tags/kv-cache.md>), [large-language-models-llms](<https://devfeed.tech/tags/large-language-models-llms.md>), [latency](<https://devfeed.tech/tags/latency.md>), [llms](<https://devfeed.tech/tags/llms.md>), [parallelism](<https://devfeed.tech/tags/parallelism.md>), [performance](<https://devfeed.tech/tags/performance.md>), [sharding](<https://devfeed.tech/tags/sharding.md>)

### AI overview

Meta describes three forms of parallelism--tensor, context, and expert parallelism--for scaling large language model inference across GPUs. The article explains how prefill and decoding differ computationally and how these techniques target resource efficiency, throughput, and latency.

### Source excerpt

At Meta, we are constantly pushing the boundaries of LLM inference systems to power applications such as the Meta AI App. We're sharing how we developed and implemented advanced parallelism techniques to optimize key performance metrics related to resource efficiency, throughput, and latency. The rapid evolution of large language models (LLMs) has ushered in a [...] Read More... The post Scaling LLM Inference: Innovations in Tensor Parallelism, Context Parallelism, and Expert Parallelism appeared first on Engineering at Meta.