When thousands of customers send very different requests to the same AI model, the settings that make it fast for one group can slow it down for another. Together AI describes an AI inference compiler, called Together Compiler, that keeps re-tuning how a model runs as that traffic changes. The company reports the system works within 24 hours.
What does Together Compiler actually do?
Together Compiler takes three inputs: the traffic shape, the model and the hardware. Software agents then generate optimizations for the inference engine, the program that runs a model and answers requests. Together AI says the loop repeats as traffic drifts, so the engine is recompiled instead of tuned once and left alone.
Together AI says the system is already serving trillions of tokens. A token is a small chunk of text a model reads or writes, and throughput is usually counted in tokens per second (TPS).
Why does inference need constant re-tuning?
Together AI argues that hand-optimizing every combination of model, chip and workload no longer scales. It points to three sources of variation.
- Architectures: the company says none of the top-10 open-source language models on OpenRouter share the same architecture.
- Workloads: Together AI says it serves many trillions of tokens per day across thousands of customers, each with a different traffic shape.
- Hardware: different chips, including H100, B200 and B300 systems, each need distinct strategies.
Together AI also describes how traffic moves. It observed prompts in one country’s working hours running 1.4x longer than in another (97k versus 70k tokens). After a new model release, it saw an 80% rise in prompt length within two weeks as users shifted from chat to agent-style work. Sudden bursts can double prompt lengths and lower cache hit rates.
How do persistent engines speed up experiments?
Agents can search for optimizations without fixed rules, but Together AI says they are held back by how slowly experiments run. Many existing systems restart an engine such as vLLM, SGLang or TRT-LLM for each test, and startup takes tens of minutes.
Together Compiler instead starts an engine once and hot-reloads each candidate change without restarting. Together AI’s table lists time to serving at 467 seconds for the status quo and 9.0 seconds for its approach. Several agents run in parallel and share ideas through a message board, keeping the engines supplied with new candidates. Together AI credits this design with 252x higher experiment throughput than baseline agent-based optimization systems.
How does it keep measurements trustworthy?
Testing a single kernel, a small unit of GPU code, in isolation is fast but can mislead. Together AI explains that modern models use data-dependent components such as mixture-of-experts and sparse attention, so the input data affects which optimization wins. Random test inputs can therefore pick the wrong answer.
Together Compiler uses two tiers of engines. Fast engines load a few layers for quick, low-noise timings. Slower engines load many layers to check whether a change holds up on realistic data.
A custom cost model also chooses parallelism strategies, which are ways of splitting a model across GPUs. It combines hardware specifications, microbenchmarks and measured forward passes. Together AI says this prunes the search space quickly while reflecting traffic features such as expert imbalance and uneven prompt lengths.
What results does Together AI report?
- Across open models including Kimi, GLM, MiniMax and DeepSeek variants, it reports 1.3-3x higher TPS in under 24 hours.
- On SemiAnalysis’ InferenceX benchmark for low latency, it reports 1111 TPS on a MiniMax model and 1205 TPS on a DeepSeek model, which it calls state-of-the-art.
- On a standard Llama 1B batch-size-1 test, it reports 1.7x higher TPS than open-source megakernels, which are hand-built single GPU programs.
- It says the approach also extends to weather modeling, PDE, time-series and biology code.
These figures come from Together AI’s own post, which is the only source here, and the comparisons were not independently reproduced in this article.
Who is affected?
The system targets inference providers and their customers. Faster token generation on the same hardware means quicker responses for people using the affected open models through Together AI’s service. The post does not describe a separate product for outside teams to run themselves, and it gives no pricing.