OpenRouter LLM Model Pricing Scraper avatar

OpenRouter LLM Model Pricing Scraper

Pricing

from $0.50 / 1,000 record scrapeds

Go to Apify Store
OpenRouter LLM Model Pricing Scraper

OpenRouter LLM Model Pricing Scraper

Fetch the full OpenRouter model catalog with pricing, context length, capabilities, and supported parameters as structured data. Returns all 450+ LLMs with prompt/completion/cache prices, modalities, tokenizer details, knowledge cutoffs, and per-provider routing links.

Pricing

from $0.50 / 1,000 record scrapeds

Rating

0.0

(0)

Developer

BowTiedRaccoon

BowTiedRaccoon

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

0

Monthly active users

15 days ago

Last modified

Share

Fetches the full OpenRouter model catalog — pricing, context length, capabilities, and supported parameters — as structured JSON. One API call returns everything.

OpenRouter publishes a public endpoint that lists every model it routes to: pricing in USD per token, context windows, supported parameters like tools and structured_outputs, modalities, tokenizer details, and knowledge cutoffs. This actor pulls that data and formats it into clean records you can actually use for model selection, cost estimation, and compatibility filtering.

What It Returns

One record per model. Fields that matter:

FieldTypeDescription
model_idstringProvider/model slug (e.g. openai/gpt-4o)
canonical_slugstringVersioned slug with datestamp
namestringDisplay name
providerstringModel provider (openai, anthropic, meta-llama, etc.)
context_lengthintegerMaximum context window in tokens
max_completion_tokensintegerMaximum output tokens
modalitystringInput/output modality (e.g. text+image->text)
input_modalitiesstringPipe-delimited list of input types
output_modalitiesstringPipe-delimited list of output types
prompt_price_usd_per_tokennumberPrice per input token in USD
completion_price_usd_per_tokennumberPrice per output token in USD
input_cache_read_price_usd_per_tokennumberCached input price per token
input_cache_write_price_usd_per_tokennumberCache write price per token
image_price_usd_per_imagenumberPer-image pricing (where applicable)
input_cache_write_1h_price_usd_per_tokennumber1-hour cache write price per token in USD (where offered)
audio_price_usd_per_tokennumberAudio input price per token in USD (where offered)
web_search_price_usd_per_requestnumberWeb search price per request in USD (where offered)
is_freebooleantrue when prompt and completion prices are both exactly 0; false when either is a positive price; null when either price is unknown
supported_parametersstringPipe-delimited list (temperature, tools, structured_outputs, reasoning, ...)
tokenizerstringTokenizer type
instruct_typestringFine-tuning format
knowledge_cutoffstringTraining data cutoff date
expiration_datestringDeprecation date for legacy models
endpoints_urlstringURL to per-provider routing data
profile_urlstringModel page on openrouter.ai
scraped_atstringISO timestamp of the run

Most scrapers skip cache-read pricing. This one does not — and cache pricing is the cost lever most teams are actually watching in 2025-26.

Input

ParameterTypeDefaultDescription
maxItemsinteger0Maximum records to return. 0 (the default) returns the whole catalog (450+ models).

No API key. The OpenRouter catalog is public.

Usage

Point it at the defaults and run. The whole catalog comes back in under 5 seconds. Set maxItems if you only need a sample — useful for testing downstream pipelines before a full pull.

{
"maxItems": 50
}

When to Use This

  • Programmatic model selection by capability, context length, or price
  • LLM cost estimation and budgeting across providers
  • Tracking model deprecations via expiration_date
  • Filtering by supported_parameters to find models that support tools, structured_outputs, or reasoning
  • Pairing with competitor pricing data for FinOps dashboards

The catalog updates regularly as OpenRouter adds new models. Run it on a schedule to keep your data current.

Data Notes

  • A free model has a price of 0. Pricing fields are null when OpenRouter publishes no fixed price (router models such as openrouter/auto bill by the model they route to) or the model has no such price component (e.g. most models have no image or cache-write price)
  • supported_parameters lists vary significantly by model — not all models support tools or structured_outputs
  • knowledge_cutoff is often null for third-party models where OpenRouter does not publish the information
  • Array fields (modalities, parameters) are returned as pipe-delimited strings for flat schema compatibility

Questions or issues? Use the feedback fields in the input form or contact us at actor-support@orbtop.com.