Verified 2026-11-18 · rates follow the live catalog
This is an independent gateway, not a DeepSeek subscription and not run by the people who make DeepSeek. A coding plan is the right shape for agent work — an allowance instead of a meter that never stops — and the $20 Minion and $80 Boss plans here have exactly that shape. Their allowance is currently metered against these DeepSeek models: DeepSeek-V4-Pro-0813, DeepSeek-V4.1-Flash, DeepSeek-V4.1-Flash-1017. Spend past an allowance bills as on-demand credits at the rates below, so there is no second price list to learn.
| Model | Context | Input / 1M | Output / 1M | One request | One request, prompt cached |
|---|---|---|---|---|---|
| DeepSeek V4.1 Flash | 1.0M | $0.30 | $1.20 | $0.0072 | $0.0013 |
| DeepSeek V4.1 Flash 1017 | 1.0M | $0.30 | $1.20 | $0.0072 | $0.0013 |
| DeepSeek V4.1 Flash 1017 Uncensored | 1.0M | $0.30 | $1.20 | $0.0072 | $0.0032 |
| DeepSeek V4 Pro | 1.0M | $1.32 | $3.96 | $0.03 | $0.0066 |
Cheapest first. DeepSeek V4 Pro is the one to reach for when a step is genuinely hard, and DeepSeek V4.1 Flash carries the loop. Each model's page shows its rates, context limit and any published discount hours. The DeepSeek API page adds what every model accepts and the exact ids.
An allowance refreshes on three clocks: a five-hour one, a weekly one, and a monthly one tied to your billing date. Empty a clock and requests continue against credits; with no credits the API answers a 402 with a resets_at timestamp naming when that clock refills. A per-minute request cap sits on the account as well, and going over it returns a 429 with a Retry-After header — wait that many seconds and carry on. Requests that fail upstream never touch any allowance. Estimated requests per clock, for every model the plans cover, are tabulated in the plan documentation: Plans & Usage.
Three tier variables and one token variable. The tiers must name catalog entries, because Anthropic-style ids do not select anything here:
export ANTHROPIC_BASE_URL="https://api.openference.com"
export ANTHROPIC_AUTH_TOKEN="YOUR_API_KEY"
export ANTHROPIC_DEFAULT_HAIKU_MODEL="DeepSeek-V4.1-Flash"
export ANTHROPIC_DEFAULT_SONNET_MODEL="DeepSeek-V4-Pro-0813"
export ANTHROPIC_DEFAULT_OPUS_MODEL="DeepSeek-V4-Pro-0813"
No /v1 on the base URL — Claude Code appends the path it needs, and a doubled segment is the usual first-attempt failure. The persistent settings.json form is in the Claude Code guide.
Codex reads its providers from ~/.codex/config.toml. State the window and the output limit yourself, or Codex assumes a far smaller model:
model = "DeepSeek-V4.1-Flash"
model_provider = "openference"
model_context_window = 1048576
model_max_output_tokens = 384000
[model_providers.openference]
name = "Openference"
base_url = "https://api.openference.com/v1"
env_key = "OPENFERENCE_API_KEY"
wire_api = "responses"
Run codex with OPENFERENCE_API_KEY exported. Codex speaks the Responses API; DeepSeek requests are converted to chat completions and back, and nothing extra is needed for that.
| Model | One request | Multiple of DeepSeek V4.1 Flash |
|---|---|---|
| GLM-4.7-Flash | $0.0016 | 0.22× |
| GLM-5.1 | $0.032 | 4.5× |
| GLM-5.4 | $0.032 | 4.5× |
The GLM family is the other side of the cheap-coding comparison, and the two ladders overlap: some GLM models bill less per request than DeepSeek V4.1 Flash, and the rest bill more. Neither column says which family finishes your task, so measure cost per completed task on a sample of your own work before settling. The GLM vs DeepSeek guide runs one identical agent session on both families, caching included.
No. It is an independent gateway with its own plans, billing and limits — a way to run DeepSeek inside the same coding tools, next to every other model in the catalog, on one key.
https://api.openference.com/v1 for OpenAI-format clients such as Codex, Cursor and Cline. Claude Code takes https://api.openference.com with no /v1 appended.
Yes, while its window is open: DeepSeek-V4.1-Flash-1017-Free through 31 January 2027. The free AI API page says how it behaves at the limit.
Open on DeepSeek V4 Pro for the hard steps and DeepSeek V4.1 Flash for the bulk of the run; every model page lists its context limit and rates.
Model catalog · Pricing · Comparisons · Cost guides · Integration guides · FAQ
Guides: GLM coding plan alternative · DeepSeek coding plan · Free AI API · LLM gateway · LLM proxy · Cheap AI API · OpenAI-compatible API · Uncensored models
Model APIs: GLM API · DeepSeek API · Kimi API · Qwen API · MiniMax API
Compare: vs OpenRouter · vs Claude · vs OpenAI
Legal & contact: Terms · Privacy · Cookies · DPA · Contact