Bridge by Wekoya / Guides / How to use Claude Code with Bridge
How to use Claude Code with Bridge
In short: Set ANTHROPIC_BASE_URL=https://wekoya-api.wekoya.tech and ANTHROPIC_AUTH_TOKEN to your Bridge key, then run claude. Claude Code then runs on your naira balance with Claude Opus, Sonnet or Haiku, or any Bridge model that can call tools. Set ANTHROPIC_MODEL=claude-sonnet-5-5 for everyday work: the default, Opus, costs the most.
Updated · Other companies' prices checked , rechecked every 90 days
Set it up
- Create a free account with your email.
- Open Billing in the console and top up your naira balance by bank transfer to your own account number.
- Create a key under API keys. It starts with
wk_live_and is shown once, so keep it somewhere safe. - Install Claude Code if you have not yet:
curl -fsSL https://claude.ai/install.sh | bashon macOS or Linux, orirm https://claude.ai/install.ps1 | iexin Windows PowerShell (from Claude Code's setup page). - Set these, then start Claude Code. The address has no
/v1on the end: Claude Code adds/v1/messagesitself.
export ANTHROPIC_BASE_URL=https://wekoya-api.wekoya.tech
export ANTHROPIC_AUTH_TOKEN=wk_live_...
export ANTHROPIC_MODEL=claude-sonnet-5-5
claudeOn Windows, in PowerShell:
$env:ANTHROPIC_BASE_URL = "https://wekoya-api.wekoya.tech"
$env:ANTHROPIC_AUTH_TOKEN = "wk_live_..."
$env:ANTHROPIC_MODEL = "claude-sonnet-5-5"
claudeTo keep them for every session, put the same values in the env block of ~/.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"
}
}If Claude Code was signed in to a Claude account before and still uses it, run /logout in Claude Code once, then start it again.
Which model to use
claude-sonnet-5-5for everyday work: about half the price of Opus.claude-opus-5-5for the hardest problems. Claude Code uses it unless you setANTHROPIC_MODEL.claude-haiku-5-5for quick jobs, and for Claude Code's background work (titles, summaries), set withANTHROPIC_DEFAULT_HAIKU_MODEL.- Any other Bridge model with tool calling, such as
deepseek-v4.1-flash, at a fraction of the price: see Claude Code with DeepSeek and other models. - Switch during a session with
/model. To see Bridge's Claude models in its picker, also setCLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY=1.
| Model | Input / 1M | Output / 1M | Context |
|---|---|---|---|
| Claude Opus 5.5 | ₦6,292 | ₦31,460 | 1,000,000 |
| Claude Sonnet 5.5 | ₦3,146 | ₦15,730 | 1,000,000 |
| Claude Haiku 5.5 | ₦157 | ₦787 | 1,000,000 |
| DeepSeek V4.1 Flash 1017 | ₦182 | ₦547 | 1,048,576 |
What a session costs
Claude Code sends its own instructions and tool list, about 17,000 tokens, with every request. The first request of a session pays for them in full; after that they come from the prompt cache at about a tenth of the price, so each later step costs far less than the first.
In our test on 2 December 2026, Claude Code read a file, fixed a bug, wrote a test and ran it in three requests for ₦231 on Claude Opus 5.5, ₦207 of it the first request. A similar fix on DeepSeek V4.1 Flash took five requests and cost ₦2.59. Prices change; the table above is today's.
What works
- Reading and editing files, running commands, subagents, pictures, thinking, web search and web fetch.
- Web search runs on Bridge's search and is billed per search.
- Not available: features tied to a claude.ai subscription, such as Remote Control, and Anthropic's code execution tool.
If something goes wrong
| Claude Code says | What it means | What to do |
|---|---|---|
| 404 or not found | The address points somewhere other than the API | Set ANTHROPIC_BASE_URL to https://wekoya-api.wekoya.tech, not the website's address |
| 401 invalid credentials | The key is wrong, cut short or revoked | Copy the whole key again from API keys in the console |
| 402 Your balance is too low | The balance cannot cover the next request | Top up by bank transfer, then carry on; the session is kept |
| prompt is too long | The conversation no longer fits the model | Claude Code compacts it on its own; or run /compact or /clear |
Use Codex too
The same Bridge key and naira balance also run OpenAI's Codex: add Bridge as a provider in ~/.codex/config.toml, put your key in WEKOYA_API_KEY and run codex, with GPT, Claude or any model that calls tools. Codex with Bridge has the block to paste, and Claude Code vs Codex helps you choose between them.
Common questions
Can I use Claude Code without a Claude subscription?
Yes. With Bridge, Claude Code runs on a Bridge key and is paid per request from a naira balance, so no Claude plan is needed. Set ANTHROPIC_BASE_URL to https://wekoya-api.wekoya.tech and ANTHROPIC_AUTH_TOKEN to your Bridge key.
Can I use Claude Code without a dollar card?
Yes. Top up your Bridge balance by bank transfer to your own account number, in naira, and Claude Code is paid from it. No card is needed.
Which model should I use in Claude Code?
claude-sonnet-5-5 for everyday work, claude-haiku-5-5 for quick jobs and claude-opus-5-5 for the hardest problems. Claude Code starts on Opus, the most expensive, unless you set ANTHROPIC_MODEL.
Does Claude Code with Bridge work on Windows?
Yes. Set the same values in PowerShell with $env:ANTHROPIC_BASE_URL and $env:ANTHROPIC_AUTH_TOKEN, or in %USERPROFILE%\.claude\settings.json, then run claude.
Can I use Codex with the same Bridge key?
Yes. Codex runs on the same key and naira balance: add Bridge as a provider in ~/.codex/config.toml with base_url https://wekoya-api.wekoya.tech/v1 and wire_api responses, then run codex. The Codex guide has the full block.
Does Bridge keep my code?
No. Bridge does not store prompts or replies: it passes each request to the model and keeps only the token counts and cost for billing.