Price per million input and output tokens of 300+ language models (OpenAI, Anthropic, G…
Price per million input and output tokens of 300+ language models (OpenAI, Anthropic, Google, Meta, Mistral, DeepSeek...) via OpenRouter, with context window and the estimated cost of one call with your token counts; filter by name or provider, sort by price…
by api.vextorium.com · discovered, not yet claimed by its owner · updated 2026-10-08
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Price per million input and output tokens of 300+ language models (OpenAI, Anthropic, Google, Meta, Mistral, DeepSeek...) via OpenRouter, with context window and the estimated cost of one call with your token counts; filter by name or provider, sort by price or context.
Tags: llm · pricing · models · tokens · ai · bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-08
{
"limit": 2,
"search": "claude"
}{
"input_tokens": 1000,
"models": [
{
"call_cost_usd": 0.00175,
"context_tokens": 200000,
"free": false,
"input_usd_per_million": 0.5,
"modalities": [
"text",
"image"
],
"model": "anthropic/claude-haiku-4.5:batch",
"name": "Anthropic: Claude Haiku 4.5 (batch)",
"output_usd_per_million": 2.5
},
{
"call_cost_usd": 0.0035,
"context_tokens": 1000000,
"free": false,
"input_usd_per_million": 1,
"modalities": [
"text",
"image"
],
"model": "anthropic/claude-sonnet-5.5:batch",
"name": "Anthropic: Claude Sonnet 5.5 (batch)",
"output_usd_per_million": 5
}
],
"note": "OpenRouter prices; the direct provider may differ.",
"output_tokens": 500,
"search": "claude",
"source": "OpenRouter (public model API prices)",
"total": 33
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/37177.jsonfor the price and payment options. - Pay. Call
GET https://api.vextorium.com/v1/llm-prices. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Solana, Polygon, Optimism, eip155:5042, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.002 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base, Solana, Polygon, Optimism, eip155:5042
- Demand
- 3 calls · 3 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.002 | 0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf | 300s |
| exact | Solana solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | USDC | $0.002 | HcjfmZLgWRZzwj4deEiS7pewc4KBYSw39mW5nTyt3pz2 | 300s |
| exact | Polygon eip155:137 | USDC | $0.002 | 0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf | 300s |
| exact | Optimism eip155:10 | 0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85 | 2000 | 0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf | 604900s |
| exact | eip155:5042 eip155:5042 | 0x3600000000000000000000000000000000000000 | 2000 | 0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf | 604900s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "2000",
"amountUsd": 0.002,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "HcjfmZLgWRZzwj4deEiS7pewc4KBYSw39mW5nTyt3pz2",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "2000",
"amountUsd": 0.002,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:137",
"payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"amount": "2000",
"amountUsd": 0.002,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:10",
"payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
"asset": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
"amount": "2000",
"maxTimeoutSeconds": 604900
},
{
"scheme": "exact",
"network": "eip155:5042",
"payTo": "0xb9f06D2734B7E9D7b21B64C4D8b95bd774b71aCf",
"asset": "0x3600000000000000000000000000000000000000",
"amount": "2000",
"maxTimeoutSeconds": 604900
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"properties": {
"input_tokens": {
"type": [
"number",
"null"
]
},
"models": {
"items": {
"properties": {
"call_cost_usd": {
"type": [
"null",
"number"
]
},
"context_tokens": {
"type": [
"null",
"number"
]
},
"free": {
"type": [
"boolean",
"null"
]
},
"input_usd_per_million": {
"type": [
"null",
"number"
]
},
"modalities": {
"items": {
"type": [
"null",
"string"
]
},
"type": [
"array",
"null"
]
},
"model": {
"type": [
"null",
"string"
]
},
"name": {
"type": [
"null",
"string"
]
},
"output_usd_per_million": {
"type": [
"null",
"number"
]
}
},
"type": [
"null",
"object"
]
},
"type": [
"array",
"null"
]
},
"note": {
"type": [
"string",
"null"
]
},
"output_tokens": {
"type": [
"number",
"null"
]
},
"search": {
"type": [
"string",
"null"
]
},
"source": {
"type": [
"string",
"null"
]
},
"total": {
"type": [
"number",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"input_tokens": 0,
"models": [
{
"call_cost_usd": null,
"context_tokens": null,
"free": true,
"input_usd_per_million": null,
"modalities": [
"value"
],
"model": null,
"name": null,
"output_usd_per_million": null
}
],
"note": "string",
"output_tokens": 0,
"search": "string",
"source": "string",
"total": 0
},
"type": "string"
}Examples
curl "https://api.vextorium.com/v1/llm-prices"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://api.vextorium.com/v1/llm-prices");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://api.vextorium.com/v1/llm-prices")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- api.vextorium.com
- Endpoint
- https://api.vextorium.com/v1/llm-prices
- Machine-readable
/resources/37177.json