Try Bifrost Enterprise free for 14 days.
Request access

deepseek-v4-flash-0731 Cost Calculator - OpenRouter

Calculate the cost of using deepseek-v4-flash-0731 from OpenRouter for your AI applications

Pricing data last updated:

deepseek-v4-flash-0731 Cost Calculator

Mode: Chat

Max: 1,048,576 tokens

Max: 943,718 tokens

Cost Breakdown

Input Cost$0.00004000
Output Cost$0.00064000
Total Cost$0.00068000

Pricing Details

Input: $0.0000000400 per token
Output: $0.0000006400 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
✓Reasoning

Limits

Max Input Tokens1,048,576
Max Output Tokens943,718
Max Tokens943,718

About deepseek-v4-flash-0731

deepseek-v4-flash-0731 is a chat model from OpenRouter, one of 480 chat models they offer. It is priced at $0.04 per 1M input tokens and $0.64 per 1M output tokens, ranking 98 out of 3501 chat models by cost and cheaper than 97% of models in this category. deepseek-v4-flash-0731 supports function calling, reasoning, prompt caching, structured output. Its 1,049K-token context window is in the top 13% among chat models.

Pricing Information

Input Cost$0.04 per 1M tokens
Output Cost$0.64 per 1M tokens

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

Technical Specifications

Maximum Input Tokens1,048,576
Maximum Output Tokens943,718
Maximum Total Tokens943,718

Pro Tip

Use the maximum token limits shown above to understand the model's capacity. This model can handle up to 1,048,576 input tokens. The maximum output length is 943,718 tokens.

Model Capabilities

✓Function Calling - Execute custom functions and tools
✓Advanced Reasoning - Complex problem-solving capabilities
✓Prompt Caching - Optimize repeated prompts
✓Parallel Function Calling - Execute multiple functions simultaneously
✓Response Schema - Structured output formatting

How deepseek-v4-flash-0731 Pricing Compares

At $0.04 per 1M input tokens and $0.64 per 1M output tokens, deepseek-v4-flash-0731 ranks 98 out of 3501 chat models by input cost. It is more affordable compared to the median of $0.60 for chat models, and is cheaper than 97% of models in this category.

deepseek-v4-flash-0731 is one of 480 OpenRouter chat models, with support for function calling, reasoning, prompt caching, structured output. its 1,049K-token context window places it in the top 13% of chat models.

ModelProviderInput / 1M tokensOutput / 1M tokensvs deepseek-v4-flash-0731
gpt-5-nanoAzure$0.05$0.40+25%
gpt-5-nano-2025-08-07Azure$0.05$0.40+25%
gpt-5-nanoOpenAI$0.05$0.40+25%

Alternatives to deepseek-v4-flash-0731

Similar chat models from other providers

Azure
gpt-5-nano
$0.05/1M input
+25% vs deepseek-v4-flash-0731
Azure
gpt-5-nano-2025-08-07
$0.05/1M input
+25% vs deepseek-v4-flash-0731
OpenAI
gpt-5-nano
$0.05/1M input
+25% vs deepseek-v4-flash-0731
OpenAI
gpt-5-nano-2025-08-07
$0.05/1M input
+25% vs deepseek-v4-flash-0731
Fireworks AI
nemotron-lightning-3p5-30b-a3b
$0.05/1M input
+25% vs deepseek-v4-flash-0731

Frequently Asked Questions

Is deepseek-v4-flash-0731 cheaper than gpt-5-nano?

Yes. deepseek-v4-flash-0731 costs $0.04 per 1M input tokens compared to gpt-5-nano's $0.05 per 1M input tokens, making it 25% more affordable. Both are chat models and share support for vision, function calling, reasoning, prompt caching, structured output.

How does deepseek-v4-flash-0731 pricing compare to the average chat model?

deepseek-v4-flash-0731 input pricing is $0.04 per 1M tokens, which is 93% below the median of $0.60 for chat models. It ranks 98 out of 3501 chat models by input cost, making it cheaper than 97% of models in this category. For output, it costs $0.64 per 1M tokens compared to the median of $1.71.

What makes deepseek-v4-flash-0731 different from other OpenRouter models?

Among OpenRouter's 480 chat models, deepseek-v4-flash-0731 ranks 14 by input cost.

What are the best alternatives to deepseek-v4-flash-0731?

The most comparable chat models to deepseek-v4-flash-0731 are: gpt-5-nano from Azure ($0.05/1M input tokens); gpt-5-nano-2025-08-07 from Azure ($0.05/1M input tokens); gpt-5-nano from OpenAI ($0.05/1M input tokens); gpt-5-nano-2025-08-07 from OpenAI ($0.05/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 large is deepseek-v4-flash-0731's context window?

deepseek-v4-flash-0731 supports up to 1,048,576 input tokens, placing it in the top 13% of chat models by context window size (rank 270 of 3230). This makes it suitable for processing long documents, extensive code repositories, or maintaining detailed conversation histories.

How do I check if OpenRouter is down?

You can monitor OpenRouter service health in real time on the Bifrost OpenRouter 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-v4-flash-0731 costs?

deepseek-v4-flash-0731 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.04 and generating 1M output tokens costs $0.64.