{"api":{"id":"api_02a222e33549130e263bf865","slug":"openrouter-models","name":"OpenRouter Model Catalog API","description":"The AI models listed on OpenRouter with context length, prompt and completion price per million tokens, input and output modalities, supported parameters and open-weight flag, searchable and filterable by price.","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":9,"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":"OpenRouter model id such as anthropic/claude-sonnet.","required":true,"coverage":1,"example":"anthropic/claude-fable-5.2"},{"name":"name","type":"string","description":"Model display name.","required":false,"coverage":1,"example":"Anthropic: Claude Fable 5.2"},{"name":"created","type":"datetime","description":"When the model was added to OpenRouter (UTC).","required":false,"coverage":1,"example":"2026-11-09T19:49:41.000Z"},{"name":"context_length","type":"integer","description":"Context window in tokens.","required":false,"coverage":1,"example":1000000},{"name":"prompt_price_per_m","type":"number","description":"Prompt price in US dollars per million tokens.","required":false,"coverage":1,"example":8},{"name":"completion_price_per_m","type":"number","description":"Completion price in US dollars per million tokens.","required":false,"coverage":1,"example":40},{"name":"modalities","type":"array","description":"Input and output modalities, such as text, image, in the form in:text and out:text.","required":false,"coverage":1,"example":["in:text","in:image"]},{"name":"supported_parameters","type":"array","description":"Request parameters the model accepts, such as tools or temperature.","required":false,"coverage":1,"example":["include_reasoning","max_completion_tokens"]},{"name":"is_open_weight","type":"boolean","description":"True when the model's weights are openly published.","required":false,"coverage":1,"example":false}],"inputs":[{"name":"search","type":"string","description":"Words that must all appear in the model id or name.","example":"claude"},{"name":"modality","type":"string","description":"Only models that take or produce this modality, such as image, audio, video, file or text.","example":"image"},{"name":"max_prompt_price","type":"number","description":"Only models whose prompt price per million tokens is at most this many US dollars.","example":5},{"name":"limit","type":"integer","description":"Maximum records to return.","example":50}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"completion_price_per_m":{"description":"Completion price in US dollars per million tokens.","type":"number"},"context_length":{"description":"Context window in tokens.","type":"integer"},"created":{"description":"When the model was added to OpenRouter (UTC).","format":"date-time","type":"string"},"id":{"description":"OpenRouter model id such as anthropic/claude-sonnet.","type":"string"},"is_open_weight":{"description":"True when the model's weights are openly published.","type":"boolean"},"modalities":{"description":"Input and output modalities, such as text, image, in the form in:text and out:text.","type":"array"},"name":{"description":"Model display name.","type":"string"},"prompt_price_per_m":{"description":"Prompt price in US dollars per million tokens.","type":"number"},"supported_parameters":{"description":"Request parameters the model accepts, such as tools or temperature.","type":"array"}},"required":["id"],"title":"OpenRouter Model Catalog API","type":"object"},"samples":[{"id":"anthropic/claude-fable-5.2","name":"Anthropic: Claude Fable 5.2","created":"2026-11-09T19:49:41.000Z","context_length":1000000,"prompt_price_per_m":8,"completion_price_per_m":40,"modalities":["in:text","in:image","in:file","out:text"],"supported_parameters":["include_reasoning","max_completion_tokens","max_tokens","reasoning"],"is_open_weight":false},{"id":"anthropic/claude-fable-5.2:batch","name":"Anthropic: Claude Fable 5.2 (batch)","created":"2026-11-09T19:49:41.000Z","context_length":1000000,"prompt_price_per_m":4,"completion_price_per_m":20,"modalities":["in:text","in:image","in:file","out:text"],"supported_parameters":["include_reasoning","max_tokens","reasoning","reasoning_effort"],"is_open_weight":false},{"id":"anthropic/claude-mythos-5.2","name":"Anthropic: Claude Mythos 5.2","created":"2026-11-09T01:56:55.000Z","context_length":1000000,"prompt_price_per_m":8,"completion_price_per_m":40,"modalities":["in:text","in:image","in:file","out:text"],"supported_parameters":["include_reasoning","max_tokens","reasoning","reasoning_effort"],"is_open_weight":false}],"validation":{"checked_at":"2026-12-06T04:45:48.335Z","field_coverage":{"completion_price_per_m":1,"context_length":1,"created":1,"id":1,"is_open_weight":1,"modalities":1,"name":1,"prompt_price_per_m":1,"supported_parameters":1},"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_02a222e33549130e263bf865/run","openapi":"https://pullrow.dev/v1/apis/api_02a222e33549130e263bf865/openapi.json","contract":"https://pullrow.dev/v1/apis/api_02a222e33549130e263bf865/contract.json","page":"https://pullrow.dev/catalog/openrouter-models"},"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":["Prices and the model list are a live snapshot of OpenRouter's public catalog and change often; the listed price is the one OpenRouter shows, not a guarantee from the model's maker.","Free models show a price of 0; models without per-token pricing show empty price fields.","About 500 models exist, so one run returns at most that many.","Descriptions are cut by OpenRouter and not included; open the model page for details."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"id","label":"ID","description":"OpenRouter model id such as anthropic/claude-sonnet.","group":"Technical","shown":false,"written":false},{"name":"name","label":"Model display name","description":"","group":"Basics","shown":true,"written":false},{"name":"created","label":"Created","description":"When the model was added to OpenRouter (UTC).","group":"Dates","shown":true,"written":false},{"name":"context_length","label":"Context length","description":"Context window in tokens.","group":"Basics","shown":true,"written":false},{"name":"prompt_price_per_m","label":"Prompt price per m","description":"Prompt price in US dollars per million tokens.","group":"Pay","shown":true,"written":false},{"name":"completion_price_per_m","label":"Completion price per m","description":"Completion price in US dollars per million tokens.","group":"Pay","shown":true,"written":false},{"name":"modalities","label":"Modalities","description":"Input and output modalities, such as text, image, in the form in:text and out:text.","group":"Basics","shown":true,"written":false},{"name":"supported_parameters","label":"Supported parameters","description":"Request parameters the model accepts, such as tools or temperature.","group":"Basics","shown":true,"written":false},{"name":"is_open_weight","label":"Open weight","description":"Yes when the model's weights are openly published.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"search","label":"Search","help":"Words that must all appear in the model id or name.","example":"claude","written":false},{"name":"modality","label":"Modality","help":"Only models that take or produce this modality, such as image, audio, video, file or text.","example":"image","written":false},{"name":"max_prompt_price","label":"Maximum prompt price","help":"Only models whose prompt price per million tokens is at most this many US dollars.","example":"5","written":false},{"name":"limit","label":"Limit","help":"Maximum records to return.","example":"50","written":false}]}},"incidents":[]}