Charm Bracelet

Before you start

The quickest way to get started is to grab an API key for your preferred provider such as Anthropic, OpenAI, Groq, or OpenRouter and just start Crush. You'll be prompted to enter your API key.

Setting your env variables

That said, you can also set environment variables for preferred providers.

Environment VariableProvider
ANTHROPIC_API_KEYAnthropic
OPENAI_API_KEYOpenAI
OPENROUTER_API_KEYOpenRouter
GEMINI_API_KEYGoogle Gemini
VERTEXAI_PROJECTGoogle Cloud VertexAI (Gemini)
VERTEXAI_LOCATIONGoogle Cloud VertexAI (Gemini)
GROQ_API_KEYGroq
AWS_ACCESS_KEY_IDAWS Bedrock (Claude)
AWS_SECRET_ACCESS_KEYAWS Bedrock (Claude)
AWS_REGIONAWS Bedrock (Claude)
AZURE_OPENAI_ENDPOINTAzure OpenAI models
AZURE_OPENAI_API_KEYAzure OpenAI models (optional when using Entra ID)
AZURE_OPENAI_API_VERSIONAzure OpenAI models

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, an community-supported, open source repository of Crush-compatible models, and you’re welcome to contribute.

Catwalk Badge

How is this guide?