Skip to content
DeepSeek

Deepseek Coder

Deepseek Coder is available via DeepSeek with a 128K context window and up to 4,096 output tokens. Pricing: $0.1400/1M input tokens, $0.2800/1M output tokens.

Deepseek Coder Pricing & Specifications

Input Price$0.14 per 1M tokens
Output Price$0.28 per 1M tokens
Context Window128,000 tokens (128K)
Max Output4,096 tokens
ProviderDeepSeek

What is Deepseek Coder?

Deepseek Coder is a large language model by DeepSeek with a 128K context window and up to 4,096 output tokens. It costs $0.14 per 1M input tokens and $0.28 per 1M output tokens. Deepseek Coder is available via DeepSeek with a 128K context window and up to 4,096 output tokens. Pricing: $0.1400/1M input tokens, $0.2800/1M output tokens.

Capabilities

text function calling

Deepseek Coder Cost Examples

Short prompt (500 tokens)

$0.000070

Medium prompt (2K tokens)

$0.00028

Long output (4K tokens)

$0.00112

Count tokens for Deepseek Coder

Paste your prompt to see exact token counts and API cost estimates.

Open Token Counter

Similar Models to Deepseek Coder

DeepSeek

Deepseek

$0.27/1M in 66K ctx

DeepSeek

Deepseek Chat

$0.28/1M in 131K ctx

DeepSeek

Deepseek Reasoner

$0.28/1M in 131K ctx

DeepSeek

Deepseek Chat

$0.28/1M in 131K ctx

Frequently Asked Questions

How much does Deepseek Coder cost per token? +
Deepseek Coder costs $0.14 per 1M input tokens and $0.28 per 1M output tokens. For a typical 1,000-token request with a 500-token response, that works out to roughly $0.000280.
What is the context window for Deepseek Coder? +
Deepseek Coder supports a context window of 128,000 tokens (128K). This determines the maximum combined length of your prompt and conversation history in a single API call.
What is the maximum output length for Deepseek Coder? +
Deepseek Coder can generate up to 4,096 tokens in a single response. If you need longer outputs, you can make multiple API calls and concatenate the results.
Is Deepseek Coder good for coding tasks? +
Yes, Deepseek Coder supports capabilities well-suited for coding tasks including code generation, debugging, and refactoring.
Token Counter | Pricing Calculator | Model Comparison | All DeepSeek Models