Wiozen API

How do I use the Wiozen API with Claude Code?

Point Claude Code to Wiozen with four environment variables.

In short: Set ANTHROPIC_BASE_URL to https://api.wiozen.com, ANTHROPIC_AUTH_TOKEN to your Wiozen key, and both ANTHROPIC_MODEL and ANTHROPIC_DEFAULT_HAIKU_MODEL to wiozen-coder, then run the claude command.

Requirements

  • A Wiozen API key (sk-gw-…). Sign-up is free; new accounts get trial credit.
  • An installed Claude Code (terminal agent).

Steps

  1. In your terminal, set the four variables below (add them to your shell profile to make them persistent).
  2. Run the claude command.
  3. The model is wiozen-coder; Claude Code currently works only with this model.
terminal
export ANTHROPIC_BASE_URL=https://api.wiozen.com
export ANTHROPIC_AUTH_TOKEN=sk-gw-YOUR_KEY
export ANTHROPIC_MODEL=wiozen-coder
export ANTHROPIC_DEFAULT_HAIKU_MODEL=wiozen-coder

Things to know

  • In Windows PowerShell, use $env:ANTHROPIC_BASE_URL = "…" instead of export.

Which model name should I enter?

Only the names on the models page are accepted. Prices per 1 million tokens are listed there too. Any other model name returns 400.

Related guides

Other guides: Cline · Roo Code · Kilo Code · Cursor · Continue · Hermes Agent · OpenCode · Aider · Qwen Code · Open WebUI · LibreChat · AI Engine