# Claude Code · Quanteex

## Claude Code

Configure a Claude Messages connection.

### Prepare your API key

Paste your Quanteex project key in place of YOUR_QUANTEEX_KEY. Use the app’s private key field or your personal configuration file. Do not put a real key in a shared project.

### Connection settings

Open this personal config file and merge the settings below with your existing entries. Replace the placeholder, save and restart the client. The default model is only the initial selection.

~/.claude/settings.json

```
{
  "env": {
    "ANTHROPIC_BASE_URL": "https://api.quanteex.com",
    "ANTHROPIC_AUTH_TOKEN": "YOUR_QUANTEEX_KEY",
    "ANTHROPIC_MODEL": "claude-sonnet-5-5",
    "ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-5-5",
    "ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-5-5",
    "ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-haiku-5-5"
  }
}
```

### Switch models

Start Claude in that shell. Use /model to switch tiers or pass a full Messages ID. The three default variables map the opus, sonnet and haiku aliases; they do not restrict you to three models.

```
/model sonnet
/model opus
```

### Check compatibility

Use a model that supports the selected API and the features your client sends. A successful connection setup does not enable unsupported tools, images or reasoning settings.

### Troubleshooting

For 401, check the key. For 402, check the available project balance and budget. For 400, check the model, API format and extra parameters. Start with the Quickstart request to separate an API problem from a client configuration problem.

### Client documentation

The linked client documentation covers installation and version-specific settings.

Make your first request with Quanteex.

Retry only when the outcome is safe to repeat.

