Crush works with many providers such as Anthropic, OpenAI, Gemini, OpenRouter and so on.
Crush works with many providers such as Anthropic, OpenAI, Gemini, OpenRouter and so on. Press ctrl+l to open the model picker, choose the provider of your choice, and paste your API key.
That said, you can also set environment variables for preferred providers:
| Environment Variable | Provider |
|---|---|
HYPER_API_KEY | Charm Hyper |
ANTHROPIC_API_KEY | Anthropic |
OPENAI_API_KEY | OpenAI |
VERCEL_API_KEY | Vercel AI Gateway |
GEMINI_API_KEY | Google Gemini |
ZAI_API_KEY | Z.ai |
MINIMAX_API_KEY | MiniMax |
SYNTHETIC_API_KEY | Synthetic |
HF_TOKEN | Hugging Face Inference |
CEREBRAS_API_KEY | Cerebras |
OPENROUTER_API_KEY | OpenRouter |
IONET_API_KEY | io.net |
ALIBABA_SINGAPORE_API_KEY | Alibaba (Singapore) |
ALIBABA_US_API_KEY | Alibaba (United States) |
GROQ_API_KEY | Groq |
AVIAN_API_KEY | Avian |
OPENCODE_API_KEY | OpenCode Zen & Go |
VERTEXAI_PROJECT | Google Cloud VertexAI (Gemini) |
VERTEXAI_LOCATION | Google Cloud VertexAI (Gemini) |
AWS_ACCESS_KEY_ID | Amazon Bedrock (Claude) |
AWS_SECRET_ACCESS_KEY | Amazon Bedrock (Claude) |
AWS_REGION | Amazon Bedrock (Claude) |
AWS_PROFILE | Amazon Bedrock (Custom Profile) |
AWS_BEARER_TOKEN_BEDROCK | Amazon Bedrock |
AZURE_OPENAI_API_ENDPOINT | Azure OpenAI models |
AZURE_OPENAI_API_KEY | Azure OpenAI models (optional when using Entra ID) |
AZURE_OPENAI_API_VERSION | Azure OpenAI models |
MOONSHOT_API_KEY | Moonshot |
XAI_API_KEY | xAI |
Also note that Crush can support nearly any provider, including Local Models. For more info see Custom Providers.
By the Way
Is there a provider you'd like to see in Crush? Is there an existing model that needs an update?
Crush's default model listing is managed in Catwalk, a community-supported, open source repository of Crush-compatible models, and you're welcome to contribute.
Read this post in your terminal with glow:glow -p https://crush.charm.land/providers/index.md
