Skip to content
GuidesJuly 12, 2026

Cheapest LLM API: how to actually shop for cost per token

The cheapest LLM API isn't the one with the lowest sticker price — it's the one with no markup added on top of it, a free tier that covers real usage, and a path to route on provider keys you already pay for. Here's how to actually compare cost instead of a headline number.

What actually makes an LLM API 'cheapest'?

Comparing LLM APIs on price usually means comparing the provider's own per-token rate. That's only one input. The number that lands on your invoice is the provider's rate, plus whatever the gateway in front of it adds, minus whatever you get for free before any of that even applies.

  • The provider's list price — set by OpenAI, Anthropic, Google, and so on; a gateway doesn't control this.
  • The markup a gateway adds on top of that price for pay-as-you-go traffic.
  • Whether a free tier or Go credit covers your usage before markup applies at all.
  • Whether you can route the same request on a key you already pay the provider for directly.

Everything below comes down to which of those four levers you can actually pull.

Zero markup: route on a key you already have

The biggest lever is the second one — markup — and the way to remove it entirely is BYOK. Attach a provider key you already pay for and AnyRouter charges nothing on top: no per-request fee, no surcharge, no minimum, across 60+ supported providers. You pay the provider's own rate, full stop.

curl https://anyrouter.dev/api/v1/chat/completions \
-H "Authorization: Bearer $ANYROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
  "model": "anyrouter/byok",
  "messages": [{ "role": "user", "content": "Hello" }]
}'
anyrouter/byok routes to any model your own keys can reach, at $0 markup.

If a BYOK key runs dry mid-project, the request can fall through to pay-as-you-go credits automatically — a burned key stops the work from failing, it just stops that particular call from being free.

Start at $0 before you start paying anything

Before markup even enters the picture, there's a free tier: anyrouter/free routes to healthy free-tier capacity on the Go plan ($2/mo, or donate a key), capped at 1,000 requests/day, no credit spend. Pro ($10/mo), Pro+ ($45/mo), and Max ($100/mo) raise the rolling rate-limit window as usage grows.

PlanPriceWhat it covers
Free plan$0anyrouter/free blocked — upgrade or donate a key
Go$2/mo$4 monthly credit + anyrouter/free at 1,000/day
Pro$10/mo$20 monthly credit + higher rolling rate limits
Pro+$45/mo$100 monthly credit + highest rolling rate limits
Max$100/mo$300 monthly credit + highest rolling rate limits

Whichever plan you're on, BYOK traffic never touches these credits — it's a separate, always-free path.

Compare live, not from a blog post

Per-token prices change as providers update their rates, so the honest way to shop is current numbers on /models rather than a figure printed here. What doesn't change is the structure: no markup on BYOK, a free daily tier, and a $1 entry plan if you want more than that.

  • Browse current per-model pricing — /models.
  • Try a model before committing — /playground.
  • Connect a key you already pay for — /byok.

Route on your own keys at $0 markup, or unlock anyrouter/free on Go.

Set it up free

Route your first request in 2 minutes

Start free with your own keys, or top up and pay per token. Get $4/mo in credits and free models on Go — $2/mo, or free when you donate a provider key.

Start free