Skip to content

Crush

Crush is a terminal coding agent from Charm. Add Inferray as an OpenAI-compatible provider.

Install

npm install -g @charmland/crush

Add the provider

Export your key:

export INFERRAY_API_KEY="inferray_..."

Then add the provider to crush.json in your project, or ~/.config/crush/crush.json for every project:

{
  "$schema": "https://charm.land/crush.json",
  "providers": {
    "inferray": {
      "name": "Inferray",
      "type": "openai",
      "base_url": "https://api.inferray.com/v1",
      "api_key": "$INFERRAY_API_KEY"
    }
  }
}

$INFERRAY_API_KEY is read from the environment, so the file is safe to commit. Without a models list, Crush loads the models from GET /v1/models.

Use it

cd your-project
crush

Pick Inferray and a model with tool support. Restart Crush after editing the config.

Models that work well here