Skip to content
Research · Dec 5, 2026

Together Compiler introduces continual agent loop for AI inference optimization

New compiler framework from Together AI uses tiered persistent engines and cost models to outperform hand-written kernels and open-source engines on multiple frontier models.

Trust79
HypeLow hype

1 source · cross-referenced

ShareXLinkedInEmail
TL;DR
  • Together Compiler (TKCC) is a continual agent loop for AI inference optimization that decouples engine launch overheads from forward pass computation.
  • TKCC outperforms hand-written Megakernels on Llama 1B by up to 1.7x and open-source engines on frontier models by up to 2.6x higher TPS on the InferenceX benchmark.
  • TKCC achieves state-of-the-art performance at batch size 1 with 1111 TPS on MiniMax M3.1 Flash and 1205 TPS on DeepSeek v4.1 Flash.
  • The system generalizes beyond language model inference and has served trillions of tokens in production.

Together AI describes a challenge in optimizing AI inference as workloads evolve rapidly with new model releases, diverse architectures, and shifting traffic patterns. Existing systems face a tradeoff between measurement throughput and fidelity when attempting continual compilation, particularly due to data-dependent behaviors in primitives like mixture-of-experts (MoE).

To address this, the authors introduce Together Compiler (TKCC), the first continual agent loop designed for AI inference optimization. TKCC proposes a Tiered Persistent Engine that decouples engine launch overheads from forward pass computation, and a cost model to select parallelism configurations that seed the optimization process.

The authors report that TKCC outperforms highly-optimized hand-written Megakernels on the Llama 1B workhorse workload by up to 1.7x. On the latest frontier models—Kimi K3, GLM 5.3, MiniMax M3.1 Flash, and DeepSeek v4.1 Flash—TKCC achieves up to 2.6x higher throughput (TPS) on the InferenceX benchmark across hardware platforms.

TKCC also sets state-of-the-art performance at batch size 1, with reported throughputs of 1111 TPS on MiniMax M3.1 Flash and 1205 TPS on DeepSeek v4.1 Flash. The system is reported to generalize beyond frontier language model inference and has served trillions of tokens across Together AI’s production fleet.

The paper includes extensive ablations on agent context management and discusses deployment insights for TKCC in production environments.

Sources
  1. 01arXiv cs.AI — Together Compiler: Continual Compilation for AI Inference
Also on Research

Stories may contain errors. Dispatch is assembled with AI assistance and curated by human editors; despite the trust-score filter, mistakes happen. We correct publicly — every article links to its revision history. Nothing here is financial, legal, or medical advice. Verify before relying on any claim.

© 2026 Dispatch. No ads. No sponsorships. No paid placement. Reader-supported via Ko-fi.

Built by a person who cares about honest AI news.