LLM API Prices Scraper: Compare Cost per 1M Tokens avatar

LLM API Prices Scraper: Compare Cost per 1M Tokens

Pricing

from $0.32 / 1,000 price rows

Go to Apify Store
LLM API Prices Scraper: Compare Cost per 1M Tokens

LLM API Prices Scraper: Compare Cost per 1M Tokens

Compare AI model API prices across 200+ providers: input, output and blended price per 1M tokens, the cheapest provider per model, context window, tool calling, reasoning, image input and open weights. Live OpenRouter prices plus models.dev. Price-change monitor.

Pricing

from $0.32 / 1,000 price rows

Rating

0.0

(0)

Developer

Hydrocore Data

Hydrocore Data

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

LLM API Prices: Compare Every Model and Provider

Get the price of every large language model API from 200+ providers and gateways in one table: input, output and blended price per 1M tokens, the cheapest provider for each model, how many providers sell it, context window, max output, tool calling, reasoning, image input and open weights. OpenRouter prices are read live from the OpenRouter API on every run; the other providers come from the open models.dev catalog. Filter by model, provider, context, price or capability, and turn on monitor mode to get only new and changed prices on a schedule. No API keys.

✅ What you get

  • Input, output, blended, cache read and cache write price per 1M tokens (USD)
  • Cheapest-provider flag and number of providers per model
  • Context window, max output tokens, release date and knowledge cutoff
  • Tool calling, reasoning, image input, open weights, input and output types
  • Model ID to use with each provider and a docs link
  • Monitor mode: new and changed prices with the previous price

🏆 Why this Actor

  • Every provider side by side: the same model (for example Claude Sonnet 4.5) is matched across Anthropic, Bedrock, Azure, Vertex, OpenRouter and many gateways, so you see the spread and the cheapest one.
  • One number to compare: a blended price (3 input : 1 output tokens) next to the raw input, output and cache prices.
  • Live where it matters: OpenRouter prices change often and are read live every run instead of from a stale copy.
  • Price alerts: monitor mode remembers prices and saves only new offers and price changes, with the previous price.
  • Agent-ready: flat rows, stable keys, a summaryText sentence and field descriptions, so ChatGPT, Claude, n8n or an MCP agent can pick the cheapest model that meets its needs.

💡 Use cases

Apify Store use cases: Track products & prices · Feed AI agents & RAG · Market research

  • Cut AI costs: find the cheapest provider for the model you already use
  • Model routing: feed a router or agent the cheapest model with tools and 128k+ context
  • Price alerts: daily schedule that reports any price change
  • Market research: track providers, open-weight models and price trends
  • AI agents (ChatGPT, Claude, n8n, MCP): "which provider sells model X cheapest?"

🚀 How to use

  1. Type model names to find (or leave empty for all models).
  2. Optional: pick providers, minimum context, a price ceiling or capabilities, and the sort.
  3. Run, then open Overview, Capabilities or Price changes, or export the data. Schedule it with monitor mode for alerts.

⚙️ Input

FieldWhat it does
modelsWords matched against model names and IDs (default example: claude-sonnet-4-5, gpt-5-mini). Empty = all.
providersProvider IDs or name parts (default all).
onlyCheapestPerModelOnly the cheapest paid provider per model; ties are all kept (default false).
minContextTokensMinimum context window (default 0 = any).
maxBlendedPricePer1MMax blended USD per 1M tokens (default any).
requireToolCalling / requireReasoning / requireImageInput / onlyOpenWeightsCapability filters (default off).
includeFreeInclude $0 offers (default false).
sortBycheapest (default), largestContext, newest, model.
maxResultsMost rows to save, default 200, up to 20,000.
onlyChanges / monitorKeyMonitor mode: only new or changed prices since the last run with the same name (default off).

Example input:

{
"models": [
"claude-sonnet-4-5",
"gpt-5-mini"
],
"onlyCheapestPerModel": false,
"requireToolCalling": true,
"sortBy": "cheapest",
"maxResults": 50
}

⬆️ Output

One row per model and provider. Every row has the same 32 keys in the same order; missing values are null. If nothing matches, one free status row explains why. The example is a real row from a test run of the current build.

Overview fields:

FieldTypeExampleDescription
modelNamestring"Claude Sonnet 4.5 (latest)"Model name as shown by the provider.
providerstring"Anthropic"API provider or gateway selling the model.
inputPricePer1Mnumber3USD per 1M input (prompt) tokens.
outputPricePer1Mnumber15USD per 1M output (completion) tokens.
blendedPricePer1Mnumber6USD per 1M tokens at 3 input : 1 output, the usual way to compare one number.
isCheapestForModelbooleanfalsetrue when no other paid provider offers this model for less (blended). null for $0 offers.
providerCountForModelinteger40How many providers offer this model (across all providers, before your filters).
contextTokensinteger200000Context window in tokens.
toolCallingbooleantrueSupports tool / function calling.
reasoningbooleantrueReasoning (thinking) model.
modelIdstring"claude-sonnet-4-5"The ID to use in this provider's API.
summaryTextstring"Claude Sonnet 4.5 (latest) on Anthropic: $3 input / $15 out…Plain-English summary of the offer.

