Skip to main content
The Python SDK and docs are currently in beta. Report issues on GitHub.
Information about an AI model available on OpenRouter

Fields

FieldTypeRequiredDescriptionExample
idstr:heavy_check_mark:Unique identifier for the modelopenai/gpt-4
canonical_slugstr:heavy_check_mark:Canonical slug for the modelopenai/gpt-4
hugging_face_idOptionalNullable[str]:heavy_minus_sign:Hugging Face model identifier, if applicablemicrosoft/DialoGPT-medium
namestr:heavy_check_mark:Display name of the modelGPT-4
createdfloat:heavy_check_mark:Unix timestamp of when the model was created1692901234
descriptionOptional[str]:heavy_minus_sign:Description of the modelGPT-4 is a large multimodal model that can solve difficult problems with greater accuracy.
pricingcomponents.PublicPricing:heavy_check_mark:Pricing information for the model{"prompt": "0.00003","completion": "0.00006","request": "0","image": "0"}
context_lengthNullable[float]:heavy_check_mark:Maximum context length in tokens8192
architecturecomponents.ModelArchitecture:heavy_check_mark:Model architecture information{"tokenizer": "GPT","instruct_type": "chatml","modality": "text-\u003etext","input_modalities": ["text"],"output_modalities": ["text"]}
top_providercomponents.TopProviderInfo:heavy_check_mark:Information about the top provider for this model{"context_length": 8192,"max_completion_tokens": 4096,"is_moderated": true}
per_request_limitsNullable[components.PerRequestLimits]:heavy_check_mark:Per-request token limits{"prompt_tokens": 1000,"completion_tokens": 1000}
supported_parametersList[components.Parameter]:heavy_check_mark:List of supported parameters for this model
default_parametersNullable[components.DefaultParameters]:heavy_check_mark:Default parameters for this model{"temperature": 0.7,"top_p": 0.9,"frequency_penalty": 0}
expiration_dateOptionalNullable[str]:heavy_minus_sign:The date after which the model may be removed. ISO 8601 date string (YYYY-MM-DD) or null if no expiration.2025-06-01