LLM Pricing Scraper - OpenRouter AI Model & Token Costs avatar

LLM Pricing Scraper - OpenRouter AI Model & Token Costs

Pricing

from $3.00 / 1,000 results

Go to Apify Store
LLM Pricing Scraper - OpenRouter AI Model & Token Costs

LLM Pricing Scraper - OpenRouter AI Model & Token Costs

LLM Pricing Scraper collects LLM API pricing for 450+ AI models from OpenRouter: price per million input and output tokens, plus every provider serving each model with its own cost, uptime, latency and throughput. Covers GPT, Claude, Gemini, Llama and more. No API key needed.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

Krishna Dubey

Krishna Dubey

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

9 days ago

Last modified

Features

Limited permissions

Share

Know what every LLM API call costs — and which provider serves a model cheapest, fastest and most reliably.

This Actor collects the full OpenRouter catalogue (450+ AI models, including GPT, Claude, Gemini and Llama) with prices converted to USD per million tokens, and then, for each model, every provider serving it with that provider's own price, uptime, latency and throughput.

No API key needed.

Why the provider breakdown matters

The same model is served by many providers at different prices and speeds. Claude Haiku 5.5, for example, is available from Anthropic, Google, Azure, Amazon Bedrock and others — same model, different price, different latency, different uptime. Most price lists stop at the model level and miss this entirely.

What you get

Three kinds of row, each tagged with type:

model — one per model in the catalogue

FieldMeaning
modelId, name, authoranthropic/claude-haiku-5.5
baseModelId, variantThe model without its suffix, and the suffix: batch, free or none
isBatchBatch pricing is queued, not live — see below
inputPricePerMillionUsdInput price per 1M tokens
outputPricePerMillionUsdOutput price per 1M tokens
cacheReadPricePerMillionUsd, cacheWritePricePerMillionUsdPrompt-caching prices
contextLength, maxCompletionTokensSize limits
inputModalities, outputModalitiestext, image, file, audio
isFreeWhether both token prices are zero
isVariablePriceRouter models publish no price; it depends which model they pick. Not the same as free

provider_endpoint — one per provider serving that model

FieldMeaning
providerNameWho actually serves it
inputPricePerMillionUsd, outputPricePerMillionUsdThat provider's price
uptimeLast30m, uptimeLast1dReliability
latencyMsLast30mTime to first token
throughputLast30mTokens per second
quantizationfp8, bf16, unknown …
supportsTools, toolChoiceModesTool-calling support

ollama_model — optional, models from the Ollama library that run on your own hardware (token price zero).

Two traps this Actor closes

  • Batch prices sitting next to live prices. 87 of 475 models are :batch variants, and batch is usually half: anthropic/claude-sonnet-5.5 is $2.00/$10.00 per million while :batch is $1.00/$5.00. Batch work is queued rather than answered live, so the two are not interchangeable — but sorted by price they sit together and read as one model at two prices. isBatch and baseModelId let you compare like with like.

    Batch is not always cheaper. On a real run z-ai/glm-5.3-flash was $0.0399 live but $0.05 batch. Check, don't assume.

  • Router models priced at minus one million. OpenRouter prices openrouter/auto and seven others at -1, meaning the cost depends on whichever model the router picks per request. Converting that to a per-million figure published -$1,000,000, and since the obvious use of this data is sorting by cheapest, those eight led every such sort. They now carry isVariablePrice: true and no price at all.

Input

FieldTypeDescription
modelsarrayModel ids or fragments, e.g. anthropic/claude. Empty collects the whole catalogue
includeProviderBreakdownbooleanFetch per-provider rows (default on)
maxBreakdownModelsintegerHow many models to break down, cheapest first (default 25)
includeOllamabooleanAlso list the Ollama library
maxPricePerMillionInputUsdintegerDrop models above this input price
maxItemsintegerRow cap

Example input

{
"models": ["anthropic/claude", "openai/gpt-5"],
"includeProviderBreakdown": true,
"maxBreakdownModels": 10,
"maxItems": 300
}

Uses

  • Budgeting — compare real per-million prices instead of per-token decimals
  • Provider selection — find the cheapest provider that still meets your latency and uptime bar
  • Cost alerts — schedule it daily and watch for price changes
  • Model shopping — filter by price, context length or modality

Ready-made examples

Each of these is published as its own task, so you can run it without filling anything in.

Claude model prices per million tokens — every Claude model with each provider serving it.

{ "models": ["anthropic/claude"], "includeProviderBreakdown": true, "maxBreakdownModels": 10, "maxItems": 200 }

GPT-5 pricing across every provider — OpenAI against Azure and the rest, with latency.

{ "models": ["openai/gpt-5"], "includeProviderBreakdown": true, "maxBreakdownModels": 10, "maxItems": 200 }

Free LLM models on OpenRouter — everything whose input tokens cost nothing.

{ "models": [], "maxPricePerMillionInputUsd": 0, "includeProviderBreakdown": false, "maxItems": 300 }

Cheapest provider by uptime and latency — price weighed against reliability, not price alone.

{ "models": [], "includeProviderBreakdown": true, "maxBreakdownModels": 25, "maxItems": 400 }

Local models you can run free — the Ollama library next to the paid catalogue.

{ "models": [], "includeOllama": true, "includeProviderBreakdown": false, "maxItems": 400 }

Notes and limits

  • Prices come from OpenRouter's public catalogue. A provider's direct price can differ from what OpenRouter lists.
  • Models tagged :batch are batch endpoints: cheaper, with no uptime or latency figures.
  • The provider breakdown costs one request per model, so collecting it for the whole catalogue is slow. maxBreakdownModels keeps runs short.
  • Prices are a snapshot of the moment the run happened.

FAQ

Do I need an OpenRouter account? No. The catalogue and endpoint data are public.

Why are prices per million tokens when the API gives per token? Because that is how vendors quote and how teams budget. The raw values are fractions like 0.0000001, which are awkward to compare.

Does this include models not on OpenRouter? Not yet. Turn on includeOllama for locally-runnable open models.