{"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},"version":"1.0","contract_hash":"665dd57a4eed753bdefd1b2e0f659b6aa8490afb6510e16fed1263f9b68dbfac","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},"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":"665dd57a4eed753bdefd1b2e0f659b6aa8490afb6510e16fed1263f9b68dbfac","fields_count":9}]}