Try Bifrost Enterprise free for 14 days.
Request access

deepseek-v4-flash-0731 Cost Calculator - Cloudflare

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

Pricing data last updated:

deepseek-v4-flash-0731 Cost Calculator

Mode: Chat

Max: 1,310,720 tokens

Cost Breakdown

Input Cost$0.00044000
Output Cost$0.001320
Total Cost$0.001760

Pricing Details

Input: $0.0000004400 per token
Output: $0.00000132 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,310,720
Max Tokens1,310,720

About deepseek-v4-flash-0731

deepseek-v4-flash-0731 is a chat model from Cloudflare, one of 55 chat models they offer. It is priced at $0.44 per 1M input tokens and $1.32 per 1M output tokens, ranking 1299 out of 2835 chat models by cost and cheaper than 54% of models in this category. deepseek-v4-flash-0731 supports function calling, reasoning, prompt caching. Its 1,311K-token context window is in the top 1% among chat models.

Pricing Information

Input Cost$0.44 per 1M tokens
Output Cost$1.32 per 1M tokens

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

Technical Specifications

Maximum Input Tokens1,310,720
Maximum Total Tokens1,310,720

Pro Tip

Use the maximum token limits shown above to understand the model's capacity. This model can handle up to 1,310,720 input tokens.

Model Capabilities

Function Calling - Execute custom functions and tools
Advanced Reasoning - Complex problem-solving capabilities
Prompt Caching - Optimize repeated prompts

How deepseek-v4-flash-0731 Pricing Compares

At $0.44 per 1M input tokens and $1.32 per 1M output tokens, deepseek-v4-flash-0731 ranks 1299 out of 2835 chat models by input cost. It is more affordable compared to the median of $0.55 for chat models, and is cheaper than 54% of models in this category.

deepseek-v4-flash-0731 is one of 55 Cloudflare chat models, with support for function calling, reasoning, prompt caching. its 1,311K-token context window places it in the top 1% of chat models.

ModelProviderInput / 1M tokensOutput / 1M tokensvs deepseek-v4-flash-0731
deepseek-r1DeepSeek$0.55$2.19+25%
gemini-3-flash-previewVertex AI$0.50$3.00+14%
gemini-3-flash-previewGoogle Gemini$0.50$3.00+14%

Alternatives to deepseek-v4-flash-0731

Similar chat models from other providers

DeepSeek
deepseek-r1
$0.55/1M input
+25% vs deepseek-v4-flash-0731
Vertex AI
gemini-3-flash-preview
$0.50/1M input
+14% vs deepseek-v4-flash-0731
Google Gemini
gemini-3-flash-preview
$0.50/1M input
+14% vs deepseek-v4-flash-0731
OpenRouter
deepseek-r1-0528
$0.50/1M input
+14% vs deepseek-v4-flash-0731
OpenRouter
gemini-3-flash-preview
$0.50/1M input
+14% vs deepseek-v4-flash-0731

Frequently Asked Questions

Is deepseek-v4-flash-0731 cheaper than deepseek-r1?

Yes. deepseek-v4-flash-0731 costs $0.44 per 1M input tokens compared to deepseek-r1's $0.55 per 1M input tokens, making it 25% more affordable. Both are chat models and share support for function calling, reasoning, prompt caching.

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

deepseek-v4-flash-0731 input pricing is $0.44 per 1M tokens, which is 20% below the median of $0.55 for chat models. It ranks 1299 out of 2835 chat models by input cost, making it cheaper than 54% of models in this category. For output, it costs $1.32 per 1M tokens compared to the median of $1.50.

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

Among Cloudflare's 55 chat models, deepseek-v4-flash-0731 ranks 34 by input cost.

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

The most comparable chat models to deepseek-v4-flash-0731 are: deepseek-r1 from DeepSeek ($0.55/1M input tokens); gemini-3-flash-preview from Vertex AI ($0.50/1M input tokens); gemini-3-flash-preview from Google Gemini ($0.50/1M input tokens); deepseek-r1-0528 from OpenRouter ($0.50/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,310,720 input tokens, placing it in the top 1% of chat models by context window size (rank 20 of 2635). This makes it suitable for processing long documents, extensive code repositories, or maintaining detailed conversation histories.

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.44 and generating 1M output tokens costs $1.32.