Skip to content

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

Together AI 6 min read Case study mediumAdept

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

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.

Related posts

  • Configuring Dedicated Model Inference

    Together AI mediumAdept

    Together AI's Dedicated Model Inference separates a stable endpoint name, disposable deployments (model revision + config + autoscaling replicas), and immutable config revisions that specify engine, GPU type/count, parallelism and a latency/throughput/balanced profile. Traffic splits use per-replica weights, so routing follows effective capacity (weight × ready replicas): autoscaling shifts traffic automatically, and unready deployments receive none. A live test with two H100 deployments matched expected shares (69.4/30.6 measured vs 66.7/33.3 expected after scaling one deployment to two replicas). A concurrency sweep showed one profile scaling to 1,464 tok/s at c=16 while another, faster at c=4, saturated and halved its throughput, which makes the case for load-testing configs at realistic concurrency.

  • Benchmarking inference at scale: coding agents

    Together AI hardMaster

    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.

  • How to serve trillions of tokens for trillion-parameter coding agents

    Modal hardMaster

    Modal describes how it serves Moonshot AI's trillion-parameter Kimi K2.6 model for coding-agent traffic at trillions of tokens. In that workload, requests average about 100k input to 500 output tokens with heavy prefix overlap across session turns. Their approach was to optimize a single replica first, raising interactivity and then throughput, and to scale out afterward. The changes included NVFP4 quantization on B200/B300 GPUs, tensor parallelism within 8-GPU NVLink domains, DFlash speculative decoding, freeing and quantizing HBM intermediates, and extending the KV cache into CPU RAM with SGLang HiCache. Together they improved per-replica performance 2.8x per user and 5.6x across users, and the post argues that small 8-GPU replicas match larger NVL72 deployments on per-GPU throughput while being far easier to schedule.

  • The model inside the server: Network design for inference on a few GPU nodes

    APNIC Blog hardMaster

    For inference on a few GPU nodes, where each server holds a full model replica such as Llama 3.3 70B under vLLM, GPU-to-GPU traffic stays inside the chassis over NVLink or PCIe. The existing data centre network only carries tiny token streams (about 120 kbit/s each) plus occasional 141 GB model transfers, so a dedicated RDMA backend fabric with 400G ports is usually unjustified. Instead, dual-home servers to an existing leaf pair, separate frontend and storage segments, and put a tuned reverse proxy in front: buffering off, long idle timers, least-connections balancing, session affinity and model-ready health checks. Cache weights locally on NVMe, roll out one server at a time, and use DiffServ QoS so bulk model transfers sit in a scavenger class and do not stall streamed responses on shared uplinks.

  • Autoscaling endpoints for LLM inference

    Together AI mediumAdept

    LLM serving breaks classic autoscaling assumptions. GPU utilization misrepresents load, and multi-minute cold starts mean scaling has to act on leading signals. Together AI's dedicated endpoints scale proportionally (ceil(N × observed/target)) on inference-native metrics such as in-flight requests, TTFT, GPU or token utilization, and throughput, with an eager scale-up window and a patient scale-down window to avoid sawtooth cold starts. In a replayed sine-plus-spike load on Qwen3.5-9B/H100, only inflight_requests (target 8) triggered scaling. TTFT p95 and GPU utilization policies never fired despite 3–5s client p95, because continuous batching hides queue pressure from first-token latency. Measured cold starts of roughly 1.5–2.5 minutes argue for keeping min_replicas headroom on SLO-bound endpoints.

The quest for software engineering knowledge.

Look:
Layout: