<!-- Generated from public website sources; do not edit this file. -->

> DSSUB design reference. Account, payments and API are not connected; prices, policies and setup examples require independent launch verification.

# Claude Code
Prepare a Messages-compatible provider and explicit model defaults.

## Current availability
DSSUB is a design preview. These are complete configuration references, not a live connection: `api.dssub.invalid` is intentionally non-routable. No real account, key, payment or inference service is connected. Replace the endpoint and use an authorized key only after DSSUB publishes verified connection details. Client versions and live tool compatibility remain unverified.

## Install and check your version
Use the [official setup guide](https://code.claude.com/docs/en/setup), then run `claude --version`. The intended Anthropic base is the origin without `/v1`; the client adds `/v1/messages`.

## Prepare authentication
Set `ANTHROPIC_AUTH_TOKEN` to your authorized key when the service becomes available. Keep the key out of the settings download.

### macOS or Linux
```sh
export ANTHROPIC_AUTH_TOKEN="YOUR_DSSUB_API_KEY"
```

### Windows PowerShell
```powershell
$env:ANTHROPIC_AUTH_TOKEN = "YOUR_DSSUB_API_KEY"
```

## Save settings
Save the downloaded file as `settings.json` in a separate DSSUB configuration directory, for example `~/.config/dssub/claude`. This keeps the test provider separate from your usual Claude settings.

```json
{
  "env": {
    "ANTHROPIC_BASE_URL": "https://api.dssub.invalid",
    "ANTHROPIC_MODEL": "deepseek-flash",
    "ANTHROPIC_DEFAULT_OPUS_MODEL": "deepseek-v4-pro",
    "ANTHROPIC_DEFAULT_SONNET_MODEL": "deepseek-flash",
    "ANTHROPIC_DEFAULT_HAIKU_MODEL": "deepseek-flash",
    "CLAUDE_CODE_SUBAGENT_MODEL": "deepseek-flash"
  }
}
```

## Start Claude Code
### macOS or Linux
```sh
CLAUDE_CONFIG_DIR="$HOME/.config/dssub/claude" claude --model deepseek-flash
```

### Windows PowerShell
```powershell
$env:CLAUDE_CONFIG_DIR = "$env:USERPROFILE/.config/dssub/claude"
claude --model deepseek-flash
```

## Switch models
Use `/model deepseek-v4-pro` or `/model deepseek-flash` in the session. The settings map the usual model defaults to these preview IDs; they do not grant access to Anthropic models. Review auxiliary and subagent model choices before a real test.

## Choose reasoning effort
Claude Code exposes `/effort` for supported models. DSSUB has no verified Messages reasoning mapping yet. Keep the provider default and do not force adaptive thinking or unsupported levels. When a verified mapping is published, use `/effort` and confirm the effective model and effort in the client.

## Verify your first request
After a live connection is published, start a new session in a small test project. First ask for a short text reply. Then ask the tool to read README.md and summarize it without modifying files. Confirm the selected provider and model, then match the request in [Usage](/account/usage). Check tool results, streaming completion and billed tokens separately. The current sample dashboard cannot verify a real request.

## Troubleshoot and restore
A DNS failure for `api.dssub.invalid` is expected in this preview. For a real connection, check the exact endpoint, API format, model ID and credential. A 401 concerns authentication; a 404 may concern a path or model; a 429 may concern a quota or rate limit. See [troubleshooting](/docs/error-codes/index.md).

Back up configuration before editing, merge only DSSUB fields, and retain your existing providers and permissions. To revert, select your previous provider and restore only the fields you changed. Stop and restart the tool after changing its startup environment.

## Reference
See [Claude Code model configuration](https://code.claude.com/docs/en/model-config), reviewed November 16, 2026.

---

HTML source: [Claude Code — dssub Tutorials](/docs/claude-code/)
