{"uid":"cap_eElt6X3T8Dj9nrF-a-Fc0","slug":"llm-api-prices-103a1ba4","name":"LLM API Prices","description":"API prices of 400+ LLMs (OpenAI, Anthropic, Google, DeepSeek, Llama, Qwen...) per million input/output tokens with context length, searchable by name and sortable by price, context or newest.","url":"https://bess-x402.onrender.com/v1/ai/model-prices?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"q":{"type":"string","description":"Name contains, e.g. claude, gpt, gemini"},"free":{"type":"boolean","description":"true for free models only"},"sort":{"type":"string","description":"input_price, output_price, context or newest"},"limit":{"type":"integer","description":"Rows (1-100)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YnXZWcgr2HlQoXDSnPGBo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns pricing data (input/output cost per million tokens, context length) for 400+ LLMs from OpenAI, Anthropic, Google, DeepSeek, Llama, Qwen, and more, searchable by name and sortable by price or context.","exampleAgentPrompt":"What are the cheapest 10 LLM APIs sorted by output price? Show me all models — including any free ones — so I can compare costs.","exampleUseCases":[{"title":"Comparing LLM costs before integration","prompt":"I'm picking an LLM for my app — can you pull the top 20 models sorted by input price so I can see what OpenAI, Anthropic, and Google each charge per million tokens?"},{"title":"Finding free LLMs for prototyping","prompt":"Are there any LLM APIs that are completely free to use right now? Give me the full list of free models available."},{"title":"Researching latest model releases","prompt":"What are the newest LLM models available via API? Sort them by newest and show me up to 50 so I can see what's been released recently."}],"resultDescription":"A list of LLM models with their provider, name, input price per million tokens, output price per million tokens, context window length, and release date. Results can be filtered by name substring or free-tier status and sorted by input price, output price, context length, or newest.","failureModes":["No results returned if query string matches no model names","Invalid sort field value returns an error","Limit outside 1-100 range may be rejected or clamped","Service may be temporarily unavailable on the shared Render.com host","Stale pricing data if the underlying dataset hasn't been updated recently"],"whenToPreferThis":"Use this endpoint when an agent needs to compare LLM API costs across providers, find the cheapest or most context-efficient model, discover free-tier models, or look up pricing for a specific model like Claude, GPT, or Gemini. Prefer this over manually searching provider documentation pages when up-to-date aggregated pricing across 400+ models is needed in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:40:06.442Z","isFirstParty":false,"canonicalSlug":"llm-api-prices-103a1ba4"}