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.00006500
Output Cost$0.00018000
Total Cost$0.00024500

Pricing Details

Input: $0.0000000650 per token
Output: $0.0000001800 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 441 chat models they offer. It is priced at $0.07 per 1M input tokens and $0.18 per 1M output tokens, ranking 222 out of 3254 chat models by cost and cheaper than 93% 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 10% among chat models.

Pricing Information

Input Cost$0.07 per 1M tokens
Output Cost$0.18 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
Response Schema - Structured output formatting

How deepseek-v4-flash-0731 Pricing Compares

At $0.07 per 1M input tokens and $0.18 per 1M output tokens, deepseek-v4-flash-0731 ranks 222 out of 3254 chat models by input cost. It is more affordable compared to the median of $0.52 for chat models, and is cheaper than 93% of models in this category.

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

ModelProviderInput / 1M tokensOutput / 1M tokensvs deepseek-v4-flash-0731
gpt-5-nano-2025-08-07Azure$0.06$0.44-15%
gpt-oss-20bTensormesh$0.07$0.28+8%
glm-4.7-flashNovita$0.07$0.40+8%

Alternatives to deepseek-v4-flash-0731

Similar chat models from other providers

Azure
gpt-5-nano-2025-08-07
$0.06/1M input
-15% vs deepseek-v4-flash-0731
Tensormesh
gpt-oss-20b
$0.07/1M input
+8% vs deepseek-v4-flash-0731
Novita
glm-4.7-flash
$0.07/1M input
+8% vs deepseek-v4-flash-0731
DeepInfra
GLM-4.7-Flash
$0.06/1M input
-8% vs deepseek-v4-flash-0731
DeepInfra
Ling-3.0-flash
$0.06/1M input
-8% vs deepseek-v4-flash-0731

Frequently Asked Questions

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

No. deepseek-v4-flash-0731 costs $0.07 per 1M input tokens while gpt-5-nano-2025-08-07 costs $0.06 per 1M input tokens, making gpt-5-nano-2025-08-07 15% more affordable for input. However, deepseek-v4-flash-0731 may offer different capabilities or performance characteristics that justify the price difference.

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

deepseek-v4-flash-0731 input pricing is $0.07 per 1M tokens, which is 87% below the median of $0.52 for chat models. It ranks 222 out of 3254 chat models by input cost, making it cheaper than 93% of models in this category. For output, it costs $0.18 per 1M tokens compared to the median of $1.50.

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

Among OpenRouter's 441 chat models, deepseek-v4-flash-0731 ranks 35 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-2025-08-07 from Azure ($0.06/1M input tokens); gpt-oss-20b from Tensormesh ($0.07/1M input tokens); glm-4.7-flash from Novita ($0.07/1M input tokens); GLM-4.7-Flash from DeepInfra ($0.06/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 10% of chat models by context window size (rank 231 of 3025). 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.07 and generating 1M output tokens costs $0.18.