> ## Content Index
> Fetch the complete content index at: https://www.stirup.si/llms.txt
> Use this file to discover other available public pages before exploring further.

# Together Compiler Achieves 2.6x Higher TPS on Multiple Models
- URL: https://www.stirup.si/together-compiler-achieves-2-6x-higher-tps-on-multiple-models-30689b89/
- Published: 2026-11-12T06:54:10.000Z
- Updated: 2026-11-12T06:54:10.000Z
- Description: The Together Compiler (TKCC) achieves up to 2.6x higher TPS on models such as Kimi K3, GLM 5.3, MiniMax M3.1-Flash, and DeepSeek v4.1-Flash, according to www.together.ai.
- Author: Satish Das
- Tags: News, Stirup Research

## Introduction to Together Compiler and Its Optimization Capabilities

The Together Compiler (TKCC) introduces a novel approach to AI inference optimization through its continual compilation framework. Designed to handle diverse workloads, TKCC leverages high-throughput agents to deliver performance improvements across a range of open-source models. According to [www.together.ai](https://www.together.ai/blog/together-compiler-continual-compilation-for-ai-inference?ref=stirup.si), TKCC achieves up to 2.6x higher TPS on models such as Kimi K3, GLM 5.3, MiniMax M3.1-Flash, and DeepSeek v4.1-Flash. It also sets the state-of-the-art on the SemiAnalysis’ InferenceX benchmark, achieving 1111 TPS on MiniMax M3.1-Flash and 1205 TPS on DeepSeek v4.1-Flash for low-latency use cases at batch size 1\. As noted in [www.together.ai](https://www.together.ai/blog/together-compiler-continual-compilation-for-ai-inference?ref=stirup.si), TKCC outperforms highly-optimized baselines by up to 2.6x higher TPS. These results highlight the compiler’s ability to consistently deliver performance improvements across various settings.

## Inputs and Architecture of Together Compiler

The Together Compiler takes three primary inputs: traffic shape, model configuration, and hardware specifications. These inputs guide the compilation process, which is designed to adapt continuously as traffic patterns evolve. According to [www.together.ai](https://www.together.ai/blog/together-compiler-continual-compilation-for-ai-inference?ref=stirup.si), the compiler operates within a system that includes agents, a persistent engine, and an ensemble, all working in a loop to recompile as traffic drifts. However, [www.together.ai](https://www.together.ai/blog/together-compiler-continual-compilation-for-ai-inference?ref=stirup.si) notes that this approach may not fully capture data-dependent traffic properties, such as imbalances in MoE expert usage or uneven distributions in prompt lengths. The architecture emphasizes continual adaptation but acknowledges limitations in handling certain complex traffic characteristics. This highlights the need for further refinement in capturing nuanced data dependencies within the compilation process.

## Performance Benchmarks and Comparisons

Performance benchmarks highlight the Together Compiler's superiority in AI inference tasks. According to Figure 5 from SemiAnalysis, the Together Compiler outperforms megakernel and CUDA graph baselines on both H100 and B200 InferenceX AgentX workloads. On the AgentX benchmark, TKCC consistently sets the performance frontier, achieving up to 2.6x higher transactions per second (TPS) compared to highly-optimized baselines. In low-latency scenarios with batch size 1, TKCC sets state-of-the-art performance, delivering 1111 TPS on MiniMax M3.1-Flash and 1205 TPS on DeepSeek v4.1-Flash. Figure 7 further demonstrates that the Together Compiler is faster per user than the best InferenceX configuration across six model and chip pairs. The evaluation also extends to diverse AI workloads, including weather modeling, PDE, time-series, and biology, using popular open-source code bases.

## Challenges in Engine Startup and Optimization Strategies

Engine startup times for AI inference systems can be tens of minutes, significantly slowing down experimentation and deployment cycles \[[www.together.ai](https://www.together.ai/blog/together-compiler-continual-compilation-for-ai-inference?ref=stirup.si)\]. A breakdown of these delays reveals that weight loading, KV-cache sizing, JIT kernel warm-up, and autotuning collectively account for the majority of the time spent before the system is ready for inference \[[www.together.ai](https://www.together.ai/blog/together-compiler-continual-compilation-for-ai-inference?ref=stirup.si)\]. For instance, JIT kernel warm-up alone contributes 193 seconds to the total time, while the API server ready phase takes only 10 seconds \[[www.together.ai](https://www.together.ai/blog/together-compiler-continual-compilation-for-ai-inference?ref=stirup.si)\]. These bottlenecks highlight the need for optimization strategies that reduce startup overhead without compromising inference quality. However, selecting the ideal configuration remains challenging due to the throughput-fidelity tradeoff, as measuring every parallelism configuration is infeasible with current immature software implementations \[[www.together.ai](https://www.together.ai/blog/together-compiler-continual-compilation-for-ai-inference?ref=stirup.si)\].

## Broader Applications and Future Research Directions

Broader Applications and Future Research Directions

The Together Compiler is being explored as a general-purpose AI compiler, extending its utility beyond large language model (LLM) inference, as noted in internal discussions [www.together.ai](https://www.together.ai/blog/together-compiler-continual-compilation-for-ai-inference?ref=stirup.si). Research suggests that the compiler may achieve larger speedups than Claude Code on three of four models, according to Figure 8 [www.together.ai](https://www.together.ai/blog/together-compiler-continual-compilation-for-ai-inference?ref=stirup.si). Looking ahead, Polymorphic AI systems represent the next frontier for Together AI. The company identifies Polymorphic Inference as a significant systems challenge, where inference must adapt to dynamically evolving traffic patterns, akin to financial markets [www.together.ai](https://www.together.ai/blog/together-compiler-continual-compilation-for-ai-inference?ref=stirup.si). This evolving landscape introduces new research questions, particularly around optimizing for multiple traffic shapes, hardware platforms, and models simultaneously. These developments highlight the need for continued innovation in compiler design to support the next generation of AI systems.

## Sources and reporting notes

- [www.together.ai](https://www.together.ai/blog/together-compiler-continual-compilation-for-ai-inference?ref=stirup.si)

Based on published source material. No independent hands-on testing is claimed.