Fetch a current third-party aggregated model-pricing snapshot from LiteLLM
Fetch a current third-party aggregated model-pricing snapshot from LiteLLM. Buyers should verify final pricing with each provider.
10000 (raw units)
price
2
calls / 30d
1
unique payers
2026-08-28
updated
Provider
ai-data-marketplace-1042299154756.us-central1.run.app · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x8647F7D7a1368a467Ad1FF757fBc2e7167973558",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"providers": "openai,anthropic"
},
"type": "http"
},
"output": {
"example": {
"caveat": "Third-party aggregated pricing. Verify final purchasing decisions with the model...",
"count": 30,
"fetched_at": "2026-08-07T07:32:42.020Z",
"marketplace_metadata": {
"availability": "operational",
"billable": true,
"data_mode": "live_source",
"source": "LiteLLM community pricing database"
},
"models": [
"[nested detail omitted from the challenge header; see the full example in /openapi.json]"
],
"source": "LiteLLM community pricing database",
"source_url": "https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.jso...",
"success": true
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"additionalProperties": true,
"properties": {
"providers": {
"description": "Comma-separated list of providers to filter.",
"type": "string"
}
},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"additionalProperties": true,
"properties": {
"caveat": {
"type": "string"
},
"count": {
"type": "integer"
},
"fetched_at": {
"type": "string"
},
"marketplace_metadata": {
"additionalProperties": true,
"properties": {
"availability": {
"type": "string"
},
"billable": {
"type": "boolean"
},
"data_mode": {
"type": "string"
},
"source": {
"type": "string"
}
},
"required": [
"data_mode",
"billable",
"availability",
"source"
],
"type": "object"
},
"models": {
"items": {
"type": "string"
},
"type": "array"
},
"source": {
"type": "string"
},
"source_url": {
"type": "string"
},
"success": {
"type": "boolean"
}
},
"required": [
"success",
"source",
"source_url",
"fetched_at",
"caveat",
"count",
"models",
"marketplace_metadata"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/ai_model_pricing" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/ai_model_pricing");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/ai_model_pricing")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/3230.json, and this resource appears in /discovery/resources and /discovery/search.