Providers

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 VariableProvider
HYPER_API_KEYCharm Hyper
ANTHROPIC_API_KEYAnthropic
OPENAI_API_KEYOpenAI
VERCEL_API_KEYVercel AI Gateway
GEMINI_API_KEYGoogle Gemini
ZAI_API_KEYZ.ai
MINIMAX_API_KEYMiniMax
SYNTHETIC_API_KEYSynthetic
HF_TOKENHugging Face Inference
CEREBRAS_API_KEYCerebras
OPENROUTER_API_KEYOpenRouter
IONET_API_KEYio.net
ALIBABA_SINGAPORE_API_KEYAlibaba (Singapore)
ALIBABA_US_API_KEYAlibaba (United States)
GROQ_API_KEYGroq
AVIAN_API_KEYAvian
OPENCODE_API_KEYOpenCode Zen & Go
VERTEXAI_PROJECTGoogle Cloud VertexAI (Gemini)
VERTEXAI_LOCATIONGoogle Cloud VertexAI (Gemini)
AWS_ACCESS_KEY_IDAmazon Bedrock (Claude)
AWS_SECRET_ACCESS_KEYAmazon Bedrock (Claude)
AWS_REGIONAmazon Bedrock (Claude)
AWS_PROFILEAmazon Bedrock (Custom Profile)
AWS_BEARER_TOKEN_BEDROCKAmazon Bedrock
AZURE_OPENAI_API_ENDPOINTAzure OpenAI models
AZURE_OPENAI_API_KEYAzure OpenAI models (optional when using Entra ID)
AZURE_OPENAI_API_VERSIONAzure OpenAI models
MOONSHOT_API_KEYMoonshot
XAI_API_KEYxAI

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.

Catwalk Badge

Read this post in your terminal with glow:glow -p https://crush.charm.land/providers/index.md

EOF