DeepSeek V3

deepseek/deepseek-chat
ToolsJSONReasoning
by DeepSeek · 2024-12-26

DeepSeek V3 is a Mixture-of-Experts (MoE) large language model developed by DeepSeek, accessible through OrcaRouter’s OpenAI-compatible API. It supports text input only, with a context window of 1,048,576 tokens and a maximum output of 384,000 tokens. This makes it well-suited for tasks requiring extensive reasoning over long documents, multi-turn conversations, or generating substantial amounts of text in a single pass. The model is priced at $0.14 per 1 million input tokens and $0.28 per 1 million output tokens, billed at the provider’s rate with zero markup via OrcaRouter. DeepSeek V3’s MoE architecture activates only a subset of parameters per token, enabling competitive performance with lower computational cost compared to dense models of similar total parameter count. This design balances speed and capability, making it a practical choice for developers and enterprises that need high-context reasoning or long-form content generation. It is particularly effective for coding, mathematical reasoning, and knowledge-intensive tasks where maintaining coherence across extended contexts is critical. Because it is text-only, users requiring image or audio input should consider multimodal alternatives.

Max output384K
Inputtext
Outputtext
p50 TTFT449 ms
Runs inEuropean Union
Context window1Mtokens
INPUT$0.22/ 1M tokens
OUTPUT$0.66/ 1M tokens
p50 TTFT449 ms7d
p95 TTFT1.24 s7d

Pricing

Pricing
Input / 1M tokens · Off-peak$0.220
Output / 1M tokens · Off-peak$0.660
Cache read / 1M · Off-peak$0.0070
Peak hours01:00–04:00, 06:00–10:00 ×2 (UTC)
Input / 1M tokens · ×2$0.440
Output / 1M tokens · ×2$1.32
Cache read / 1M · ×2$0.014
CurrencyUSD

Cost calculator

Tokens / month2MM
Input share80%%
Estimated / month $0.616 · With prompt caching $0.446

1.6M input × $0.22/M + 400K output × $0.66/M

Prompt caching assumes half of the input tokens are read from cache at $0.007/M.

Estimate based on list price

Per-request examples
ScenarioInput / output tokensPer requestPer 1,000 requests
Chat reply200 / 300$0.0002$0.242
Summarize a long doc30K / 1K$0.0073$7.26
Code review8K / 2K$0.0031$3.08

Token & cost estimator

Input tokens: 20Cost per request: $0.000334

Estimate only — actual token counts depend on the provider's tokenizer.

Code samples

Use an OpenAI-compatible SDK or send an HTTP request. Get API key

API key
export ORCAROUTER_API_KEY=…
Base URL
https://api.orcarouter.ai/v1
import os

from openai import OpenAI

client = OpenAI(
    base_url="https://api.orcarouter.ai/v1",
    api_key=os.environ["ORCAROUTER_API_KEY"],
)

response = client.chat.completions.create(
    model="deepseek/deepseek-chat",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Example response

{
  "id": "chatcmpl-…",
  "object": "chat.completion",
  "created": 1763280000,
  "model": "deepseek/deepseek-chat",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Hello! How can I help you today?"
      },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 9,
    "completion_tokens": 10,
    "total_tokens": 19
  }
}
  • choices[0].message.content — the model's answer.
  • finish_reason — "stop" means the answer is complete; "length" means it was cut off at max_tokens.
  • usage — the input and output tokens this call is billed for.

An HTTP 200 with finish_reason "stop" means the call succeeded.

Supported parameters

ParameterWhat it does
max_tokensUpper limit on the number of tokens the model generates.
temperatureSampling randomness: lower is more focused, higher is more varied.
toolsFunctions the model may call, described as JSON Schema.
response_formatForce JSON output, optionally matching a JSON Schema.
top_pNucleus sampling: only consider tokens within this cumulative probability.

Full API reference

Use cases and examples

  • Long context — 1M-token context window: whole codebases, long reports or chat histories in one request.
  • Agents and tool use — Calls the functions you define, for agents and tool workflows.
  • Structured extraction — Returns JSON that follows your schema, for pulling fields out of text.
  • Reasoning — Works through a problem before answering: math, science and multi-step tasks.
  • Extending context across long documents or codebases (e.g., summarizing an entire book, reviewing a large repository)
  • Multi-turn conversations with extensive history (e.g., customer support, research assistants)
  • Generating long-form content (e.g., reports, articles, creative writing) up to 384k output tokens
  • Complex reasoning tasks (e.g., math problem solving, logic puzzles, scientific analysis)

Performance

