Try Bifrost Enterprise free for 14 days.
Request access

deepseek-coder Cost Calculator - DeepSeek

Calculate the cost of using deepseek-coder from DeepSeek for your AI applications

Pricing data last updated:

deepseek-coder Cost Calculator

Mode: Chat

Max: 128,000 tokens

Max: 4,096 tokens

Cost Breakdown

Input Cost$0.00014000
Output Cost$0.00028000
Total Cost$0.00042000

Pricing Details

Input: $0.0000001400 per token
Output: $0.0000002800 per token
[ WE'RE OPEN SOURCE ]

Scale with the Fastest LLM Gateway

Built for enterprise-grade reliability, governance, and scale. Deploy in seconds.

Model Specifications

Capabilities

Function Calling

Limits

Max Input Tokens128,000
Max Output Tokens4,096
Max Tokens4,096

About deepseek-coder

deepseek-coder is a chat model from DeepSeek, one of 8 chat models they offer. It is priced at $0.14 per 1M input tokens and $0.28 per 1M output tokens, ranking 408 out of 2292 chat models by cost and cheaper than 81% of models in this category. deepseek-coder supports function calling, prompt caching. It accepts up to 128K input tokens.

Pricing Information

Input Cost$0.14 per 1M tokens
Output Cost$0.28 per 1M tokens

Note: Use the interactive calculator above to estimate costs for your specific usage patterns.

Technical Specifications

Maximum Input Tokens128,000
Maximum Output Tokens4,096
Maximum Total Tokens4,096

Pro Tip

Use the maximum token limits shown above to understand the model's capacity. This model can handle up to 128,000 input tokens. The maximum output length is 4,096 tokens.

Model Capabilities

Function Calling - Execute custom functions and tools
Prompt Caching - Optimize repeated prompts

How deepseek-coder Pricing Compares

At $0.14 per 1M input tokens and $0.28 per 1M output tokens, deepseek-coder ranks 408 out of 2292 chat models by input cost. It is more affordable compared to the median of $0.55 for chat models, and is cheaper than 81% of models in this category.

deepseek-coder is one of 8 DeepSeek chat models, with support for function calling, prompt caching.

ModelProviderInput / 1M tokensOutput / 1M tokensvs deepseek-coder
gpt-4o-mini-2024-07-18Azure$0.17$0.66+18%
gpt-4o-miniAzure$0.15$0.60+7%
gemini-2.0-flash-001Vertex AI$0.15$0.60+7%

Alternatives to deepseek-coder

Similar chat models from other providers

Azure
gpt-4o-mini-2024-07-18
$0.17/1M input
+18% vs deepseek-coder
Azure
gpt-4o-mini
$0.15/1M input
+7% vs deepseek-coder
Vertex AI
gemini-2.0-flash-001
$0.15/1M input
+7% vs deepseek-coder
Google Gemini
gemini-2.0-flash-001
$0.15/1M input
+7% vs deepseek-coder
OpenAI
gpt-4o-mini
$0.15/1M input
+7% vs deepseek-coder

Frequently Asked Questions

Is deepseek-coder cheaper than gpt-4o-mini-2024-07-18?

Yes. deepseek-coder costs $0.14 per 1M input tokens compared to gpt-4o-mini-2024-07-18's $0.17 per 1M input tokens, making it 18% more affordable. Both are chat models and share support for vision, function calling, prompt caching, structured output.

How does deepseek-coder pricing compare to the average chat model?

deepseek-coder input pricing is $0.14 per 1M tokens, which is 75% below the median of $0.55 for chat models. It ranks 408 out of 2292 chat models by input cost, making it cheaper than 81% of models in this category. For output, it costs $0.28 per 1M tokens compared to the median of $1.50.

What makes deepseek-coder different from other DeepSeek models?

Among DeepSeek's 8 chat models, deepseek-coder ranks 2 by input cost.

What are the best alternatives to deepseek-coder?

The most comparable chat models to deepseek-coder are: gpt-4o-mini-2024-07-18 from Azure ($0.17/1M input tokens); gpt-4o-mini from Azure ($0.15/1M input tokens); gemini-2.0-flash-001 from Vertex AI ($0.15/1M input tokens); gemini-2.0-flash-001 from Google Gemini ($0.15/1M input tokens). These alternatives were selected based on similar capabilities, pricing, and provider diversity. You can compare any of these models in detail using the Bifrost Model Library.

How do I check if DeepSeek is down?

You can monitor DeepSeek service health in real time on the Bifrost DeepSeek Status page. It tracks current component status, active incidents, and historical reliability data pulled from the official status page every 60 seconds.

How do I calculate deepseek-coder costs?

deepseek-coder is priced based on input and output tokens. Use the interactive calculator at the top of this page to estimate costs for your specific workload. Enter your expected input and output tokens volume and the calculator will show the total cost breakdown. For reference, processing 1M input tokens costs $0.14 and generating 1M output tokens costs $0.28.