Retrieve Model
Gateway API
Retrieve Model
Retrieve one model by id, including its base token prices. Model ids contain a / (for example anthropic/claude-sonnet-5); pass the full id in the path.
GET
Retrieve Model
Model ids contain a
/ — pass the full id in the path, for example GET /router/v1/models/anthropic/claude-sonnet-5.Authorizations
Your Perplexity API key.
Path Parameters
The model id, e.g. anthropic/claude-sonnet-5.
Response
The model.
Public model slug, e.g. anthropic/claude-sonnet-5.
Always model.
Provider prefix of the slug, e.g. anthropic.
Base token prices in USD per 1M tokens. Every field is a price; cache_read is the effective cached-input price.