Method

How we test LLM gateways

The public method behind every gateway number: paired rounds against a direct control, matched routes, separate tracks and stated tie rules.

Suite
LLM Gateways
Version
1.0.0
Last updated
2026-11-27
Scoring code hash
e3f91cd4ae5de1fbae26bd055dcd9212c5863a595860a796676a74483751a700

The question

How much latency does each hosted gateway add compared with calling the same upstream directly, how reliably is it up, does it faithfully pass the API through, and what does it really bill?

Paired rounds

Each round sends the same prompt, to the same model version, from the same virtual machine, in the same minute. The round fires a direct upstream control and every gateway in random order within a tight window, and all of them share one round identifier. The unit of analysis is the pair, so machine and network noise cancel.

  • A random nonce sits at the start of every prompt and each prompt stays under 1,024 tokens, so no cache can answer it.
  • Gateway response caching is off on the main track.
  • Every route is pinned to the same first-party upstream provider wherever the gateway allows it.

Routes and tracks

Two matched routes are measured: one cheap current model, probed every ten minutes for latency and uptime, with an hourly throughput prompt and a daily fidelity and billing check, and one frontier model with reasoning turned off for the daily fidelity and billing check.

Tracks are never mixed in one ranking:

  • Pinned upstream is the headline track. Routes that cannot be pinned are labelled not comparable and are not ranked.
  • Default routing shows what a user gets out of the box.
  • Credits and BYOK (bring your own key) routes are reported separately.

Metrics

  1. Added TTFT. The time to first token through the gateway minus the time to first token on the direct control, per paired round. We publish the median (p50) and 95th percentile (p95), each with a bootstrap 95% confidence interval.
  2. Connection phases. DNS, TCP, TLS and time to first byte from monotonic trace hooks. Cold and warm connections are tagged and reported separately.
  3. Throughput and total time. An hourly fixed-output prompt with max_tokens=400 and temperature 0. Output tokens are counted with the provider tokeniser or the direct call's usage, never the gateway's own count.
  4. Availability and errors. Rolling 24-hour, 7-day and 30-day figures per gateway, model and region. Error classes are 4xx, 429, 5xx, timeout, empty 200 and malformed stream. An outage is declared only when at least two of three regions agree.
  5. Billed cost against list price. (billed / list) - 1, with credit fees spread over the credits they buy. Sealed paid pilot batches are reconciled against settled charges or invoices. Results are labelled invoice-verified or dashboard-reported, and never merged.
  6. Token-count accuracy. Gateway-reported prompt and completion tokens against the direct upstream count for the identical request, or unverified where the upstream exposes no exact count.

Minimum sample and ties

A latency cell needs at least 200 paired rounds before its number is published, and every cell shows its window and n. Confidence intervals are bootstrap intervals over the paired differences. When two gateways' 95% intervals overlap, they share a rank and carry a tied badge. A chain of overlapping intervals shares one rank.

Probe locations

Probes run from three neutral regions: US-East, EU-West and Asia-SE. They run on general hosting, never on a gateway vendor's own edge platform, which would favour that vendor's gateway.

Fidelity suite

Ten fixtures run daily. Each has explicit, deterministic pass or fail criteria, and the fixtures are published so anyone can re-run them.

  1. SSE framing and [DONE] terminator
  2. stream_options.include_usage
  3. Streaming tool-call delta assembly
  4. JSON-schema response_format
  5. stop sequence honoured
  6. max_tokens=5 gives finish_reason=length
  7. Two-turn conversation
  8. Unicode and emoji echo
  9. About 3k-token prompt
  10. Token-count agreement with direct call

Spend and safety

Every metered call goes through a budget ledger with a hard ceiling, and auto-reload is off on every gateway account. Probes stop automatically if monthly spend crosses its limit or the data goes stale.

Left out

Together AI and Crusoe are not tested, because their terms forbid benchmarking. Self-hosted gateways are planned for a later release as a mock-upstream overhead test. See independence for what else is excluded.