Pricing / deepseek-reasoner
deepseek-reasoner — the reasoning tier
Multi-step problems on DeepSeek-V4-Pro. It thinks before it answers, which costs roughly four to five times more per token than the default tier — worth it only when the task actually needs it.
Rates
USD per 1M tokensPeak runs 01:00-04:00 and 06:00-10:00 UTC, Monday to Friday. Every other hour, and the whole weekend, is off-peak. Cached input applies only when the provider reports a prompt cache hit; otherwise the input rate applies.
Parameters
as servedCall it
Python · openaifrom openai import OpenAI
client = OpenAI(
base_url="https://api.tokenaimodels.com/v1",
api_key="sk-live-...",
)
resp = client.chat.completions.create(
model="deepseek-reasoner",
messages=[{"role": "user", "content": "Explain vector search in two sentences."}],
)
print(resp.choices[0].message.content)Scope
4 fits · 2 does notFits
- Debugging hard failures where the model must hold several constraints at once
- Maths, proofs and data analysis with intermediate steps
- Large refactors that need a plan before edits
- Agent planning loops where a wrong plan is expensive
Does not fit
- High-volume chat: the reasoning tokens are billed and often unused
- Latency-sensitive UI paths — reasoning adds seconds before the first visible token
Questions
6 answersWhy is the output price so much higher?
Reasoning tokens are billed as output. A 2,000-token answer can consume several thousand reasoning tokens first. Budget accordingly.
Can I control the reasoning budget?
We default reasoning_effort to medium. You can raise or lower it per request; the field is passed through to the upstream.
Does streaming still work?
Yes. Reasoning deltas and answer deltas arrive in the same SSE stream, in order.
What is the max output?
384,000 tokens, same as the default tier. max_tokens defaults to 4,096.
Is the cache worth it here?
If you resend the same long system prompt, yes: cached input costs $0.044 per 1M instead of $1.10. The prompt prefix must be byte-identical.
Can I mix both tiers in one product?
Yes. One key covers both; switching is one string in the request.