Models / deepseek-chat
deepseek-chat — the default tier
General chat, RAG and code completion on DeepSeek-V4.1-Flash. Reasoning is disabled by default, so the whole output budget goes to the answer instead of to hidden thinking.
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-chat",
messages=[{"role": "user", "content": "Explain vector search in two sentences."}],
)
print(resp.choices[0].message.content)Scope
4 fits · 2 does notFits
- Chat and assistant products where latency matters more than depth
- RAG pipelines that resend the same system prompt and benefit from cache hits
- Code completion and structured extraction at volume
- Batch jobs where you want the lowest cost per useful token
Does not fit
- Hard multi-step maths or long refactors — use deepseek-reasoner
- Tasks that need a second model vendor for compliance reasons: this endpoint has one upstream family
Questions
6 answersIs reasoning really off?
Yes. We inject thinking: { type: "disabled" } unless you override it. Without it, DeepSeek V4 spends the output budget on reasoning_content and can return an empty content string.
What is the context window?
1,000,000 tokens, with up to 384,000 output tokens. max_tokens defaults to 4,096 and is clamped at 384,000.
How is peak pricing decided?
At request time, from the hour the request arrives: 01:00-04:00 and 06:00-10:00 UTC on weekdays are peak, everything else including weekends is off-peak.
Do you support tool calls?
Yes, including streamed tool_call deltas. Arguments arrive in fragments and must be concatenated before you parse them.
What happens if the upstream fails?
Where a second channel is configured, failover happens only before the first token is produced. We never silently swap the model. If every channel fails you get an error and the pre-authorised amount is released.
Is this the cheapest way to call DeepSeek?
No. Direct upstream and some aggregators list lower token prices. This endpoint is for buyers who need a documented data policy, per-key spend caps and a downloadable order record per payment.