Coding tools

Claude Code

Claude Code talks to any Anthropic-compatible endpoint. Two environment variables point it at Vioneer, and every token it spends is billed from your Vioneer credit at the rates on the Claude price list.

Point Claude Code at the gateway

shell
# Claude Code, pointed at vioneer.xyz
export ANTHROPIC_BASE_URL="https://vioneer.xyz/api"
export ANTHROPIC_AUTH_TOKEN="$VIONEER_API_KEY"

claude

That is the whole set-up. ANTHROPIC_AUTH_TOKEN is sent as a bearer token, which the gateway accepts as your key.

Keep it in settings.json

To set it once for every session, put the same values in the env block of ~/.claude/settings.json:

~/.claude/settings.json
{
  "env": {
    "ANTHROPIC_BASE_URL": "https://vioneer.xyz/api",
    "ANTHROPIC_AUTH_TOKEN": "your Vioneer key",
    "ANTHROPIC_MODEL": "claude-sonnet-5-5"
  }
}

Choose the model

Name any Claude model from the price list with ANTHROPIC_MODEL, or switch inside a session with /model. The aliases Claude Code uses for its own choices can be mapped to catalogue ids too:

shell
export ANTHROPIC_DEFAULT_OPUS_MODEL="claude-opus-5-5"
export ANTHROPIC_DEFAULT_SONNET_MODEL="claude-sonnet-5-5"
export ANTHROPIC_DEFAULT_HAIKU_MODEL="claude-haiku-5-5"

Keep an eye on cost

Agents send a lot of context. Give Claude Code a key of its own with a budget, and the key stops at that amount however long a session runs. The activity log shows each request’s tokens and cost as it lands. Budgets and limits

If something does not work

  • 401: the key is wrong, revoked or missing. Keys are shown once, when you create them; make a new one in the dashboard if in doubt.
  • 402: the account is out of credit. Top up and the next request goes through.
  • 403: the key is not allowed that model. Check its model allowlist under Keys.
  • 404 on a model: the id is not in the catalogue. Copy it from the price list.
  • 429: a rate or concurrency limit was hit. Wait for the retry-after seconds, or raise the key’s limit.
  • Claude Code still asks you to log in: check that ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN are set in the shell that starts it, or in settings.json.

Every request, failed ones included, is listed in the dashboard’s activity log with its status and cost.