LLM pricing, compare AI model
LLM pricing, compare AI model. Compare the API prices of about 450 LLMs from OpenAI, Anthropic, Google, Meta, Mistral, DeepSeek, Qwen and others: USD per million input and output tokens, context length, max output, modalities, and the cost of your call when you give token counts. Filter by name, provider, price cap, context or image input; sort by input, output or blended price. Source: OpenRouter's public model list. Use to pick the cheapest model that fits a job.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://agent-data-tools.revmesh2074.workers.dev/llm/prices
| Category | Image and media |
|---|---|
| Provider host | agent-data-tools.revmesh2074.workers.dev |
| Networks | eip155:137, eip155:42161, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 3 from 2 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.01 | 623 ms |
| 2026-11-25 | valid payment request | 402 | $0.01 | 275 ms |
| 2026-11-24 | valid payment request | 402 | $0.01 | 277 ms |
| 2026-11-23 | valid payment request | 402 | $0.01 | 304 ms |
| 2026-11-22 | valid payment request | 402 | $0.01 | 289 ms |
| 2026-11-21 | valid payment request | 402 | $0.01 | 269 ms |
| 2026-11-20 | valid payment request | 402 | $0.01 | 334 ms |
| 2026-11-19 | valid payment request | 402 | $0.01 | 38 ms |
| 2026-11-18 | valid payment request | 402 | $0.01 | 38 ms |
| 2026-11-17 | valid payment request | 402 | $0.01 | 31 ms |
| 2026-11-16 | valid payment request | 402 | $0.01 | 27 ms |
| 2026-11-15 | valid payment request | 402 | $0.01 | 39 ms |
| 2026-11-14 | valid payment request | 402 | $0.01 | 22 ms |
| 2026-11-13 | valid payment request | 402 | $0.01 | 23 ms |
| 2026-11-12 | valid payment request | 402 | $0.01 | 608 ms |
| 2026-11-11 | valid payment request | 402 | $0.01 | 20 ms |
| 2026-11-10 | valid payment request | 402 | $0.01 | 15 ms |
| 2026-11-09 | valid payment request | 402 | $0.01 | 50 ms |
| 2026-11-08 | valid payment request | 402 | $0.01 | 24 ms |
| 2026-11-07 | valid payment request | 402 | $0.01 | 19 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"q": "llama"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"inputTokens": {
"description": "Input tokens of your call, to estimate its cost",
"examples": [
2000
],
"type": "integer"
},
"limit": {
"description": "Number of models (1-50, default 20)",
"examples": [
5
],
"type": "integer"
},
"maxInputPrice": {
"description": "Only models at or under this USD per million input tokens",
"examples": [
1
],
"type": "number"
},
"minContext": {
"description": "Only models with at least this context length in tokens",
"examples": [
32000
],
"type": "integer"
},
"outputTokens": {
"description": "Output tokens of your call, to estimate its cost",
"examples": [
500
],
"type": "integer"
},
"provider": {
"description": "Only this provider: openai, anthropic, google, meta-llama, mistralai, deepseek, qwen\u2026",
"examples": [
"meta-llama"
],
"type": "string"
},
"q": {
"description": "Words in the model id or name, e.g. gpt, claude, llama 70b",
"examples": [
"llama"
],
"type": "string"
},
"sort": {
"description": "input (default), output, blended (3:1 input:output) or context",
"examples": [
"blended"
],
"type": "string"
},
"vision": {
"description": "true: only models that take image input",
"examples": [
"false"
],
"type": "string"
}
},
"required": [],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"asOf": {
"type": "string"
},
"count": {
"type": "number"
},
"matched": {
"type": "number"
},
"models": {
"items": {
"properties": {
"contextLength": {
"type": "number"
},
"free": {
"type": "boolean"
},
"id": {
"type": "string"
},
"inputPerMillionUsd": {
"type": "number"
},
"inputs": {
"items": {
"type": "string"
},
"type": "array"
},
"maxOutputTokens": {
"type": "number"
},
"name": {
"type": "string"
},
"outputPerMillionUsd": {
"type": "number"
},
"outputs": {
"items": {
"type": "string"
},
"type": "array"
},
"provider": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"sort": {
"type": "string"
},
"source": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}