{"uid":"cap_mjaHrJff66urM5H8Vfmio","slug":"modelprices-xyz-openrouter-pricing-table-13266b72","name":"modelprices.xyz OpenRouter Pricing Table","description":"OpenRouter pricing table: per-token cost of every AI model OpenRouter serves, in one call — input, output, cache and batch USD per 1M tokens, ranked cheapest first, with context window and capability flags joined in. Compare LLM token cost inside OpenRouter and against other providers hosting the same model. Normalized from public sources, cross-checked, refreshed hourly.","url":"https://modelprices.xyz/llm/prices/openrouter","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"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qhZEtCI9ykmHe50DmpCA1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns per-token USD costs for every AI model available on OpenRouter, sorted cheapest first, with context window sizes and capability flags.","exampleAgentPrompt":"Pull the full OpenRouter pricing table and show me all models ranked cheapest to most expensive, including their input and output token costs per million tokens and context window sizes.","exampleUseCases":[{"title":"Budget-conscious model selection","prompt":"I need to pick the cheapest OpenRouter model that still has at least a 32k context window — can you pull the OpenRouter price list and filter it down for me?"},{"title":"Cross-provider cost benchmarking","prompt":"I'm comparing whether to use OpenRouter or run models directly on AWS Bedrock. Can you get me the OpenRouter pricing table so I can see how their costs stack up for the same models?"},{"title":"Nightly cost monitoring for AI pipeline","prompt":"Every morning, fetch the latest OpenRouter pricing table and alert me if any model I'm currently using has changed price since yesterday."}],"resultDescription":"A ranked list of all AI models served via OpenRouter, each with input, output, cache, and batch token prices in USD per 1M tokens, context window size in tokens, and capability flags (e.g. vision, reasoning). Results are sorted cheapest first and refreshed hourly from normalized public sources.","failureModes":["Upstream OpenRouter pricing data temporarily unavailable — returns stale or empty response","Rate limiting or payment failure for the $0.01 USDC x402 micro-payment — returns 402 error","Model list may lag real-time OpenRouter catalog by up to one hour due to refresh cadence","Newly added or removed models may not appear until next hourly refresh"],"whenToPreferThis":"Choose this endpoint when you need a comprehensive, pre-normalized, hourly-refreshed pricing table for all OpenRouter-hosted models in a single API call, rather than scraping OpenRouter's website or calling their native API and computing costs yourself. Especially useful when comparing costs across providers, since sibling endpoints on modelprices.xyz cover AWS Bedrock, xAI, OpenAI, etc. with the same schema, making cross-provider comparison trivial.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:40:34.809Z","isFirstParty":false}