Bridge by Wekoya / Guides / How to use Claude Code with DeepSeek and other models
How to use Claude Code with DeepSeek and other models
In short: Point Claude Code at Bridge with ANTHROPIC_BASE_URL=https://wekoya-api.wekoya.tech and your Bridge key, then set ANTHROPIC_MODEL to any Bridge model with tool calling, such as deepseek-v4.1-flash, gpt-5.6-terra, gemini-3.8-flash or kimi-k3.1. Claude Code works as usual, billed in naira at that model's price.
Updated
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. - Set these, then start Claude Code:
export ANTHROPIC_BASE_URL=https://wekoya-api.wekoya.tech
export ANTHROPIC_AUTH_TOKEN=wk_live_...
export ANTHROPIC_MODEL=deepseek-v4.1-flash
export ANTHROPIC_DEFAULT_HAIKU_MODEL=deepseek-v4.1-flash
claudeANTHROPIC_MODEL is the main model. ANTHROPIC_DEFAULT_HAIKU_MODEL is the one Claude Code uses for background work such as titles and summaries, and CLAUDE_CODE_SUBAGENT_MODEL sets the model for subagents. On Windows, set each in PowerShell as $env:NAME = "value". Switch models during a session with /model deepseek-v4.1-flash.
Tell Claude Code the context window
For a model it does not know, Claude Code assumes a context window of 1,000,000 tokens. If the model's window is smaller (it is on each model's page on the models page), set CLAUDE_CODE_MAX_CONTEXT_TOKENS to it, so Claude Code compacts the conversation before it stops fitting. For example, kimi-k2.6 takes 262,144 tokens.
What they cost
| Model | Input / 1M | Output / 1M | Context |
|---|---|---|---|
| DeepSeek V4.1 Flash 1017 | ₦182 | ₦547 | 1,048,576 |
| GLM-5.3-Flash | ₦279 | ₦930 | 1,048,576 |
| Gemini 3.8 Flash | ₦1,180 | ₦5,899 | 1,048,576 |
| Kimi K3.1 Pro Highspeed | ₦7,436 | ₦37,180 | 1,048,576 |
| GPT-5.6 Terra | ₦3,461 | ₦20,764 | 1,050,000 |
| Claude Sonnet 5.5 | ₦3,146 | ₦15,730 | 1,000,000 |
In our test on 2 December 2026, DeepSeek V4.1 Flash in Claude Code read a file, fixed a bug and ran a check in five requests for ₦2.59. A similar task on Claude Opus 5.5 cost ₦231.
What to expect
- Claude Code's instructions and tools were written for Claude, so Claude follows them most reliably on long tasks with many steps.
- Other models with tool calling work: DeepSeek V4.1 Flash completed the test above without help.
- A good pattern: a cheaper model for routine edits and Claude Sonnet or Opus for hard problems, switching with
/model. - Before moving a team over, try the cheaper model on a few of your own tasks: see test a cheaper model.
Common questions
Can Claude Code use DeepSeek?
Yes, through Bridge. Set ANTHROPIC_BASE_URL to https://wekoya-api.wekoya.tech, ANTHROPIC_AUTH_TOKEN to your Bridge key and ANTHROPIC_MODEL to deepseek-v4.1-flash.
Can Claude Code use GPT or Gemini models?
Yes, through Bridge: set ANTHROPIC_MODEL to a GPT or Gemini model ID such as gpt-5.6-terra or gemini-3.8-flash. Any Bridge model with tool calling works.
What is the cheapest model for Claude Code?
Among the models on this page, deepseek-v4.1-flash and glm-5.3-flash cost the least per token; see the table above for today's naira prices. Try a cheaper model on a few of your own tasks before relying on it.
Why does Claude Code say a model is unrecognised?
Claude Code prints that for models it does not know, then carries on. Set CLAUDE_CODE_MAX_CONTEXT_TOKENS to the model's context window so it compacts in time.