The engineering behind inference.Contact ↗
Batch & Release/Inference

Together AI launches Polymorphic Inference with agent-driven Continuous Compilation

Together AI says its production endpoints now use AI agents to optimize inference, a shift it calls Polymorphic Inference. The company also introduces Together Compiler, an agentic optimization loop for Continuous Compilation.

Together AI launches Polymorphic Inference with agent-driven Continuous Compilation
Image: Together AI ↗

Together AI says it is now running production inference through AI agents that optimize their own serving, a system the company calls Polymorphic Inference. In a blog post published November 4, 2026, the company describes this as the first production-scale recursive self-improvement (RSI) inference system, and says many of the models served through its endpoints are fully optimized by these agents.

The shift is a response to four trends the company identifies: faster release cycles for open models, greater diversity in model architectures, continuously evolving traffic shapes, and hardware that changes more frequently. Together AI notes that 80% of traffic on OpenRouter goes to models released in the last three months, and that the top ten most popular open-source models each use a different architecture. The company contrasts this with what it calls the Static Inference era, defined by closed models, traditional Transformer architectures, single-user workloads, and a single hardware platform.

From megakernels to agentic search

Together AI says its own earlier approach, megakernels, was designed around a single static shape such as batch size one for a Llama 1B model. After putting some of the first megakernels into production last year, the company concluded that megakernel fusion is not the right design goal for modern inference. Instead, the company argues, every variation in model architecture, workload, and hardware requires a different technical approach.

The company also criticizes common open-source inference recipes, such as those for vLLM, SGLang, or InferenceX, which launch with static hyperparameter-tuned engine configurations. A config that works for one setting may not be optimal for another, and open-source kernels are often released assuming static traffic shapes. As an example, the company says MoE kernels that work well against random tokens may not transfer to real production settings.

Together Compiler and Continuous Compilation

As a first step toward Polymorphic Inference, Together AI announces Together Compiler, a rapid AI-powered performance optimization loop. The compiler recasts inference optimization from a traditional compiler translation problem into an agentic search problem, pairing a swarm of agents with a high-fidelity persistent engine for fast iterations. The company says Together Compiler is running in production on some of its most popular serverless endpoints, finding further gains on top of already highly optimized code.

The company calls the resulting capability Continuous Compilation, meaning the system can automatically adapt to new traffic shapes and workloads without hand-written kernels. Together Compiler is available to end customers in limited beta.

What's next

Together AI also previews several research directions. Self-serve Continuous Compilation will let customers optimize dedicated endpoints for their unique workloads at the click of a button. Shape-shifting speculative decoding would adapt the draft model and lookahead parameter per domain, per request, per token, and as a function of traffic load. ThunderAgent Router, which the company released as an ICML 2026 Spotlight paper, routes requests across heterogeneous workers and deployment configurations. Together Post-Training helps customers customize open-source models for their own harnesses and use cases, with partnerships including Moonshot and Minimax. TogetherLink is workload-aware model routing, building on the company's work on Mixture-of-Agents and weak supervision from Stanford's Hazy Research Lab.

Together AI says it served trillions of tokens per day and, for the first time in October, served more tokens than closed-source model labs on OpenRouter. The company frames Polymorphic Inference as a way to make AI abundant for everyone, with inference systems that continuously customize to each user and workload.

Sources & references

Together AI: Polymorphic Inference: self-tuning inference for open models ↗Source consulted: 2026-11-11

Privacy choices

We remember your answer in this browser for 180 days. Come back here whenever you want to change it.

EssentialSaves your answer in this browser. No cookies, no third parties.Always active