Compute & Cloud
Together AI's new compiler boosts inference throughput up to 3x
Together AI launched Together Compiler, an agent-driven system that retunes inference engines in under 24 hours, raising throughput 1.3 to 3x across frontier open-source models.
Together AI introduced Together Compiler, internally called TKCC, an automated system that uses AI agents to continuously retune the inference engines serving its frontier open-source models — Kimi K3, GLM 5.3, MiniMax M3.1-Flash and DeepSeek v4.1-Flash — lifting throughput 1.3 to 3x in under 24 hours. On SemiAnalysis’s InferenceX low-latency benchmark, the system set new highs of 1,111 tokens per second on MiniMax M3.1-Flash and 1,205 tokens per second on DeepSeek v4.1-Flash, and it outperformed hand-tuned open-source “megakernels” by 1.7x on the standard Llama 1B, batch-size-1 test.
Together frames the challenge as constant drift: traffic shifts by region — the company has measured prompt lengths running 1.4x longer during one country’s working hours than another’s — and jumps 80% in the two weeks after a new model ships, as users move from chat testing toward agentic workloads, then spikes again in sudden bursts. Retooling an inference engine for every experiment normally means a full relaunch, which Together measured at 467 seconds from cold start to serving. TKCC instead keeps “persistent engines” running and hot-reloads candidate code, cutting that same sequence to 9 seconds. To balance how many experiments it can run against how trustworthy each result is, the system splits work across “fast engines,” which load only a few layers for rapid, low-variance iteration, and “slower engines,” which load the full model to confirm an optimization holds up against real traffic rather than synthetic test data — a distinction Together says matters because architectures like MoE (mixture of experts) and sparse-k attention make results sensitive to the actual input distribution. Multiple agents generate and test optimizations in parallel over a shared message board, and a custom cost model picks parallelism strategies such as tensor and expert parallelism without exhaustively benchmarking every configuration. Together says the approach raises experiment throughput 252x over baseline agentic optimization systems.
The company also applied TKCC beyond language-model serving: it reports larger speedups than Claude Code’s “/goal” command on three of four popular open-source codebases it tested, spanning weather modeling, partial differential equations, time-series analysis and biology models. Together says it now uses TKCC as a general-purpose compiler beyond LLM inference, and Together Compiler is already in production, serving the many trillions of tokens the company processes every day.
Why it matters
Inference optimization has mostly been a one-time tuning exercise performed by hand for each model-hardware pairing; folding that into continuously running AI agents lets providers answer new model releases and shifting traffic patterns in hours instead of weeks, extracting more throughput from the same GPU fleet.