packages/docs/cli/models.mdx
eliza modelsLists all supported model providers and whether each one is configured (has an API key or base URL set in the environment).
The command checks these environment variables:
| Variable | Provider |
|---|---|
ANTHROPIC_API_KEY | Anthropic (Claude) |
OPENAI_API_KEY | OpenAI (GPT) |
AI_GATEWAY_API_KEY | Vercel AI Gateway |
GOOGLE_API_KEY | Google (Gemini) |
GOOGLE_CLOUD_API_KEY | Google (Vertex AI) |
GROQ_API_KEY | Groq |
XAI_API_KEY | xAI (Grok) |
OPENROUTER_API_KEY | OpenRouter |
DEEPSEEK_API_KEY | DeepSeek |
TOGETHER_API_KEY | Together AI |
MISTRAL_API_KEY | Mistral |
COHERE_API_KEY | Cohere |
PERPLEXITY_API_KEY | Perplexity |
ZAI_API_KEY | Zai |
OLLAMA_BASE_URL | Ollama (local) |
ELIZAOS_CLOUD_API_KEY | elizaOS Cloud |
# List all providers and their status
eliza models
agents.defaults.modelEdit ~/.eliza/eliza.json:
{
agents: {
defaults: {
model: {
primary: "anthropic/claude-sonnet-4.6",
fallbacks: ["openai/gpt-4o"],
},
},
},
}
Or switch mid-session using the /model chat command:
/model openai/gpt-4o