Docs · Coding agents

# Crush

Use Whiskers from Crush.

There are two ways to set up Crush:

-   Automatic (setup script) Recommended One command writes Crush's config and saves your key.
-   Manual (edit the configuration yourself) Copy each file into place and put your key in your environment.

## Automatic (setup script)

Recommended

The setup script does the manual steps for you: it checks your key, writes Crush's config, keeping what's already in the file, and saves the key in your environment. Run it again to pick up new models, change the key, or undo the setup.

Linux, macOS, WSL 

```
curl -fsSL https://whiskers.nyuu.dev/setup.sh | sh -s -- --agents crush
```

Windows PowerShell 

```
& ([scriptblock]::Create((irm https://whiskers.nyuu.dev/setup.ps1))) -Agents crush
```

Faster still: create a key on the [Keys page](https://whiskers.nyuu.dev/keys) and choose Crush there. You get this command with everything filled in, key included, so there's nothing to answer.

## Manual (edit the configuration yourself)

1.  1
    
    ### Put your API key in an environment variable
    
    Add this to your shell profile (~/.zshrc, ~/.bashrc), with your key from the Keys page.
    
    ~/.zshrc 
    
    ```
    export WHISKERS_API_KEY=sk-...
    ```
    
2.  2
    
    ### Add Whiskers to your crushrc
    
    Append this to ~/.config/crush/crushrc. With discovery on, Crush also picks up models added later from GET /v1/models.
    
    More models
    
    Each of these is a setting Crush already has, shown by its own name. Leave one as it is and it keeps its default.
    
    `large` The large model, which does the coding. 
    
    `small` The small model, for light work such as naming sessions. 
    
    ~/.config/crush/crushrc 
    
    ```
    provider add whiskers --type openai-compat \
      --name Whiskers \
      --base-url https://whiskers.nyuu.dev/v1 \
      --api-key "$WHISKERS_API_KEY" \
      --discover-models true
    
    model add whiskers/deepseek-v4.1-flash \
      --name deepseek-v4.1-flash \
      --context-window 1000000 \
      --default-max-tokens 131000 \
      --can-reason true \
      --supports-images true
    
    model add whiskers/deepseek-v4.1-flash-abliterated \
      --name deepseek-v4.1-flash-abliterated \
      --context-window 1000000 \
      --default-max-tokens 128000 \
      --can-reason true \
      --supports-images true
    
    model add whiskers/deepseek-v4.1-flash-ultrafast \
      --name deepseek-v4.1-flash-ultrafast \
      --context-window 1000000 \
      --default-max-tokens 131000 \
      --can-reason true \
      --supports-images true
    
    model add whiskers/glm-5.3 \
      --name glm-5.3 \
      --context-window 1000000 \
      --default-max-tokens 131000 \
      --can-reason true \
      --supports-images false
    
    model add whiskers/glm-5.3-abliterated \
      --name glm-5.3-abliterated \
      --context-window 1000000 \
      --default-max-tokens 128000 \
      --can-reason true \
      --supports-images false
    
    model add whiskers/glm-5.3-flash \
      --name glm-5.3-flash \
      --context-window 1000000 \
      --default-max-tokens 131000 \
      --can-reason true \
      --supports-images true
    
    model add whiskers/glm-5.3-flash-abliterated \
      --name glm-5.3-flash-abliterated \
      --context-window 1000000 \
      --default-max-tokens 128000 \
      --can-reason true \
      --supports-images true
    
    model add whiskers/glm-5.3-flash-ultrafast \
      --name glm-5.3-flash-ultrafast \
      --context-window 1000000 \
      --default-max-tokens 131000 \
      --can-reason true \
      --supports-images true
    
    model add whiskers/kimi-k3 \
      --name kimi-k3 \
      --context-window 1000000 \
      --default-max-tokens 131000 \
      --can-reason true \
      --supports-images true
    
    model add whiskers/kimi-k3.1-pro \
      --name kimi-k3.1-pro \
      --context-window 1000000 \
      --default-max-tokens 131000 \
      --can-reason true \
      --supports-images true
    
    model add whiskers/kimi-k3.1-pro-abliterated \
      --name kimi-k3.1-pro-abliterated \
      --context-window 1000000 \
      --default-max-tokens 128000 \
      --can-reason true \
      --supports-images true
    
    model add whiskers/qwen3.8-27b \
      --name qwen3.8-27b \
      --context-window 1000000 \
      --default-max-tokens 131000 \
      --can-reason true \
      --supports-images true
    
    model add whiskers/qwen3.8-flash \
      --name qwen3.8-flash \
      --context-window 982000 \
      --default-max-tokens 131000 \
      --can-reason true \
      --supports-images true
    
    model add whiskers/qwen3.8-omni-flash \
      --name qwen3.8-omni-flash \
      --context-window 1000000 \
      --default-max-tokens 128000 \
      --can-reason true \
      --supports-images true
    ```
    
3.  3
    
    ### Start it
    
    Run crush and choose a model under Whiskers.
    
    shell 
    
    ```
    crush
    ```
    

The config lists today's models. When new ones appear on Models and pricing, copy it again.
