Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Together AI 6 min read Research hardMaster

Benchmarking inference at scale: coding agents

On 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.

Assumes: LLM inference servingKV cachespeculative decodingGPU kernels

Related posts

  • Hill-climbing Inkling 2 Mini inference on one RTX PRO 6000

    Hugging Face hardMaster

    Agent-driven tuning of Inkling 2 Mini, a looped 26B-total/3B-active MoE, on a single RTX PRO 6000 raised single-user decode from 136 to 190.6 tok/s (+40%) and 8-user throughput from ~570 to 716 tok/s by switching from SGLang to vLLM nightly and enabling DSpark speculative decoding with 7 drafts and probabilistic draft sampling. A bandwidth analysis shows the result sits at ~95% of the ~201 tok/s ceiling, because speculative verification on an MoE touches the union of experts across draft positions. Two memory flags, --max-model-len 262144 and --gpu-memory-utilization 0.85, were needed for vLLM's DSpark setup to start on 96 GB. The write-up also lists failed levers and benchmarking pitfalls (Triton JIT during timed runs, orphaned server processes, buried OOM errors, SGLang run-to-run variance) and verification gates: needle retrieval to 250K tokens and byte-identical greedy outputs.

  • How a global fintech scaled coding agent traffic with Dedicated Model Inference

    Together AI mediumAdept

    A global fintech serves its internal coding-agent traffic on GLM 5.2 via Together's Dedicated Model Inference, where spiky, engineering-hours load with long prompts (ISL p50/p95 of roughly 81K/178K tokens) at low RPS made concurrency, not throughput, the design priority. The production endpoint runs 14 replicas of 4 B200s at 256K context. The team turned down a 1M-context configuration because it would have cut concurrency headroom. When a reshape toward fewer, larger replicas saturated prefill and caused 1–3 minute queuing, metrics tracing showed a request stuck behind a 2.3M-token prefill backlog. It was fixed same day, with no downtime, by restoring cache-session-aware routing and raising max-inflight-per-worker. Self-serve scaling, custom-weight rollouts and blue/green testing removed the ticket-based capacity process.

  • ThunderAgent: 2x Faster Agentic Inference for Synthetic Data Generation at Scale

    Together AI hardMaster

    ThunderAgent is a scheduling layer between agent clients and inference backends that treats each multi-turn agentic workflow as a schedulable program instead of independent requests, preventing KV cache thrashing when agents pause for tool calls. Under memory pressure it pauses low-priority programs to raise cache hit rates, then resumes them via a global waiting queue onto the node with the most free capacity, replacing static session pinning. On one 8×H100 node with HiCache at batch 192 it reached 803 vs 390 tokens/s for SGLang, with mean latency cut from 65s to 10.6s. Across 2 to 8 nodes it scaled near-linearly and outperformed SGLang Gateway by up to 2.39×, requiring only a program_id field on OpenAI-compatible requests.

  • Learn how Cursor partnered with Together AI to deliver real-time, low-latency inference at scale

    Together AI easyNovice

    Cursor and Together AI built real-time, low-latency inference for in-editor coding agents on NVIDIA Blackwell GB200 NVL72 and HGX B200, where suggestions must land before the developer's local code context changes. The work involved porting the inference stack to ARM-based Grace hosts, writing custom kernels for Blackwell's low-precision Tensor Core instructions, and designing parallelism meshes that keep communication costs bounded across the 72-GPU all-to-all domain. A quantization pipeline using TensorRT LLM and NVFP4 turns new Cursor model weights into validated test endpoints within days, followed by internal evals and A/B tests on live traffic before cutover. The next focus is throughput and per-GPU economics.

  • Benchmarking Text Generation Inference

    Hugging Face mediumAdept

    Text Generation Inference ships a benchmarking tool that profiles LLM serving across batch sizes, plotting throughput against latency separately for prefill and decode so deployments can be tuned for a workload such as RAG or chat. Using a duplicable Hugging Face Space bundling TGI with JupyterLab, the walkthrough shows how to read the charts. Vertical regions mean added batch size buys throughput at no latency cost. Horizontal regions mean the server is compute bound: in the example, decode latency stayed flat near 5.3s up to batch 32, while prefill beyond 32 doubled TTFT with no throughput gain. The recommended loop is to benchmark on hardware matching production, adjust TGI launch settings, and repeat, checking real user token patterns in TGI logs.

The quest for software engineering knowledge.

Look:
Layout: