Anthropic-compatible

Set up Claude Code

Claude Code reads its endpoint from the environment. Export these before you start it.

The three values

Any ID from the models page.
Base URL
https://api.hubrium.com
API key
Your Hubrium key
Model ID
deepseek-v3.1
shell
export ANTHROPIC_BASE_URL="https://api.hubrium.com"
export ANTHROPIC_AUTH_TOKEN="$HUBRIUM_API_KEY"
export ANTHROPIC_MODEL="deepseek-v3.1"
01

Call it in one request

Point your existing client at the Hubrium base URL and pass this model ID.

cURL
curl https://api.hubrium.com/v1/chat/completions \
  -H "Authorization: Bearer $HUBRIUM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-v3.1",
    "messages": [
      {"role": "user", "content": "Explain this code."}
    ],
    "stream": true
  }'

Hubrium

One integration, every model

Use the same API key and model IDs with OpenAI- or Anthropic-compatible request formats.

Get API key