Model launches

OpenAI details efficiency and performance gains in the GPT‑5.6 model family

OpenAI says the GPT‑5.6 family was engineered to improve capability-per-cost across use cases, with flagship GPT‑5.6 Sol outperforming Claude Fable 5 on a coding-agent benchmark at under half the cost.

OpenAI details efficiency and performance gains in the GPT‑5.6 model family

OpenAI designed the GPT‑5.6 model family to balance capability and cost across the range of tasks users run on their models. The flagship GPT‑5.6 Sol—when configured for maximal reasoning—surpasses Claude Fable 5 on the Artificial Analysis Coding Agent Index while costing less than half to serve, according to OpenAI. Within the family, Terra delivers intelligence‑benchmark performance comparable to GPT‑5.5 at roughly half the price, and Luna is described as the fastest, most affordable option, priced about 80% below Sol.

To achieve these efficiencies, OpenAI’s research and technical teams implemented optimizations across the stack: the models themselves, inference (the runtime that generates outputs), and the agentic harness used by Codex and ChatGPT Work.

Why it matters

Over the past four years OpenAI says it has scaled to roughly 1 billion active users and more than 2 million businesses. With model demand growing faster than capacity in many areas, improving efficiency is central to making advanced intelligence broadly available. GPT‑5.6 was trained not only for task success but for greater work per token—encouraging more direct solution paths so the model achieves more useful computation from each token.

Inference‑stack optimizations

The primary objective in inference is to serve more tokens from the same hardware while maintaining intelligence, latency, availability, and reliability. That requires system‑level tuning: routing requests by geography, available capacity and accelerator type; scheduling; kernel software that runs on GPUs; caching of reused work; and implementation details in GPU code.

GPT‑5.6 Sol played a central role in production optimizations. It helped analyze traffic, surface previously overlooked sources of imbalance, and test new routing heuristics. Within clusters, work is distributed across model instances by load, context length, cache availability and other request properties; inside instances, work must be partitioned across accelerators, subnetworks and cores. The load‑balancing improvements alone materially reduced serving cost, OpenAI reports.

The team also optimized the model’s forward pass (the computation that maps inputs to next‑token predictions). Even when individual operations are fast, excess memory movement, synchronization and poor data layouts can idle GPUs. GPT‑5.6 Sol identified work that could be precomputed, avoided or parallelized and, together with Codex, autonomously rewrote and optimized production kernels. The model was trained to be effective at writing and improving kernels in Triton and Gluon, two open‑source GPU programming languages maintained by OpenAI. Those kernel improvements, and broader kernel advances led by GPT‑5.6 Sol, reduced end‑to‑end serving costs by about 20%, OpenAI states. They also invested in verification tooling such as the open‑source FpSan (Floating‑Point Sanitizer) to validate kernel correctness.

Speculative decoding and token throughput

Speculative decoding runs a smaller “speculator” model alongside the primary model and proposes multiple tokens for the primary model to verify in parallel. When proposals are accepted, the system can yield multiple tokens from a single primary‑model pass, cutting down expensive sequential computation. GPT‑5.6 Sol ran hundreds of experiments on speculator architecture—varying size, structure and features—and autonomously launched and monitored speculator training, intervening for hardware failures or instability. These efforts improved token‑generation efficiency by more than 15%.

KV cache, configuration tuning and workload‑specific optimization

When uncached input tokens are processed, the model builds a key‑value (KV) cache in a compute‑intensive pass and then repeatedly reads and extends it during generation. Optimal serving configuration—batching, sharding, and KV management—depends heavily on workload characteristics (prompt and output length, batch size, cache hit rate, query patterns). Previously the configuration space was too large for systematic tuning; using GPT‑5.6 Sol in Codex, the team analyzed production workloads, generated and evaluated candidate configurations, and hyper‑optimized engine and model settings for each scenario. That made workload‑specific optimizations practical and extracted more inference from the same hardware.

Inference optimization is a continuous loop: measure production behavior, identify gaps, implement changes, and verify system‑level improvements rather than isolated benchmark wins. GPT‑5.6 Sol and Codex accelerate that loop, enabling more experiments, faster responses to workload shifts, and an inference stack with lower latency, greater capacity and lower cost.

Agentic harness: reducing repeated work across tool and model calls

ChatGPT Work and Codex complete complex tasks via series of model requests and tool calls. A single user turn can require many steps—inspect code, search deployment history, read incident reports, edit files, run tests—each potentially a separate request. Preparing context, transmitting data, running inference, invoking tools and starting processes all consume time and compute; if a task entails dozens of requests, small per‑request overheads multiply.

To address this, OpenAI uses an orchestration layer written in Rust called the agentic harness, which connects models, tools and the user environment. The harness design reduces context bloat, defers loading integrations until needed, and reuses prior computation.

Deferred discovery ensures integrations, custom MCP tools, skills and plugins are surfaced only when required. The harness also prevents unexpected consumption of the context window by individual tools or integrations. Tool output is capped at 10,000 tokens by default unless the model requests a different limit.

Prompt caching reuses computation for previously processed prompt prefixes because agent loops often resend the same instructions, conversation history, tool definitions and earlier results to GPUs multiple times within a single turn. To preserve cacheable prefixes, the harness treats all model‑visible history as append‑only: new messages, tool results and environment updates are appended at the end rather than inserted into earlier context. Tools are presented in a deterministic order, and runtime settings such as approval policies are applied at execution time rather than embedded in tool definitions. Those design choices contribute to high prompt‑cache hit rates in Codex and ChatGPT Work.

Conclusion and next steps

OpenAI frames the GPT‑5.6 efficiency gains as the result of years of compounding improvements across research, inference and the agentic harness. The autonomous contributions of GPT‑5.6 Sol to kernel, routing and workload tuning make the company optimistic about accelerating future optimizations. OpenAI says it will continue investing in kernel optimization and foundational stack improvements, and intends to roll these under‑the‑hood gains back to users and customers as more widely available, cost‑efficient intelligence.

Special thanks are noted to Matthew Ferrari, Philippe Tillet, Ahmed Ibrahim, Joe Gershenson and Steve Coffey, Members of Technical Staff, for their contributions to the post.