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.
1 source · cross-referenced
- 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.
- Dec 5, 2026 · Microsoft Research
Microsoft Research highlights AI translation, 31-year math breakthrough, and coding agent efficiency gains
Trust79 - Dec 5, 2026 · Apple — Machine Learning Research
Apple study links SSM gating to memorization-vs-in-context trade-off
Trust79 - Dec 5, 2026 · arXiv cs.AI
Research argues universal AI alignment is impossible under multi-stakeholder conditions
Trust79