p50 TTFTTime to first token for a typical request: half of requests got their first token faster than this.
449 ms
#4 fastest of 150 models
Output speedHow many tokens per second the model streams once it starts answering.
195 tok/s
#45 fastest of 149 models
p95 TTFTTime to first token for a slow request: 95% of requests got their first token faster than this.
1.24 s
Error rateShare of requests to this model on OrcaRouter that ended in an error over the window.
2.8%

Benchmarks

Ranking Distribution9090 tournaments
2300
First
2676
Second
2636
Third
1478
Fourth
Category Performance
3DElo: 1166WebsiteElo: 1163Code CategoriesElo: 1158UI ComponentElo: 1149Data VisualizationElo: 1141Game DevElo: 1121SVGElo: 1034
3DTop 54%
1166Elo
50.7%Win
43.2sAvg
Top 54%Rank
WebsiteTop 62%
1163Elo
48.5%Win
79.6sAvg
Top 62%Rank
Code CategoriesTop 66%
1158Elo
48.5%Win
74.0sAvg
Top 66%Rank
UI ComponentTop 66%
1149Elo
52.8%Win
47.2sAvg
Top 66%Rank
Data VisualizationTop 69%
1141Elo
51.4%Win
47.6sAvg
Top 69%Rank
Game DevTop 73%
1121Elo
43.9%Win
70.9sAvg
Top 73%Rank
SVGTop 94%
1034Elo
38.8%Win
15.2sAvg
Top 94%Rank
Source: Design Arena

Community buzz

What developers are saying this week

Hacker News4 mentions · 7ddown 1 vs the previous week

Compare models

DeepSeek V3DeepSeek V4 ProDeepSeek V4.1 FlashDeepSeek V4.1 Flash 0910
Input $/M$0.22$0.66$0.15$0.15
Output $/M$0.66$1.98$0.60$0.60
Context1.0M1.0M1.0M1.0M
Quality5/108/108/108/10
Compare side-by-sideCompare side-by-sideCompare side-by-sideCompare side-by-side

FAQ

What is the cost per token for DeepSeek V3 on OrcaRouter?
Input: $0.14 per 1 million tokens. Output: $0.28 per 1 million tokens. Billed at provider rate with zero markup via OrcaRouter.
How large is the context window for DeepSeek V3?
1,048,576 tokens (approximately 1 million). Maximum output is 384,000 tokens.
What are the main strengths of DeepSeek V3?
Extreme context window (1M tokens), high output limit, MoE efficiency leading to lower cost per token, strong performance in reasoning and coding tasks.
How does DeepSeek V3 compare to other large language models?
It offers a larger context window than GPT-4o (128k) or Claude 3.5 Sonnet (200k) and is often cheaper per token. However, it is text-only, while some alternatives support images. MoE architecture provides speed advantages.
Does OrcaRouter store my data when using DeepSeek V3?
OrcaRouter acts as a gateway and does not store prompts or completions. Data handling follows DeepSeek's policies; refer to OrcaRouter's privacy policy for details.
How do I call DeepSeek V3 via an OpenAI-compatible API?
Set base_url to https://api.orcarouter.ai/v1 and model to 'deepseek/deepseek-chat'. Use standard OpenAI client libraries.
What parameters can I adjust for DeepSeek V3?
All standard chat completion parameters: temperature, top_p, max_tokens (up to 384,000), stop, frequency_penalty, presence_penalty, etc.
Is DeepSeek V3 multimodal?
No, it supports only text input and output. No image, audio, or video processing.
Can I stream responses from DeepSeek V3 on OrcaRouter?
Yes, streaming is supported via the standard OpenAI streaming interface.
What is the typical latency for DeepSeek V3?
Latency varies with input/output length and load. MoE architecture generally results in faster generation per token compared to dense models of similar size. No specific figures are provided.

Embed this badge

DeepSeek: DeepSeek V3•$0.22/M in•449ms p50•via OrcaRouter
HTML <a href="https://www.orcarouter.ai/models/deepseek/deepseek-chat" target="_blank"> <img src="https://www.orcarouter.ai/embed/deepseek/deepseek-chat.svg" alt="DeepSeek: DeepSeek V3 on OrcaRouter" /> </a>
Markdown [![DeepSeek: DeepSeek V3](https://www.orcarouter.ai/embed/deepseek/deepseek-chat.svg)](https://www.orcarouter.ai/models/deepseek/deepseek-chat)

Model card as data

GET /api/public/models/deepseek/deepseek-chatOpen
Machine-readable:/llms.txt/llms-full.txt