Retrieve model
Returns detailed information about a specific model. Model IDs use the {creator}/{model} form, so clients must send both path segments, for example /v1/models/openai/gpt-4o.
creator*stringModel creator namespace (e.g. openai, anthropic)
model*stringModel slug (e.g. gpt-4o, claude-sonnet-4)
capability?stringFilter by catalog capability (tool_call, reasoning, vision, streaming, etc.).
modality?stringFilter by input or output modality (text, image, audio, video).
service?stringFilter by service type (llm, embedding, tts, stt, image, rerank).
lifecycle?stringFilter by lifecycle status (active, deprecated, sunset).
q?stringFree-text search across model ID, name, and description.
provider?stringComma-separated provider filter. providers is accepted as an alias.
providers?stringComma-separated provider filter alias; merged with provider.
input_modalities?stringComma-separated input modalities.
output_modalities?stringComma-separated output modalities.
context?integerMinimum context length filter; accepted for OpenRouter client compatibility.
0 <= valuemin_context?integerAlias of context; conflicting values are rejected.
0 <= valuemin_price?numberMinimum input price in USD per 1M tokens.
0 <= valuemax_price?numberMaximum input price in USD per 1M tokens.
0 <= valuemin_output_price?numberMinimum output price in USD per 1M tokens.
0 <= valuemax_output_price?numberMaximum output price in USD per 1M tokens.
0 <= valuearch?stringFilter by derived model family (GPT, Claude, Gemini, DeepSeek, Mistral, Qwen, Other).
category?stringFilter by conservative derived category. Only programming and technology are currently classifiable; other categories return no matches.
"programming""roleplay""marketing""marketing/seo""technology""science""translation""legal""finance""health""trivia""academia"min_age_days?integerMinimum age in days from lifecycle.effective_since; models without that fact do not match.
0 <= valuemax_age_days?integerMaximum age in days from lifecycle.effective_since; models without that fact do not match.
0 <= valuesort?stringSupported catalog sorts; unknown values are ignored.
Successful response
application/json- response
api?stringNative API type of the model
architecture?available*booleanWhether the platform currently offers this model. Unavailable models can still be retrieved by ID.
capability?General capability score from the Epoch Capabilities Index (Epoch AI, epoch.ai/eci, CC BY 4.0), which places models on one scale across many benchmarks even when they were evaluated on different ones. GPT-5 is anchored at 150. Credit Epoch AI wherever the score is shown. Omitted when the index does not cover the model.
context_length?integercreated*integerdescription?stringfidelity?id*stringknowledge_cutoff?stringlifecycle?limits?Public /v1/models limits projection. max_prompt_tokens and max_completion_tokens are directional limits.
managed_routing?booleanThe platform schedules this model across its providers under a routing contract. A provider named in the model string or in provider routing options is not honored; each request is charged at the price of the provider that serves it. Omitted when the caller can choose the provider.
modalities?name?stringobject*"model""model"owned_by*stringpreference?Human-preference rating from LMArena's Text Arena leaderboard (lmarena-ai/leaderboard-dataset, CC BY 4.0): an Elo-scale rating from blind pairwise votes on the overall text category. Credit LMArena wherever the rating is shown. It measures which answers people prefer, on a different scale from capability; do not merge, average or convert between the two. Where the leaderboard lists a model once per reasoning effort, the entry without an effort suffix is used, otherwise the effort with the most votes. Omitted when the leaderboard does not cover the model.
pricing?Public catalog pricing shown in Credits. price_credits is the selling price; list_price_credits is the provider's list price, omitted when the two are equal.
protocols?array<>Protocol endpoints this model can be called through. Lists what the catalog supports, not whether a given key, account or provider filter can call it right now.
providers?array<>Static hosting providers available for this model.
service*stringProduct type of the model (llm, embedding, image, video, tts, stt, rerank, ocr, …), the same value the service filter matches.
curl -X GET 'https://api.ohmygpt.com/v1/models/string/string'{ "api": "string", "architecture": { "input_modalities": [ "string" ], "modality": "string", "output_modalities": [ "string" ] }, "available": true, "capability": { "as_of": "string", "ci_high": 0, "ci_low": 0, "score": 0 }, "context_length": 0, "created": 0, "description": "string", "fidelity": { "routes": { "property1": { "lossy_fields": [ { "degradation": "string", "field": "string", "impact": "string" } ], "score": 0 }, "property2": { "lossy_fields": [ { "degradation": "string", "field": "string", "impact": "string" } ], "score": 0 } } }, "id": "string", "knowledge_cutoff": "string", "lifecycle": { "deprecated_at": "string", "status": "string", "successor": "string", "sunset_at": "string" }, "limits": { "max_completion_tokens": 0, "max_prompt_tokens": 0, "stream_idle_timeout": 0 }, "managed_routing": true, "modalities": { "input": [ "string" ], "output": [ "string" ] }, "name": "string", "object": "model", "owned_by": "string", "preference": { "as_of": "string", "rating": 0, "rating_lower": 0, "rating_upper": 0, "votes": 0 }, "pricing": { "flat": [ { "kind": "string", "list_price_credits": 0, "params": { "property1": "string", "property2": "string" }, "price_credits": 0 } ], "mode": "string", "rules": [ { "condition": { "exclude_ranges": [ { "end": "2019-08-24T14:15:22Z", "start": "2019-08-24T14:15:22Z" } ], "max_input": 0, "min_input": 0, "params": { "property1": "string", "property2": "string" }, "service_tier": "string", "time_windows": [ { "end": "string", "start": "string" } ], "usage_kind": "llm", "valid_from": "2019-08-24T14:15:22Z", "valid_until": "2019-08-24T14:15:22Z", "weekdays": [ "monday" ] }, "kind": "string", "list_price_credits": 0, "price_credits": 0 } ], "tiered": [ { "items": [ { "kind": "string", "list_price_credits": 0, "params": { "property1": "string", "property2": "string" }, "price_credits": 0 } ], "up_to": 0 } ], "variants": [ { "items": [ { "kind": "string", "list_price_credits": 0, "params": { "property1": "string", "property2": "string" }, "price_credits": 0 } ], "name": "string" } ] }, "protocols": [ { "id": "string", "label": "string", "method": "GET", "model": "string", "native": true, "path": "string", "transport": "http" } ], "providers": [ { "context": 0, "data_policy": { "moderation": "string", "retention": "string", "training": true }, "display_name": "string", "location": "string", "max_completion_tokens": 0, "max_prompt_tokens": 0, "pricing": { "flat": [ { "kind": "string", "list_price_credits": 0, "params": { "property1": "string", "property2": "string" }, "price_credits": 0 } ], "mode": "string", "rules": [ { "condition": { "exclude_ranges": [ { "end": "2019-08-24T14:15:22Z", "start": "2019-08-24T14:15:22Z" } ], "max_input": 0, "min_input": 0, "params": { "property1": "string", "property2": "string" }, "service_tier": "string", "time_windows": [ { "end": "string", "start": "string" } ], "usage_kind": "llm", "valid_from": "2019-08-24T14:15:22Z", "valid_until": "2019-08-24T14:15:22Z", "weekdays": [ "monday" ] }, "kind": "string", "list_price_credits": 0, "price_credits": 0 } ], "tiered": [ { "items": [ { "kind": "string", "list_price_credits": 0, "params": { "property1": "string", "property2": "string" }, "price_credits": 0 } ], "up_to": 0 } ], "variants": [ { "items": [ { "kind": "string", "list_price_credits": 0, "params": { "property1": "string", "property2": "string" }, "price_credits": 0 } ], "name": "string" } ] }, "provider": "string", "quantization": "string", "supports_implicit_caching": true } ], "service": "string"}Create embedding POST
Generate vector representations of text. Supports multiple embedding providers.
Get recent model availability GET
Answers whether the model works right now and when it had trouble over the last 72 hours, for the model as a whole and for each provider that served it. Counted the same way as `/v1/models/{creator}/{model}/stats`: `overall` counts every request for the model by the result the caller received, whoever chose the provider; each provider counts every upstream attempt it was sent. Only rates and minute counts are published.