Bridge by Wekoya / Docs / Coding agents

Claude Code

Updated

Claude Code runs on Bridge, paid from your naira balance, with Claude or any other Bridge model that can call tools. Bridge answers Anthropic's Messages API at POST /v1/messages, which is what Claude Code speaks, so nothing else needs installing. Point it at Bridge with two settings, choose its model with a third, and start it as usual.

macOS and Linux. The address has no /v1 on the end: Claude Code adds /v1/messages itself.

export ANTHROPIC_BASE_URL=https://wekoya-api.wekoya.tech
export ANTHROPIC_AUTH_TOKEN=wk_live_...
export ANTHROPIC_MODEL=claude-sonnet-5-5
claude

Windows (PowerShell).

$env:ANTHROPIC_BASE_URL = "https://wekoya-api.wekoya.tech"
$env:ANTHROPIC_AUTH_TOKEN = "wk_live_..."
$env:ANTHROPIC_MODEL = "claude-sonnet-5-5"
claude

For every session. Put the same settings in ~/.claude/settings.json (on Windows, %USERPROFILE%\.claude\settings.json). Keep the key out of a project's own .claude/settings.json: that file is shared with everyone who clones the repository.

{
  "env": {
    "ANTHROPIC_BASE_URL": "https://wekoya-api.wekoya.tech",
    "ANTHROPIC_AUTH_TOKEN": "wk_live_...",
    "ANTHROPIC_MODEL": "claude-sonnet-5-5",
    "ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-haiku-5-5"
  }
}

Choosing the model

What it costs

Every Claude Code request carries its own instructions and tool list, about 17,000 tokens. The first request of a session pays for them in full; after that they are read from the prompt cache at about a tenth of the input price, so a long session costs far less per step than its first one. The model you choose makes the biggest difference: see each model's price on the models page.

What works, and what does not

Anthropic's SDKs

The same endpoint works with Anthropic's own SDKs: set the base URL to Bridge and use your Bridge key. Text, streaming, tools, pictures, PDFs and thinking all work. Nothing is stored, and errors come back in Anthropic's format, with Bridge's message.

from anthropic import Anthropic

client = Anthropic(base_url="https://wekoya-api.wekoya.tech", api_key="wk_live_...")
message = client.messages.create(
    model="claude-sonnet-5-5",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Write a one-line welcome for a Lagos bakery."}],
)
print(message.content[0].text)

More: Claude Code with Bridge, Claude Code with DeepSeek and other models, the ways to pay for Claude Code in Nigeria and Claude Code vs Codex.