{"api":{"id":"api_a44ad9c1001218069bf2eb80","slug":"openrouter-model-providers","name":"OpenRouter Model Provider Pricing API","description":"For one AI model on OpenRouter, every company hosting it side by side: price per million input, output and cached tokens, quantization, recent uptime, context length and the most output tokens allowed.","kind":"ready_made","visibility":"public","domain":"openrouter.ai","source_url":"https://openrouter.ai/api/v1/models","category":"developer","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":10,"created_at":"2026-12-06T04:45:48.387Z","updated_at":"2026-12-06T04:45:48.387Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"id","type":"string","description":"Model id and host tag, unique for each record.","required":true,"coverage":1,"example":"z-ai/glm-5.4@primeintellect"},{"name":"model_id","type":"string","description":"OpenRouter model id.","required":false,"coverage":1,"example":"z-ai/glm-5.4"},{"name":"provider_name","type":"string","description":"Company hosting the model.","required":false,"coverage":1,"example":"PrimeIntellect"},{"name":"prompt_price","type":"number","description":"Input price in US dollars per million tokens.","required":false,"coverage":1,"example":1.2},{"name":"completion_price","type":"number","description":"Output price in US dollars per million tokens.","required":false,"coverage":1,"example":4},{"name":"cache_read_price","type":"number","description":"Cached input price in US dollars per million tokens.","required":false,"coverage":1,"example":0.22},{"name":"quantization","type":"string","description":"Numeric precision the host runs the model at, such as fp8, or unknown.","required":false,"coverage":1,"example":"unknown"},{"name":"uptime_30m","type":"number","description":"Share of successful requests in the last 30 minutes, in percent.","required":false,"coverage":0.8,"example":100},{"name":"context_length","type":"integer","description":"Context window in tokens.","required":false,"coverage":1,"example":1048576},{"name":"max_completion_tokens","type":"integer","description":"Most output tokens one reply may have.","required":false,"coverage":1,"example":131072}],"inputs":[{"name":"model_id","type":"string","description":"OpenRouter model id in the form author/model-name.","example":"z-ai/glm-5.4","required":true}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"cache_read_price":{"description":"Cached input price in US dollars per million tokens.","type":"number"},"completion_price":{"description":"Output price in US dollars per million tokens.","type":"number"},"context_length":{"description":"Context window in tokens.","type":"integer"},"id":{"description":"Model id and host tag, unique for each record.","type":"string"},"max_completion_tokens":{"description":"Most output tokens one reply may have.","type":"integer"},"model_id":{"description":"OpenRouter model id.","type":"string"},"prompt_price":{"description":"Input price in US dollars per million tokens.","type":"number"},"provider_name":{"description":"Company hosting the model.","type":"string"},"quantization":{"description":"Numeric precision the host runs the model at, such as fp8, or unknown.","type":"string"},"uptime_30m":{"description":"Share of successful requests in the last 30 minutes, in percent.","type":"number"}},"required":["id"],"title":"OpenRouter Model Provider Pricing API","type":"object"},"samples":[{"id":"z-ai/glm-5.4@primeintellect","model_id":"z-ai/glm-5.4","provider_name":"PrimeIntellect","prompt_price":1.2,"completion_price":4,"cache_read_price":0.22,"quantization":"unknown","uptime_30m":null,"context_length":1048576,"max_completion_tokens":131072},{"id":"z-ai/glm-5.4@inferact-vllm","model_id":"z-ai/glm-5.4","provider_name":"Inferact vLLM","prompt_price":1.4,"completion_price":4.4,"cache_read_price":0.26,"quantization":"unknown","uptime_30m":100,"context_length":1048576,"max_completion_tokens":943718},{"id":"z-ai/glm-5.4@modal","model_id":"z-ai/glm-5.4","provider_name":"Modal","prompt_price":1.4,"completion_price":4.4,"cache_read_price":0.26,"quantization":"unknown","uptime_30m":100,"context_length":1048576,"max_completion_tokens":943718}],"validation":{"checked_at":"2026-12-06T04:45:48.335Z","field_coverage":{"cache_read_price":1,"completion_price":1,"context_length":1,"id":1,"max_completion_tokens":1,"model_id":1,"prompt_price":1,"provider_name":1,"quantization":1,"uptime_30m":0.67},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_a44ad9c1001218069bf2eb80/run","openapi":"https://pullrow.dev/v1/apis/api_a44ad9c1001218069bf2eb80/openapi.json","contract":"https://pullrow.dev/v1/apis/api_a44ad9c1001218069bf2eb80/contract.json","page":"https://pullrow.dev/catalog/openrouter-model-providers"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["One model per run; a model has a handful of hosts (often under 20), so a run returns few records.","Prices are OpenRouter's list prices in US dollars per million tokens at the time of the run; they change often.","Uptime is OpenRouter's own measure over the last 30 minutes and can be empty for a host with no recent traffic; cache price is empty for hosts without caching.","Quantization is as reported by the host, often 'unknown'.","Model ids must match OpenRouter exactly, such as author/model-name; an unknown id returns no records."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"id","label":"ID","description":"Model id and host tag, unique for each record.","group":"Technical","shown":false,"written":false},{"name":"model_id","label":"Model ID","description":"OpenRouter model id.","group":"Technical","shown":false,"written":false},{"name":"provider_name","label":"Provider name","description":"Company hosting the model.","group":"Basics","shown":true,"written":false},{"name":"prompt_price","label":"Prompt price","description":"Input price in US dollars per million tokens.","group":"Pay","shown":true,"written":false},{"name":"completion_price","label":"Completion price","description":"Output price in US dollars per million tokens.","group":"Pay","shown":true,"written":false},{"name":"cache_read_price","label":"Cache read price","description":"Cached input price in US dollars per million tokens.","group":"Pay","shown":true,"written":false},{"name":"quantization","label":"Quantization","description":"Numeric precision the host runs the model at, such as fp8, or unknown.","group":"Basics","shown":true,"written":false},{"name":"uptime_30m","label":"Uptime 30m","description":"Share of successful requests in the last 30 minutes, in percent.","group":"Basics","shown":true,"written":false},{"name":"context_length","label":"Context length","description":"Context window in tokens.","group":"Basics","shown":true,"written":false},{"name":"max_completion_tokens","label":"Maximum completion tokens","description":"Most output tokens one reply may have.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"model_id","label":"Model ID","help":"OpenRouter model id in the form author/model-name.","example":"z-ai/glm-5.4","written":false}]}},"incidents":[]}