Crush
Crush is a terminal-based AI coding assistant by Charmbracelet. It supports multiple LLM providers, LSP integration, MCP servers, and session-based context management. You can configure it to use AI Gateway for unified model access and spend monitoring.
Go to the AI Gateway tab of the Vercel dashboard and click API Keys to create a new API Key.
Choose your preferred installation method:
Terminalbrew install charmbracelet/tap/crushTerminalnpm install -g @charmland/crushTerminalgo install github.com/charmbracelet/crush@latestSee the Crush installation guide for additional installation options including Windows, Debian/Ubuntu, and Fedora/RHEL.
Start Crush:
TerminalcrushWhen prompted:
- Select Provider: Choose Vercel AI Gateway
- Select Model: Pick from AI Gateway's model library
- Enter API Key: Paste your AI Gateway API Key when prompted
Crush saves your API Key to
~/.local/share/crush/crush.json, so you only need to enter it once.Your requests will now be routed through AI Gateway. You can verify this by checking your AI Gateway Overview in the Vercel dashboard.
View your usage, spend, and request activity in the AI Gateway tab of the Vercel dashboard. See the observability documentation for more details.
Was this helpful?