OpenRouter LLM Model Pricing Scraper avatar

OpenRouter LLM Model Pricing Scraper

Pricing

Pay per event

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 350+ LLMs with prompt/completion/cache prices, modalities, tokenizer details, knowledge cutoffs, and per-provider routing links.

Pricing

Pay per event

Rating

0.0

(0)

Developer

BowTiedRaccoon

BowTiedRaccoon

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 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)
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
maxItemsinteger500Maximum records to return. Leave blank to get all 350+ models.

No API key required. No proxy needed. The OpenRouter catalog is a public endpoint.

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

  • Pricing fields are null when a model is free or pricing is not yet set
  • 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.