Skip to main content
GET
List Models
List the AI models available to the authenticated user. The response mirrors the model choices available to that user in Alai and marks the default model with default: true. Pass a returned id in the model object of a generate or edit request. If model is omitted, Alai uses the current default. Version 1 supports fallback_policy: "deny": Alai fails the operation instead of silently switching away from your selected model.
Model availability can differ by account and may change over time. Discover models at runtime instead of hard-coding the full model list.

Authorizations

Authorization
string
header
required

Your Alai API key. Get one from your account settings at app.getalai.com

Response

200 - application/json

Successful Response

id
enum<string>
required

Selectable primary model for the modern deck and design system agents.

Values are OpenRouter model IDs (see OpenRouterModels in ai_models/model_list.py).

Available options:
openai/gpt-5.6-sol,
openai/gpt-5.6-terra,
anthropic/claude-opus-4.8,
anthropic/claude-sonnet-5,
anthropic/claude-sonnet-4-6,
anthropic/claude-haiku-4-5,
google/gemini-3.1-pro-preview,
moonshotai/kimi-k2.6,
z-ai/glm-5.2,
anthropic/claude-opus-4.8-fast,
anthropic/claude-fable-5
label
string
required
internal_only
boolean
default:false
default
boolean
default:false