Back to Eliza

eliza models

packages/docs/cli/models.mdx

2.0.11.5 KB
Original Source

eliza models

Lists all supported model providers and whether each one is configured (has an API key or base URL set in the environment).

Supported providers

The command checks these environment variables:

VariableProvider
ANTHROPIC_API_KEYAnthropic (Claude)
OPENAI_API_KEYOpenAI (GPT)
AI_GATEWAY_API_KEYVercel AI Gateway
GOOGLE_API_KEYGoogle (Gemini)
GOOGLE_CLOUD_API_KEYGoogle (Vertex AI)
GROQ_API_KEYGroq
XAI_API_KEYxAI (Grok)
OPENROUTER_API_KEYOpenRouter
DEEPSEEK_API_KEYDeepSeek
TOGETHER_API_KEYTogether AI
MISTRAL_API_KEYMistral
COHERE_API_KEYCohere
PERPLEXITY_API_KEYPerplexity
ZAI_API_KEYZai
OLLAMA_BASE_URLOllama (local)
ELIZAOS_CLOUD_API_KEYelizaOS Cloud

Examples

bash
# List all providers and their status
eliza models

What it shows

  • Each provider plugin that is auto-enabled or manually configured
  • Whether the provider's API key is set
  • The active model selection from agents.defaults.model

Setting the default model

Edit ~/.eliza/eliza.json:

json5
{
  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