16 × AIAI signal, amplified
AI newsTopicsAboutSources
TelegramFollow on Telegram
AI newsTopicsAboutSources
16 × AIAI signal, amplified

An AI news engine that ingests trusted sources, scores with Claude, and posts only what clears the bar.

Follow on Telegram →

Subscribe

  • Telegram
  • RSS
  • All channels

Newsletter

Used only to send this newsletter. Privacy

Legal

  • Privacy
  • Imprint
© 2026 16 × AI. All rights reserved.A new issue every two days.
Home/Coding Tools
Coding Tools

Optimizing prefix caching for long-horizon agentic workloads

Together AI Blog·November 16, 2026·high confidence

Why it matters

  • →Prefix caching is critical for keeping long-horizon agent costs linear rather than quadratic.
  • →Dynamic system prompts or early tool definitions are primary causes of cache invalidation.
  • →Standardizing prompt structure between harnesses and inference engines improves efficiency.
Optimizing prefix caching for long-horizon agentic workloads
©Together AI Blog

Together AI and Ollama have published a technical analysis on optimizing prefix caching for long-horizon agentic workloads, addressing the quadratic cost increase inherent in coding agents that resend full conversation histories. The collaboration highlights how harness-side decisions, such as including dynamic system prompts or late-loaded tool definitions at the start of the prompt, frequently invalidate GPU caches and force redundant computation. By standardizing where static versus dynamic content resides within the request structure, developers can maintain cache hits across turns, significantly reducing latency and inference costs for sessions spanning tens of thousands of tokens.

Read original

The story around this

Earlier coverage that leads up to this article, and what followed. Lines connect each piece to the closest one after it, converging here.

ThunderAgent Boosts Agentic Inference Efficiency — Together AI Blog1Agentic Memory Calibration for AI Models — Hugging Face Blog2Jev: A Decision-Only AI Model for Agents — Cole Medin3OpenAI Launches Agents API for Persistent Memory — Matt Wolfe4llama.cpp v0.7.0: MoE caching and speculative decoding advances — llama.cpp Releases5AI Agent Memory Techniques Explained — Lev Selector6llama.cpp b12059 optimizes unified KV cache for multi-sequence — llama.cpp Releases7Together AI automates inference optimization with agents — Together AI Blog8Optimizing prefix caching for long-horizon agentic workloadsHugging Face harness adapters optimize agents via RL — Hugging Face Blog9Replit Launches Agent Swarm Benchmark and Missions — Lev Selector10Jul 29You are hereNov 20

How we got here

  1. 1
    ThunderAgent Boosts Agentic Inference Efficiency

    Together AI Blog · July 29, 2026 · Related

  2. 2
    Agentic Memory Calibration for AI Models

    Hugging Face Blog · August 18, 2026 · Related

  3. 3
    Jev: A Decision-Only AI Model for Agents

    Cole Medin · September 21, 2026 · Background

  4. 4
    OpenAI Launches Agents API for Persistent Memory

    Matt Wolfe · September 24, 2026 · Background

  5. 5
    llama.cpp v0.7.0: MoE caching and speculative decoding advances

    llama.cpp Releases · October 16, 2026 · Related

  6. 6
    AI Agent Memory Techniques Explained

    Lev Selector · October 22, 2026 · Related

  7. 7
    llama.cpp b12059 optimizes unified KV cache for multi-sequence

    llama.cpp Releases · November 3, 2026 · Related

  8. 8
    Together AI automates inference optimization with agents

    Together AI Blog · November 4, 2026 · Related

What happened next

  1. 9
    Hugging Face harness adapters optimize agents via RL

    Hugging Face Blog · November 20, 2026 · Related

  2. 10
    Replit Launches Agent Swarm Benchmark and Missions

    Lev Selector · November 20, 2026 · Background

Follow this story

Open the full story →

Optimizing prefix caching for long-horizon agentic workloads

2 developments

  1. Nov 16 · Together AI Blog
    Optimizing prefix caching for long-horizon agentic workloads (This article)
  2. Nov 16 · Ollama Blog
    Ollama and Together AI guide on agent prefix caching

