ToolsThe story, in brief

Sort providers by cost, latency, or throughput on AI Gateway

AI Gateway now sorts providers by cost, latency, or throughput in real time—no code changes needed.

Paper-cut illustration of a coral software window opening into a three-dimensional drafting space.
New tools for building and creating with AI.AI illustration by KeyNews
The KeyNews take

Why it matters

Vercel's AI Gateway expands routing controls, letting builders optimize for cost, speed, or throughput dynamically. For teams managing multi-provider inference, this reduces waste and latency without engineering overhead.

The key facts

11 to know
  1. Three new sort criteria: cost (lowest price first), TTFT/latency (milliseconds), TPS/throughput (tokens per second)

  2. Ranking computed at request time—price changes and latency shifts flow through automatically

  3. Compatible with Zero Data Retention (ZDR) and custom provider ordering

  4. Routing metadata now shows which providers were considered, metric values, attempt order, and health status

  5. Use case example: GPT OSS 120B has 5+ providers with noticeable cost/speed variation

  6. Fallback to next provider only on unavailability of higher-ranked option

  7. Three sort options: cost (lowest price first), TTFT (lowest latency), TPS (highest throughput)

  8. Ranking computed at request time — price changes and latency shifts flow through automatically

  9. Compatible with Zero Data Retention (ZDR) and explicit provider ordering

  10. Routing metadata shows providers considered, metric values, attempt order, and health status

  11. Example: GPT OSS 120B has 5+ providers with noticeable cost/speed variation

Go to the source

Vercel Blogvercel.com

Publisher excerpt: You can now sort the providers behind a model by cost, time to first token (TTFT), or throughput (TPS) in .AI Gateway The default provider order blends provider reliability, quality of model output, cost, and speed of response. You can now use for explicit control over ranking criteria.sort For…
Read original report
Back to today's editionMore tools news

Keep reading

Related stories

More from Tools