Models
List models
Lists the currently available models. Use view=compact for model selection and view=full for the existing OpenAI-compatible discovery shape. Native API calls default to full; integrations may choose compact as their default. Non-chat recommendations are available through recommended_for.
get/v1/models
Request
- Base URL: https://api.tokenlab.sh
- URL: https://api.tokenlab.sh/v1/models
- Auth: HTTP bearer
Query parameters
providerstring
Filter by public model provider, for example openai, anthropic, google, or minimax.
tagstring
Filter by a public capability tag.
category'chat' | 'embedding' | 'translation' | 'image' | 'video' | 'audio' | 'tts' | 'stt' | 'rerank' | '3d' | 'music' | 'decision'
Filter by model category.
recommended_for'image' | 'video' | 'music' | '3d' | 'tts' | 'stt' | 'embedding' | 'rerank' | 'translation' | 'decision'
Sort supported non-chat models for a task category and include recommendation evidence.
view'compact' | 'full'
Choose compact model-selection fields or the full OpenAI-compatible list shape.
Response
List of models
Example response
{
"data": [
{
"id": "gpt-4o",
"owned_by": "openai"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.