DeepSeek V4.1 Flash vs Qwen4-Max: Pricing, video and coding compared
Compare the production Qwen4-Max API with DeepSeek Flash using the regions and billing terms that matter.
Which model should you use?
DeepSeek V4.1 Flash is a useful candidate for cost-sensitive text and image requests. Qwen4-Max is worth evaluating for video input and complex coding or agent tasks, especially if your team already uses Alibaba Cloud. We have not run a shared benchmark, so the decision should depend on your own quality, cost and deployment requirements.
This comparison covers official hosted APIs as documented on November 20, 2026. We have not run a head-to-head model test. Prices and availability can change, and API terms differ from app subscriptions.
DeepSeek's current API ID is deepseek-flash, served as DeepSeek-V4.1-Flash-1017. The older deepseek-v4-flash alias now routes to that release. Its API listing specifies a 1M context, a maximum 384K output, text and image input, and thinking and non-thinking modes.
Alibaba released the production qwen4-max model on November 16, 2026. It is distinct from qwen4-max-preview, the time-limited preview discussed in earlier comparisons. Do not apply the preview's Token Plan-only access rules to the production model.
| API detail | DeepSeek Flash | Qwen4-Max production |
|---|---|---|
| Model ID | deepseek-flash | qwen4-max |
| Input | Text, images | Text, images, video |
| Context | 1M tokens | 1,000,000 tokens |
| Maximum output | 384K | 131,072 non-thinking; 262,144 thinking |
| Reasoning | Thinking or non-thinking | Thinking or non-thinking; thinking enabled by default |
| Access | Usage-based hosted API | Model Studio API and Token Plan; regional terms vary |
Alibaba lists separate maximum input limits of 991,808 tokens in non-thinking mode and 983,616 in thinking mode. Treat these as documented caps, not guarantees that a large prompt will retrieve facts accurately. Leave room for instructions and output.
How do prices compare across regions?
DeepSeek's uncached input costs $0.15 per million tokens off-peak and $0.30 at peak; output costs $0.60 and $1.20 respectively. Cached input costs $0.003 and $0.006. Peak periods are 01:00-04:00 and 06:00-10:00 UTC on weekdays, excluding Chinese public holidays; all other times are off-peak.
Alibaba's Model Studio listing shows Qwen4-Max China Beijing input at CNY 10 and output at CNY 30 per million tokens. Its Singapore international listing shows CNY 10.938 and CNY 32.813. Both are listed for thinking and non-thinking modes; output includes reasoning and the answer. Other regions and account billing can differ.
With 10,000 uncached input and 2,000 output tokens, the Beijing Qwen token example is CNY 0.16, and the Singapore example is CNY 0.175006. DeepSeek's published USD rates give $0.0027 off-peak or $0.0054 peak. These figures use different currencies and billing locations, so they are not a direct cost ratio. Use your actual invoice currency and exchange rate, and check the exact cache and service terms for your region.
These calculations are examples, not measured bills. Different models may tokenize the same material differently, use different amounts of reasoning, or require different numbers of attempts. Tool charges, caching, service tiers, taxes and human review can change the total. Compare spend per accepted task as well as the published token rate.
At 1,000 identical requests, the examples are CNY 160 in Beijing and CNY 175.006 in Singapore before other fees. Alibaba documents batch support for Beijing but not Singapore on this model page. If batch processing matters, verify current availability and pricing for your own region before relying on it.
If you plan to use Flash regularly for text or images, use our DeepSeek API pricing page to compare subscription costs and allowances alongside the per-token examples above.
Is Qwen4-Max Preview the same model?
No. The model IDs and product terms are different. Alibaba describes the preview as a temporary Token Plan offering scheduled for retirement after November 25, 2026, China time, while its documentation recommends the production version. A prompt that worked during preview should be retested against qwen4-max, including output limits and defaults.
What can each model do with images and video?
Both listings support image input. Qwen4-Max also lists native video input. If a Flash workflow relies on sampled frames or a separate transcript, include preprocessing cost and test for lost context. A scene change, brief label or spoken correction can be missed by a sparse sample.
For a visual inspection pilot, assemble screenshots with small labels, charts with different scales and video clips containing events at known timestamps. Ask for the evidence behind each answer. Measure missed details, fabricated claims and time needed for human correction rather than only whether the output sounds plausible.
How should you compare coding and agents?
Alibaba positions Qwen4-Max for coding and complex agents. Test those claims on your own repository: use the same issue description, initial files, tool permissions and test suite. Include a task with a failing tool call and another with conflicting instructions. Review the final diff for regressions and security defects, then record full call count and human intervention.
Both vendors provide compatible API interfaces and tool features, but parameter names, default thinking settings, schema support and error handling need validation. Qwen's thinking is enabled by default; record the selected effort and output budget. A fair comparison should state the settings rather than treating two differently configured requests as equivalent.
What about deployment and data governance?
Alibaba's production model page lists several regional endpoints with different deployment scopes and capabilities. Check your account's region, contract, data handling and whether the selected feature is available there. DeepSeek's API and any separately hosted model have their own terms and operational requirements. Model weights, a cloud endpoint and an application subscription are different purchasing and deployment choices.
10,000 input tokens + 2,000 output tokens. USD, router-listed rates checked November 20, 2026.
Third-party router routes and prices may change. These are not the official direct API rates; excludes cache, tools, retries and taxes.
What do independent and vendor evaluations actually show?
Artificial Analysis publishes an Intelligence Index built from a collection of assessments. Its November 20 leaderboard snapshot lists the configurations shown below. The DeepSeek result uses the 1017 release at max; the other configuration is shown in the chart. This is a composite index, not a percentage of your tasks solved. It is useful as a starting signal, not a substitute for testing your application.
Artificial Analysis, November 20, 2026. Index points; higher is better within this evaluation.
Different reasoning configurations are shown as published. Composite scores do not measure your specific task and are not percentages.
Index scores depend on the benchmark mix, model configuration and evaluation method. A gap on an aggregate does not tell you the failure rate on invoice extraction or a particular codebase. Compare the reasoning effort, tool environment and provider used for a run, and revisit the index when its methodology or model versions change.
DeepSeek's own model card reports 42.3 on Terminal-Bench 4.0 using the Claude Code harness and 77.0 on DeepSWE v1.1 using Mini-SWE-V2. Those are DeepSeek-reported results for the 1017 version, not a controlled comparison with the model in this article. A differently configured result or a newer benchmark version cannot be subtracted from them as though it were the same test.
What do the public tests suggest?
Alibaba's launch describes Qwen4-Max as a 2.4-trillion-parameter mixture-of-experts model with 71 billion parameters activated per token. Those figures explain the provider's architecture, not the amount of memory a user needs or a score on your tasks. Alibaba's own Work360 comparison concerns Qwen4-Max and its predecessor, not DeepSeek Flash.
DeepSeek's published 1017 model card provides its own results, including 77.0 on DeepSWE v1.1 with Mini-SWE-V2. The Qwen and DeepSeek figures in their respective launch materials should not be combined unless the benchmark version, harness, effort and evaluation conditions match. The independent composite chart above offers a narrower same-publisher snapshot, not a guarantee for any particular workflow.
What does a router's price tell you?
On November 20, OpenRouter's comparison page listed $0.051 input and $0.567 output per million tokens for DeepSeek V4.1 Flash, and $1.425 input and $4.275 output for Qwen4-Max. These are router-listed prices for its routes, not DeepSeek's peak/off-peak direct rates or Alibaba's Beijing and Singapore rates. Routes, providers and promotional prices can change.
At those router-listed rates, a hypothetical 10K input and 2K output request costs $0.001644 for Flash and $0.0228 for Qwen4-Max. Equal token counts do not imply equal work, and this excludes other charges. Check the selected provider and its data policies before treating a router's list price as your invoice.
How should Chinese and English workflows be tested?
Build separate test sets for Chinese, English and mixed-language inputs. Include a Chinese purchase order with an uncommon unit, an English contract clause, and a bilingual support ticket with the same product named in two ways. Check names, numbers, negation and whether the output retains the requested language. Do not conclude that one model is better at a language solely from its provider's origin.
When comparing cost, count each model's actual tokens for the same documents. Tokenization can differ for Chinese text and for mixed scripts. A price per million tokens alone does not tell you the cost per document.
How do availability and regions affect deployment?
| Decision | DeepSeek Flash | Qwen4-Max |
|---|---|---|
| Self-hosting | 1017 weights published under MIT; assess hardware and serving requirements. | Production cloud model; Alibaba's announced future smaller open-weight models are not proof that Max weights are public. |
| Direct API | Confirm peak schedule and endpoint-specific services. | Check region, scope, price and whether batch is supported. |
| Third-party router | Verify route, actual revision, provider and data handling. | Verify route, actual revision, provider and data handling. |
Self-hosting changes control over infrastructure but also makes the operator responsible for availability, security patches and capacity. A managed endpoint can be simpler, while its regions and retention terms may be more restrictive than your policy allows. The right answer depends on the actual contract and workload.
How should a production pilot be structured?
Freeze the model IDs and endpoint regions; run the same task set in thinking mode at documented settings. Split results by language and modality, and include video only when each pipeline receives equivalent evidence. Log prompt, input conversion, total token usage, tool calls, latency and reviewer corrections. Repeat cases that have variable outputs.
Set an acceptance threshold for the highest-impact category, such as correct totals or safe tool use. Compare cost per accepted outcome only among workflows that meet it. Keep a fallback for rate limits or model retirement, and retest after changing a route or model alias.
Common questions
Is Qwen4-Max cheaper?
The prices above are in different currencies and regions. Convert using the rate and billing terms that apply to you, then compare total cost per accepted result.
Is Qwen4-Max open weight?
Alibaba's launch describes future smaller open-weight Qwen4 models. That announcement is not evidence that the production Qwen4-Max weights are publicly available.
Which should I test first?
For a text-heavy workload, start with a representative sample on both. If native video is a requirement, include the cost and accuracy of any preprocessing pipeline in the comparison.