Sozdai Logo
Claude Code × Sozdai AI

Run Claude Code on Sozdai AI

Point Claude Code at our Anthropic-compatible API and code with real Claude — or cheaper DeepSeek / Kimi. Three env vars, no code changes.

3-step setup
No Anthropic account needed Pay-as-you-go, one balance ~2 minutes
Add to your shell profile (swap in your own key)
bash
export ANTHROPIC_BASE_URL="https://api.foxwire.ai"
export ANTHROPIC_AUTH_TOKEN="sk-corr-..."
export ANTHROPIC_API_KEY=""
export ANTHROPIC_DEFAULT_OPUS_MODEL="claude-opus-4-8"
export ANTHROPIC_DEFAULT_SONNET_MODEL="claude-sonnet-4-6"
export ANTHROPIC_DEFAULT_HAIKU_MODEL="claude-haiku-4-5"
Zero code changes

Three env vars point every request at Sozdai. Nothing else to touch.

Real Claude models

Opus 4.8, Sonnet 4.6, Haiku 4.5 — the same models, lower price.

Or go even cheaper

DeepSeek / Kimi cost a fraction and keep tool calls + thinking.

Direct access

Programmatic access to the platform, one account, one balance.

Direct vs via Sozdai

Direct AnthropicVia Sozdai
PaymentForeign card, $20–200/mo subscriptionRussian cards, pay per token in rubles
Anthropic accountRequiredNot needed
Usage limitsSubscription caps and resetsNo subscription — one balance, no expiry
ModelsClaude onlyClaude + DeepSeek, Kimi and more

Set up in 3 steps

Three steps, ~2 minutes. The only thing you type yourself is your API key.

  1. 1

    Create a Sozdai API key

    Sign up and create a key — it starts with sk-corr-. Copy the whole key now — you will paste it in step 3.

  2. 2

    Install Claude Code

    Requires Node.js 18+.

    bash
    npm install -g @anthropic-ai/claude-code
  3. 3

    Configure your OS

    Set the base URL, token and model overrides. Pick your OS:

    Important: in the config below, delete the placeholder sk-corr-... and paste YOUR key from step 1 between the quotes. Example: ANTHROPIC_AUTH_TOKEN="sk-corr-a1b2c3…" — everything else stays as is.
    bash
    export ANTHROPIC_BASE_URL="https://api.foxwire.ai"
    export ANTHROPIC_AUTH_TOKEN="sk-corr-..."
    export ANTHROPIC_API_KEY=""
    export ANTHROPIC_DEFAULT_OPUS_MODEL="claude-opus-4-8"
    export ANTHROPIC_DEFAULT_SONNET_MODEL="claude-sonnet-4-6"
    export ANTHROPIC_DEFAULT_HAIKU_MODEL="claude-haiku-4-5"
    bash
    source ~/.zshrc
    Keep ANTHROPIC_API_KEY empty — otherwise Claude Code bypasses your base URL and calls Anthropic directly.
Verify it works

Start Claude Code and run /status — the API Base URL should point at Sozdai.

bash
claude
/status

Model mapping

Claude Code has three model roles. Map each with these variables — required, or requests fail with model_not_found.

RoleEnvironment variableReal ClaudeBudget swap
OpusANTHROPIC_DEFAULT_OPUS_MODELclaude-opus-4-8deepseek-v4-pro
SonnetANTHROPIC_DEFAULT_SONNET_MODELclaude-sonnet-4-6deepseek-v4-flash
HaikuANTHROPIC_DEFAULT_HAIKU_MODELclaude-haiku-4-5kimi-k2.6
Cheaper setup — swap the three model lines
bash
export ANTHROPIC_DEFAULT_OPUS_MODEL="deepseek-v4-pro"
export ANTHROPIC_DEFAULT_SONNET_MODEL="deepseek-v4-flash"
export ANTHROPIC_DEFAULT_HAIKU_MODEL="kimi-k2.6"

Mix freely — keep Opus on real Claude, make Sonnet/Haiku cheaper, whatever fits. Compare prices on the Models page.

All models on the Claude endpoint

Every model id below works in the ANTHROPIC_DEFAULT_*_MODEL variables — not just Claude.

Claude
claude-opus-5claude-opus-4-8claude-opus-4-7claude-opus-4-6claude-sonnet-5claude-sonnet-4-6claude-haiku-4-5
GPT
gpt-5.6-lunagpt-5.6-terragpt-5.6-sol
Gemini
gemini-3.7-flashgemini-3.6-flashgemini-3.5-flashgemini-3.5-flash-litegemini-3.1-pro
DeepSeek
deepseek-v4-prodeepseek-v4-flash
Grok
grok-4.6grok-4.5
Kimi
kimi-k3kimi-k2.6
Qwen
qwen3.8-maxqwen3-coder-next
GLM
glm-5.3glm-5.3-flashglm-5.2

Prices and context windows: Models page.

FAQ

Do I need an Anthropic account?

No. You only need a Sozdai account and an API key — requests are served by Sozdai and billed to your Sozdai balance.

Can I pay with a Russian card?

Yes — top up your Sozdai balance and pay per token. No subscription.

Does this work from Russia?

Yes — Sozdai provides direct programmatic access to the platform; no Anthropic account or foreign card required.

How is this different from a Claude Pro/Max subscription?

A subscription is a fixed monthly fee with usage caps. Here you pay only for tokens you actually use — heavy weeks cost more, idle weeks cost nothing.

Why must ANTHROPIC_API_KEY be empty?

If it is set, Claude Code sends requests straight to Anthropic and ignores your base URL. Always set it to an empty string.

Can I use non-Claude models?

Yes — 26 models work on the Claude endpoint: DeepSeek, Kimi, Gemini, GPT, Grok, Qwen and GLM, with tool calls and thinking. Full list in the “All models” section above.

Full walkthrough and troubleshooting: Claude Code docs

Start coding in 2 minutes

Create a key, paste the config, run Claude Code. Pay only for what you use.