← The evidence ledger
Evidence row 60220
Observed , by baseline/1.
- Kind
- listing
- About
- source_record x402_bazaar:https://1gateway.dev/v1/ai/llm-prices
- Recorded
- Previous row
- None: the first of its kind about this subject
- Body SHA-256
- 87b8b52141e8a251ccdd7c823d808a38e0d7d45b20afedff8ca2313134f3ad87
- Leaf
- 0x47490351f7edaba2ee8d95f07667d39e3c1beec24554251ab1214ec257898a03
What was observed
{
"endpoints": [
[
"x402",
"https://1gateway.dev/v1/ai/llm-prices"
]
],
"name": "LLM Price Calculator",
"owner_address": "0x6246eee0355dd7a93c888fe59e1151388a0cc5a1",
"raw": {
"accepts": [
{
"amount": "4000",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"maxTimeoutSeconds": 300,
"network": "eip155:8453",
"payTo": "0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1",
"scheme": "exact"
}
],
"description": "Use when an agent must price an LLM call or pick the cheapest model. Input: model (up to 5, comma list) plus optional input_tokens, output_tokens, requests; or no model plus mode, provider, min_context, capabilities (vision, function_calling...). Output: JSON USD per 1M input/output tokens, cached/batch prices, context window, provider, capabilities, cost estimate or cheapest ranking, as_of + source commit. Example: ?model=gpt-4o&input_tokens=12000&output_tokens=800",
"extensions": {
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"capabilities": "vision",
"include_deprecated": "false",
"input_tokens": 12000,
"limit": 5,
"min_context": 100000,
"mode": "chat",
"model": "gpt-4o",
"output_tokens": 800,
"provider": "openai",
"requests": 1000
},
"type": "http"
},
"output": {
"example": {
"as_of": "2026-10-18",
"attribution": "Prices: LiteLLM model_prices_and_context_window.json, MIT License, Copyright (c) 2023 Berri AI. List prices as compiled by LiteLLM; confirm with the provider b…",
"kind": "lookup",
"query": {
"capabilities": [],
"include_deprecated": false,
"input_tokens": 12000,
"limit": 3,
"min_context": null,
"mode": "chat",
"model": [
"gpt-4o"
],
"output_tokens": 800,
"provider": null,
"requests": 1000
},
"results": [
{
"exact_match": true,
"listings": [
{
"batch_input_per_1m_usd": 1.25,
"batch_output_per_1m_usd": 5,
"cached_input_per_1m_usd": 1.25,
"capabilities": [
"vision"
],
"context_window": 128000,
"deprecated": false,
"deprecation_date": null,
"estimate": {
"cost_per_request_usd": 0.038,
"input_cost_usd": 30,
"input_tokens": 12000,
"long_context_tier_applied": false,
"output_cost_usd": 8,
"output_tokens": 800,
"requests": 1000,
"total_cost_usd": 38
},
"input_per_1m_usd": 2.5,
"long_context_tier": null,
"max_output_tokens": 16384,
"mode": "chat",
"model": "gpt-4o",
"output_per_1m_usd": 10,
"provider": "openai"
}
],
"listings_total": 5,
"query": "gpt-4o"
}
],
"source": {
"commit": "af194c842cd8c0276f69fc05efacaa18505c7484",
"committed_at": "2026-10-18T02:54:27Z",
"license": "MIT",
"models_in_table": 3418,
"name": "LiteLLM model_prices_and_context_window.json",
"url": "https://github.com/BerriAI/litellm/blob/af194c842cd8c0276f69fc05efacaa18505c7484/model_prices_and_context_window.json"
}
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"capabilities": {
"description": "Comma-separated required capabilities: vision, function_calling, reasoning, prompt_caching, response_schema, pdf_input, audio_input, audio_output, web_search, computer_use, video_input",
"examples": [
"vision"
],
"maxLength": 200,
"type": "string"
},
"include_deprecated": {
"description": "Include models past their deprecation date in the cheapest search (default false)",
"enum": [
"true",
"false"
],
"examples": [
"false"
],
"type": "string"
},
"input_tokens": {
"description": "Input (prompt) tokens per request, for the cost estimate and ranking",
"examples": [
12000
],
"maximum": 100000000,
"minimum": 0,
"type": "integer"
},
"limit": {
"description": "Max rows per model or in the ranking (default 10)",
"examples": [
5
],
"maximum": 25,
"minimum": 1,
"type": "integer"
},
"min_context": {
"description": "Minimum context window (max input tokens)",
"examples": [
100000
],
"maximum": 100000000,
"minimum": 1,
"type": "integer"
},
"mode": {
"description": "Model type for the cheapest search (default chat; chat includes responses-API models). Ignored when model is given",
"enum": [
"chat",
"embedding",
"completion",
"rerank",
"image_generation",
"audio_transcription",
"audio_speech",
"realtime",
"moderation"
],
"examples": [
"chat"
],
"type": "string"
},
"model": {
"description": "Model name(s), up to 5 comma-separated (gpt-4o, claude-sonnet-4-5, gemini/gemini-2.5-flash). Also lists the same model at other providers. Omit to rank the cheapest models. Unknown → 400 with suggestions (not charged)",
"examples": [
"gpt-4o"
],
"maxLength": 400,
"type": "string"
},
"output_tokens": {
"description": "Output (completion) tokens per request",
"examples": [
800
],
"maximum": 100000000,
"minimum": 0,
"type": "integer"
},
"provider": {
"description": "LiteLLM provider id filter: openai, anthropic, gemini, vertex_ai, bedrock, azure, groq, deepseek, mistral...",
"examples": [
"openai"
],
"pattern": "^[A-Za-z0-9_.-]{1,40}$",
"type": "string"
},
"requests": {
"description": "Number of requests to multiply the estimate by (default 1)",
"examples": [
1000
],
"maximum": 1000000000,
"minimum": 1,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"as_of": {
"type": "string"
},
"attribution": {
"type": "string"
},
"kind": {
"type": "string"
},
"matched_total": {
"type": "integer"
},
"models": {
"items": {
"properties": {
"batch_input_per_1m_usd": {
"type": [
"number",
"null"
]
},
"batch_output_per_1m_usd": {
"type": [
"number",
"null"
]
},
"cached_input_per_1m_usd": {
"type": [
"number",
"null"
]
},
"capabilities": {
"items": {
"type": "string"
},
"type": "array"
},
"context_window": {
"type": [
"integer",
"null"
]
},
"deprecated": {
"type": "boolean"
},
"deprecation_date": {
"type": [
"string",
"null"
]
},
"estimate": {
"properties": {
"cost_per_request_usd": {
"type": "number"
},
"input_cost_usd": {
"type": "number"
},
"input_tokens": {
"type": "integer"
},
"long_context_tier_applied": {
"type": "boolean"
},
"output_cost_usd": {
"type": "number"
},
"output_tokens": {
"type": "integer"
},
"requests": {
"type": "integer"
},
"total_cost_usd": {
"type": "number"
}
},
"type": [
"object",
"null"
]
},
"input_per_1m_usd": {
"type": [
"number",
"null"
]
},
"long_context_tier": {
"properties": {
"above_input_tokens": {
"type": "integer"
},
"input_per_1m_usd": {
"type": [
"number",
"null"
]
},
"output_per_1m_usd": {
"type": [
"number",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"max_output_tokens": {
"type": [
"integer",
"null"
]
},
"mode": {
"type": "string"
},
"model": {
"type": "string"
},
"output_per_1m_usd": {
"type": [
"number",
"null"
]
},
"provider": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"query": {
"properties": {
"capabilities": {
"items": {
"type": "string"
},
"type": "array"
},
"include_deprecated": {
"type": "boolean"
},
"input_tokens": {
"type": [
"integer",
"null"
]
},
"limit": {
"type": "integer"
},
"min_context": {
"type": [
"integer",
"null"
]
},
"mode": {
"type": "string"
},
"model": {
"items": {
"type": "string"
},
"type": [
"array",
"null"
]
},
"output_tokens": {
"type": [
"integer",
"null"
]
},
"provider": {
"type": [
"string",
"null"
]
},
"requests": {
"type": "integer"
}
},
"type": "object"
},
"ranking": {
"type": "string"
},
"results": {
"items": {
"properties": {
"exact_match": {
"type": "boolean"
},
"listings": {
"items": {
"properties": {
"batch_input_per_1m_usd": {
"type": [
"number",
"null"
]
},
"batch_output_per_1m_usd": {
"type": [
"number",
"null"
]
},
"cached_input_per_1m_usd": {
"type": [
"number",
"null"
]
},
"capabilities": {
"items": {
"type": "string"
},
"type": "array"
},
"context_window": {
"type": [
"integer",
"null"
]
},
"deprecated": {
"type": "boolean"
},
"deprecation_date": {
"type": [
"string",
"null"
]
},
"estimate": {
"properties": {
"cost_per_request_usd": {
"type": "number"
},
"input_cost_usd": {
"type": "number"
},
"input_tokens": {
"type": "integer"
},
"long_context_tier_applied": {
"type": "boolean"
},
"output_cost_usd": {
"type": "number"
},
"output_tokens": {
"type": "integer"
},
"requests": {
"type": "integer"
},
"total_cost_usd": {
"type": "number"
}
},
"type": [
"object",
"null"
]
},
"input_per_1m_usd": {
"type": [
"number",
"null"
]
},
"long_context_tier": {
"properties": {
"above_input_tokens": {
"type": "integer"
},
"input_per_1m_usd": {
"type": [
"number",
"null"
]
},
"output_per_1m_usd": {
"type": [
"number",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"max_output_tokens": {
"type": [
"integer",
"null"
]
},
"mode": {
"type": "string"
},
"model": {
"type": "string"
},
"output_per_1m_usd": {
"type": [
"number",
"null"
]
},
"provider": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"listings_total": {
"type": "integer"
},
"query": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"source": {
"properties": {
"commit": {
"type": "string"
},
"committed_at": {
"type": "string"
},
"license": {
"type": "string"
},
"models_in_table": {
"type": "integer"
},
"name": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"as_of",
"source",
"kind",
"query",
"attribution"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
},
"iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791609992/bazaar-icons/c4d9db8f8f483844.png",
"lastUpdated": "2026-10-20T12:48:03.108Z",
"quality": {
"l30DaysTotalCalls": 3,
"l30DaysUniquePayers": 2,
"lastCalledAt": "2026-10-20T12:48:02.849Z"
},
"resource": "https://1gateway.dev/v1/ai/llm-prices",
"serviceName": "LLM Price Calculator",
"tags": [
"llm pricing",
"token cost calculator",
"model comparison",
"ai cost estimate",
"context window"
],
"type": "http",
"x402Version": 2
},
"source": "x402_bazaar",
"summary": "Use when an agent must price an LLM call or pick the cheapest model. Input: model (up to 5, comma list) plus optional input_tokens, output_tokens, requests; or no model plus mode, provider, min_context, capabilities (vision, function_calling...). Output: JSON USD per 1M input/output tokens, cached/batch prices, context window, provider, capabilities, cost estimate or cheapest ranking, as_of + source commit. Example: ?model=gpt-4o&input_tokens=12000&output_tokens=800"
}What the leaf hashes
{"body":"87b8b52141e8a251ccdd7c823d808a38e0d7d45b20afedff8ca2313134f3ad87","id":60220,"kind":"listing","method":"baseline/1","observed_us":1793025448066476,"prev":null,"subject":"x402_bazaar:https://1gateway.dev/v1/ai/llm-prices","subject_kind":"source_record"}Proof
Fold these into the leaf in order, hashing each sorted pair with keccak256, to reach the root of (296695 rows).
- 0x4748f7dea93d1eb6534d5e762b03a0466e5190cb2d08d6599ad905a3ef4bcae7
- 0xd297cb77b789d313f05410803e9ce11583ea4f4fd9eef7bfff967a66b05e93a4
- 0x074a2f4faccb6cfc5f9d9988bd72dd3faee6821f9cd91a805e557f80703d6d11
- 0x74270cae639e49a2168c83240bc2b6c16bfebaf45c834da54e56a3d35ed67ec7
- 0x91b4d2245b63ea4dbdee357d03304b702268e8905c7fc590e8925372f2b72b57
- 0xa1595fdc5765afcec8682d50ba62fb2b846f7bad6fb9b212db8351550ec1dfeb
- 0xdc39ac26124e0aee81793dc1ae942522d49aa3e3625c0fe3604bb888648efa38
- 0x5d76770e622dac7bcb403b86c8e978ceca908980e6b51b71114e83bd544d505a
- 0x9c6c54051cda31e9ed60341d12180d2b886f8aefad995742bc02c60bc3c8815c
- 0xa42a7426289fd9f8743f53fc2566b0c9eebb23ae577bd4a3cab7b4c80cd7e5a2
- 0x263cc8bcddc70acc00ef06b84397a006a822410dc2b18b714a0be72a820c5b17
- 0xae3550e71ca4b0f0b86c9905b234388d6bc01a22e52324fb1ee62a553273a1fe
- 0xb86fa861d04737cb507e721eefbb066d26528fdb6017b1145c18d1223b93ee21
- 0x88e326a39b26e2c125306c9d3805d14398ace088bba9a2a0aa376b811cfb201a
- 0x2be1e80e065dd6b2cc75a7142be22225acd144ac975d70bf24b4f01fd76dc497
- 0x2e6a32eb32761c210560e852405e2f865f958ddbe01027894f8b9c1b3433b9f0
- 0x9a83be955a206deb65b995adfd92c58fa31c95fbbf926bd199d300e70b08b26d
- 0x20704208aa6923d6b2450ef74ede87a6e0265d46447926038fe9506e9e154b2d
- 0x9b9ce5b74b9bab5121612ef6b64920a8d453cbf311096a423eef9702747e868a
- Day root
- 0xf43e8dcc3d451a4788b26be904c55e8c4c0fa75c9666796c51db38d37e2c0df8
- Chained
- 0x702d5ac508f08b0d1accf36af25822d8e5660367494edd17a642fb61e158a57a
- Published
- On Arc Testnet, block 69251483: 0x495162f8936e19f0039918feebe6c307f327cd6bf8c37219620b1970041fa9ae