Crush

Crush

Configure AnyRouter in Crush.

1. Install Crush

bash31 B
npm install -g @charmland/crush

2. Connect AnyRouter

Edit the config file (Linux/Mac: ~/.config/crush/crush.json, Windows: %USERPROFILE%\\.config\\crush\\crush.json).

json772 B
{    "$schema": "https://charm.land/crush.json",    "providers": {        "openai": {            "type": "openai-compat",            "base_url": "https://ai.cloudtay.com",            "api_key": "$ANYROUTER_API_KEY",            "models": [                {                    "id": "gpt-5.5",                    "name": "gpt-5.5",                    "context_window": 1048576,                    "default_max_tokens": 32768,                    "can_reason": true                },                {                    "id": "gpt-5.5",                    "name": "gpt-5.5",                    "context_window": 1048576,                    "default_max_tokens": 32768,                    "can_reason": true                }            ]        }    }}

Set the environment variable:

bash51 B
export ANYROUTER_API_KEY="<your AnyRouter API Key>"

Windows

powershell49 B
$env:ANYROUTER_API_KEY="<your AnyRouter API Key>"

3. Run and choose a model

bash28 B
cd /path/to/my-projectcrush

In the model switcher, choose gpt-5.5 or gpt-5.5.