LLM Price and Capability Catalog API

Per-model prices and limits for AI language models across hosts such as Azure, Bedrock and Vertex: cost per token, context sizes, mode and capability flags like vision and function calling.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 10 fieldsv1.0

Data from raw.githubusercontent.com/BerriAI/litellm/main/model_prices_and_context_window.json

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Searchoptional
Words that must appear in the model key or provider.
Example: claude
Provideroptional
Provider or host name, such as azure, bedrock, vertex_ai.
Example: bedrock
Supportsoptional
Capability that must be true: vision, function_calling, reasoning, and so on.
Example: vision
Modeoptional
Model mode such as chat, embedding, image_generation.
Example: chat

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/llm-price-catalog/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/llm-price-catalog/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"search":"claude"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

searchtext
Words that must appear in the model key or provider.
example: claude
providertext
Provider or host name, such as azure, bedrock, vertex_ai.
example: bedrock
supportstext
Capability that must be true: vision, function_calling, reasoning, and so on.
example: vision
modetext
Model mode such as chat, embedding, image_generation.
example: chat

What's in each record

10 fields.

Basics

  • Model

    Model key as listed in the catalog.

    Example anthropic.claude-3-5-sonnet-20240620-v1:0

  • Provider

    Provider or host that serves the model.

    Example bedrock

  • Mode

    What the model does: chat, embedding, image_generation and so on.

    Example chat

  • Maximum input tokens

    Largest input context in tokens.

    Example 200,000

  • Maximum output tokens

    Largest output in tokens.

    Example 4,096

  • Supports vision

    Whether the model accepts images.

    Example Yes

  • Supports function calling

    Whether the model supports tool or function calling.

    Example Yes

  • Supports reasoning

    Whether the model is a reasoning model.

    Example Yes

Prices

  • Input cost per token

    US dollars per input token.

    Example 0.000003

  • Output cost per token

    US dollars per output token.

    Example 0.000015

Technical detailsField names and types for developers

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
modeltextModel3 of 3
providertextProvider3 of 3
modetextMode3 of 3
input_cost_per_tokennumberInput cost per token3 of 3
output_cost_per_tokennumberOutput cost per token3 of 3
max_input_tokensnumberMaximum input tokens3 of 3
max_output_tokensnumberMaximum output tokens3 of 3
supports_visionyes or noSupports vision3 of 3
supports_function_callingyes or noSupports function calling3 of 3
supports_reasoningyes or noSupports reasoning1 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordModelProviderModeMaximum input tokensMaximum output tokensSupports visionSupports function callingSupports reasoningInput cost per tokenOutput cost per token
1anthropic.claude-3-5-sonnet-20240620-v1:0bedrockchat200,0004,096YesYes—0.0000030.000015
2anthropic.claude-3-5-sonnet-20241022-v2:0bedrockchat200,0008,192YesYes—0.0000030.000015
3anthropic.claude-3-7-sonnet-20240620-v1:0bedrockchat200,0008,192YesYesYes0.0000040.000018

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Data is a community-maintained open file (MIT licence, LiteLLM project); prices are as listed there and can be wrong or late against a provider's own price page.
  • The file is read whole on every run (several MB), so a run takes a few seconds regardless of the record limit.
  • Costs are US dollars per single token; multiply by 1,000,000 for the usual per-million price. Many entries have no cost for some modes.
  • Capability flags are null when the file does not state them.
  • Not every model of every provider is listed; new models appear when the community adds them.

Version history

A run uses the live version unless the request names another one with version.