{"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},"version":"1.0","contract_hash":"9235d3206241f321318ee4e3eff74452437d7559750322a5599402a59c4c4ed7","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},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T04:45:48.387Z","activated_at":"2026-12-06T04:45:48.387Z","active":true,"contract_hash":"9235d3206241f321318ee4e3eff74452437d7559750322a5599402a59c4c4ed7","fields_count":10}]}