More from Together AI Blog

Qwen4 Max on Together AI: Full Repo Coding© Together AI Blog
Models & Labscoding

Qwen4 Max on Together AI: Full Repo Coding

Alibaba’s Qwen4 Max is now live on Together AI, proving that massive context windows can handle real-world coding tasks without retrieval augmentation. In a direct test, the model ingested Tornado’s entire 344-file repository and generated a patch that passed all maintainer tests in one shot. The pricing structure heavily rewards this use case, with prompt caching dropping repeat costs to mere cents. This shifts long-context inference from theoretical benchmarking to practical, affordable developer tooling.

Together AI Blog·Nov 21, 2026
Together AI confirms prompt leakage via exposed HF credential© Together AI Blog
Market & Regulationother

Together AI confirms prompt leakage via exposed HF credential

Together AI has confirmed that an unauthorized party accessed stored prompt samples from June and July by exploiting a leaked Hugging Face credential. The breach originated when an AI coding agent committed the secret to a public GitHub repository, allowing attackers to download data for models like MiniMax M3 and Kimi K2.6. While no customer API keys were compromised, the incident exposes a critical vulnerability in using autonomous agents for development workflows without strict access controls. Together is now making zero data retention the default for new accounts to mitigate future risks. This shift signals a move away from storing inference data by default, prioritizing privacy over debugging convenience. The exposure window was short, but the method—credential leakage via AI tools—is becoming a common attack vector. Customers handling sensitive prompts must now actively enable ZDR to ensure their data remains ephemeral.

Together AI Blog·Nov 21, 2026
Qwen3 TTS launches on Together AI with real-time streaming© Together AI Blog
Models & Labsmusic

Qwen3 TTS launches on Together AI with real-time streaming

Together AI has integrated Qwen's open-source text-to-speech model, bringing a significant shift in how developers handle voice synthesis. The standout feature is the decoupling of identity from delivery: nine preset voices can be instructed to change tone and emotion via plain language while maintaining consistent character across ten languages. With first audio latency as low as 97ms and native WebSocket support for token-by-token streaming, this setup finally makes real-time voice agents viable without complex infrastructure hacks. It effectively lowers the barrier for building conversational AI that sounds natural and responsive.

Together AI Blog·Nov 20, 2026

More in Coding Tools

Coding Toolscoding

llama.cpp b12642 fixes MoE weight copying bug

This release patches a critical correctness bug in multi-node Mixture-of-Experts inference where shared expert weights were copied partially, leading to stale data and incorrect outputs. The fix ensures all experts are properly replicated across nodes before graph execution, stabilizing large-scale distributed runs. While the binary lineup remains consistent with previous versions—supporting CUDA 13, ROCm 10.0, and various CPU/GPU backends—the underlying logic correction is vital for anyone running complex MoE models like Inkling2 on multi-node setups. It’s a quiet but necessary fix for reliability in advanced deployment scenarios.

llama.cpp Releases·Nov 23, 2026
Coding Toolscoding

llama.cpp b12643 fixes Qwen3 audio tail

This release quietly patches a critical inference bug in llama.cpp’s multimodal handling of Qwen3-Omni and Qwen3-ASR models. Previously, zero-padding artifacts introduced extra tokens that corrupted audio output, a subtle but fatal flaw for speech recognition tasks. The fix replaces magic numbers with explicit token mapping logic, ensuring the model processes only valid audio frames. While not a new feature, it stabilizes one of the most popular open-source multimodal pipelines for developers relying on Qwen’s audio capabilities.

llama.cpp Releases·Nov 23, 2026
Coding Toolscoding

llama.cpp b12644 speeds up audio FFT

This release quietly optimizes the multimodal pipeline by replacing recursive radix-2 splitting with iterative stages for shared audio FFT. The change preserves operation order while reducing input buffer overhead and adding specific tests for forward and inverse transforms. It’s a performance tweak rather than a feature leap, but it tightens the efficiency of audio processing in local inference. Users on supported platforms get faster audio handling without changing their workflow.

llama.cpp Releases·Nov 23, 2026