All 32 fields (in order): recordType, modelName, provider, inputPricePer1M, outputPricePer1M, blendedPricePer1M, isCheapestForModel, providerCountForModel, contextTokens, maxOutputTokens, toolCalling, reasoning, imageInput, openWeights, isFree, priceChange, previousBlendedPricePer1M, modelKey, modelId, providerId, cacheReadPricePer1M, cacheWritePricePer1M, inputModalities, outputModalities, family, releaseDate, knowledgeCutoff, providerDocsUrl, source, summaryText, inputValue, scrapedAt.

Real row from a test run of the current build:

{
"recordType": "offer",
"modelName": "Claude Sonnet 4.5 (latest)",
"provider": "Anthropic",
"inputPricePer1M": 3,
"outputPricePer1M": 15,
"blendedPricePer1M": 6,
"isCheapestForModel": false,
"providerCountForModel": 40,
"contextTokens": 200000,
"maxOutputTokens": 64000,
"toolCalling": true,
"reasoning": true,
"imageInput": true,
"openWeights": false,
"isFree": false,
"priceChange": null,
"previousBlendedPricePer1M": null,
"modelKey": "claude-sonnet-4-5",
"modelId": "claude-sonnet-4-5",
"providerId": "anthropic",
"cacheReadPricePer1M": 0.3,
"cacheWritePricePer1M": 3.75,
"inputModalities": "text, image, pdf",
"outputModalities": "text",
"family": "claude-sonnet",
"releaseDate": "2025-09-29",
"knowledgeCutoff": "2025-07-31",
"providerDocsUrl": "https://docs.anthropic.com/en/docs/about-claude/models",
"source": "models.dev",
"summaryText": "Claude Sonnet 4.5 (latest) on Anthropic: $3 input / $15 output per 1M tokens (blended $6). Context 200,000 tokens. Supports tool calling, reasoning, image input. 40 providers offer this model.",
"inputValue": null,
"scrapedAt": "2026-11-13T21:30:34.608Z"
}

Views: Overview, Capabilities, Price changes, Detailed (all fields). Export as JSON, CSV, Excel, XML or HTML from the Storage tab or the API (/datasets/{id}/items?format=csv&view=overview). The run summary (OUTPUT record in the key-value store) counts offers loaded from each source, duplicates, rows filtered out, unchanged (monitor), over the cap and saved, plus any source warnings.

💰 Pricing

Competitive pricing, pay per result: $0.0004 per price row on the Free plan, less on higher plans, plus the $0.0005 Actor start. 200 rows cost about $0.08; a full table of all paid offers (about 8,300 on 2026-11-13) about $3.30. Filtered, unchanged (monitor) and over-cap offers are never charged.

EventWhat it isFreeBronzeSilverGold+
Price rowOne model x provider price offer saved. Filtered, unchanged (monitor) and over-cap offers are free.$0.0004$0.00037$0.00034$0.00032
Actor startOnce per run (Apify standard start event, per GB of memory; the default 256 MB = one fee)$0.0005$0.0005$0.0005$0.0005

🔁 Integrations

Works with the Apify API, MCP (AI agents), Make, n8n, Zapier, Google Sheets and webhooks. Field names are stable camelCase, so mappings do not break between runs.

❓ FAQ

Where do the prices come from?

OpenRouter prices come live from the public OpenRouter models API on each run. All other providers come from models.dev, an open-source catalog of model prices and limits maintained by the community and providers. Prices are list prices in USD per 1M tokens.

How is the blended price calculated?

(3 x input price + 1 x output price) / 4, the common way to compare models with one number. Use the input and output columns if your workload is different.

How are the same models matched across providers?

By modelKey: the model ID in lower case with the vendor prefix, version suffix and release date removed (claude-sonnet-4-5-20250929 and anthropic/claude-sonnet-4.5 both become claude-sonnet-4-5). Variants with different names may still appear as separate keys.

Why are $0 offers hidden?

Some providers list models at $0 because they are free tiers or included in a subscription. That would put them above every real price, so they are off by default. Turn on Include free / $0 offers to see them.

Is the cheapest provider always the best choice?

No. Gateways and resellers can differ in speed, rate limits, data policy and reliability. Use the cheapest flag as a starting point and check the provider before switching.

How fresh is the data?

OpenRouter is live. The catalog is read fresh on every run; how often each provider entry is updated depends on the catalog, so always check the provider docs (providerDocsUrl) before committing.

How does monitor mode work?

The Actor stores the blended price of every offer under your monitor name. The next run saves only offers that are new or whose price changed, with previousBlendedPricePer1M. The first run saves everything that matches.

Are embeddings or image models included?

No. Only token-priced chat and text models are included; embedding, image, speech and video models use other price units.

How fast is it?

A few seconds. The two sources are downloaded once per run and filtered in memory.

Is it good for AI agents?

Yes. An agent can ask for the cheapest provider for a model with tool calling and a minimum context, and get flat rows with model IDs it can call directly.

Ready-made examples

🛟 Support

Found a problem or need a field? Open an issue on the Issues tab; we read every issue.

Changelog

  • 1.0 (2026-11-13): first release.