Same Model, Different Backend: 8x Slower First Token

TypicalOcelot9 · reddit · 2026-07-17

This post compares the real-world performance of the same open-weight model across two OpenAI-compatible backends, concluding that identical API schemas don't guarantee identical inference behavior.

The author found that a dedicated inference host performed significantly better in cache-miss scenarios: TTFT was roughly 1.2s, throughput was 77 tok/s, and it genuinely streamed tokens incrementally. In contrast, a major cloud provider's hosted endpoint claimed to support stream:true but actually buffered the entire response, outputting it all at once after about 10s, causing tangible stalls in the agent loop.

Further investigation into network latency and local proxies confirmed the issue was server-side buffering. Crucially, under a real cache-hit distribution, that 10s delay (exacerbated by cache misses) shrinks significantly, dropping TTFT from 10s to 2.7s with minimal buffering. The post concludes with three benchmarking principles:

Original post →

More from Infra

Infra channel →