How GPT-5.6 fuses frontier intelligence with frontier efficiency
GPT-5.6's cost efficiency comes from optimizations across inference and the agentic harness, many of them landed by GPT-5.6 Sol running in Codex. On the inference side, Sol tuned load-balancing heuristics, rewrote production Triton/Gluon kernels (validated with the FpSan floating-point sanitizer) for a 20% cut in end-to-end serving cost, improved its own speculative-decoding draft model for over 15% better token-generation efficiency, and searched workload-specific batching, sharding and KV-cache configurations. The Rust agent harness reduces repeated work by deferring tool and MCP discovery, capping tool output at 10,000 tokens by default, and keeping model-visible history append-only with deterministic tool ordering so prompt-cache prefixes stay intact.
Related posts
- Gisting: Compressing LLM Agent context to ↑ throughput and ↓ cost
Shopify Engineering hardMasterShopify compressed the ~6,000-token system prompt of its Sidekick GraphQL agent into ~1,500 learned gist tokens (4:1) without losing prediction quality. The gist embeddings are trained by knowledge distillation (KL divergence between full-prompt teacher logits and gist-prompt student logits) with model weights frozen, then written into the embedding matrix so serving needs no special path. Gisting complements prefix caching because decode still streams the whole KV cache per generated token. At 350 RPM, median TTFT fell 19%, end-to-end latency about 38%, and throughput rose 16%, allowing 14% fewer GPUs. Key recipe findings from an autoresearch loop: initialize gists from mean prompt-chunk embeddings, batch-level loss normalization, and precomputed teacher logits cutting training from 30 to 6 hours.
- Optimizing inference speed and costs: Lessons learned from large-scale deployments
Together AI easyNoviceLower LLM inference latency and cost come mainly from how inference runs rather than from buying more GPUs. The levers covered are FP8/FP4 quantization (claimed 20–40% throughput gains), distilled models like DeepSeek-R1 variants (2–5× lower cost), regional proxies that cut 50–100 ms of TTFT, removing GPU stalls via kernel fusion, MoE execution and scheduling, and speculative decoding or MTP (20–50% faster decode). It also covers Blackwell-class hardware with tensor or expert parallelism and dynamically shifting GPU capacity between endpoints. A starting checklist: measure TTFT, decode TPS and network RTT, then add proxies, continuous batching and decoding optimizations.
- Google Cloud C4 Brings a 70% TCO improvement on GPT OSS with Intel and Hugging Face
Hugging Face mediumAdeptGoogle Cloud C4 VMs on Intel Xeon 6 (Granite Rapids) deliver 1.4x–1.7x per-vCPU decoding throughput over C3 (Sapphire Rapids) for CPU inference of the GPT OSS 120B mixture-of-experts model in bfloat16. Because price per vCPU is roughly the same on both, the 1.7x gain at batch size 64 translates to about 1.7x better TCO. The gains also rely on a merged transformers optimization that runs each expert only on the tokens routed to it, cutting wasted FLOPs. A reproducible setup is included: instance configuration, a Docker environment pinned to a specific commit, and a Python benchmark using static KV cache and SDPA attention across batch sizes 1–64.
- Benchmarking inference at scale: coding agents
Together AI hardMasterOn a long-context, high-concurrency coding agent workload (prompts ~45k–200k tokens, ~450-token outputs, EAGLE speculative decoding) running Kimi K2.5 on B200 GPUs, Together Inference Engine delivers 31% more per-user TPS than TensorRT-LLM at 2.5M TPM. It holds p50 TTFT at 0.71s, versus 1.1s for TensorRT-LLM and 5.1s for SGLang, which needed 8 GPUs instead of 4 due to EAGLE memory overhead. The gains are attributed to ThunderMLA, a fused megakernel for Multi-head Latent Attention reported as 20–35% faster than FlashMLA, plus custom kernels found through end-to-end profiling. The post argues that prefill-heavy, concurrent long-context load and TTFT under saturation matter more than single-user benchmarks, and closes with vendor cost comparisons against Claude Opus.
- Sidekick's continual learning loop
Shopify Engineering hardMasterShopify's Sidekick GraphQL agent improves daily through a continual learning loop that turns production failures into model weight updates, beating frontier-model quality while cutting estimated serving costs from about $27M to $1M per year (96%). The loop starts with a rubric validated by inter-annotator agreement (Cohen's kappa) and an LLM judge calibrated with DSPy using GEPA and ACE, then backtested against past A/B tests and degradation tests. An autoresearch agent tunes prompts, tools and harness code against the judge. Hard negatives from production are then repaired by a panel of frontier critics via hinting and replay, and the repaired trajectories train a smaller model through chain-of-thought SFT followed by GRPO with the judge as reward. Gist-token compression shrinks the ~6,000-token system prompt to ~1,500 tokens, cutting end-to-end latency about 38% and GPU needs about 14%.