Get a model by its slug

Returns full details for a single model identified by its author and slug (e.g. openai/gpt-4). Supports variant suffixes (e.g. openai/gpt-4:free) and resolves known slug aliases.

Authentication

AuthorizationBearer
API key as bearer token in Authorization header

Path parameters

authorstringRequired

The author/organization of the model

slugstringRequired

The model slug, optionally including a variant suffix (e.g. gpt-4 or gpt-4:free)

Response

Returns the model details
dataobject
Information about an AI model available on OpenRouter

Errors

404
Not Found Error
500
Internal Server Error