DeepSeek V4.1 Flash 1017 vs GLM 4.7 Flash API pricing
Updated
DeepSeek V4.1 Flash 1017: USD 0.09 input, USD 0.30 output per 1M tokens (Sail Research). GLM 4.7 Flash: USD 0.06 input, USD 0.40 output per 1M tokens (Cloudflare Workers AI). At 3 input tokens per output token, GLM 4.7 Flash costs 1.8% more than DeepSeek V4.1 Flash 1017 (USD 0.145 vs USD 0.1425 per 1M).
How do DeepSeek V4.1 Flash 1017 and GLM 4.7 Flash differ on price?
- Cheapest input price: GLM 4.7 Flash USD 0.06 against USD 0.09 per 1M tokens, so DeepSeek V4.1 Flash 1017 costs 1.5× as much (50% more).
- Cheapest output price: DeepSeek V4.1 Flash 1017 USD 0.294 against USD 0.40 per 1M tokens, so GLM 4.7 Flash costs 1.36× as much (36% more).
- Among the 201 indexed models, DeepSeek V4.1 Flash 1017 ranks 36th cheapest and GLM 4.7 Flash 38th on the 3:1 blend.
- The cheaper model changes at 3.3 input tokens per output token.
- Both list cached-input discounts: DeepSeek V4.1 Flash 1017 at 23 standard prices of 23, from USD 0.0024 (River, 98% below that provider's input price); GLM 4.7 Flash at 2 standard prices of 5, from USD 0.01 (Novita AI, 86% below that provider's input price).
- DeepSeek V4.1 Flash 1017 states up to 1,048,576 tokens of context, 5.2× the 202,752 of GLM 4.7 Flash.
- DeepSeek V4.1 Flash 1017 has 23 providers with a standard price, 17 more than GLM 4.7 Flash; 4 providers sell both (GMI Cloud, Featherless, Cloudflare Workers AI and Novita AI).
- On one account, GMI Cloud charges USD 0.315 for DeepSeek V4.1 Flash 1017 (2.2× its cheapest price) and USD 0.1525 for GLM 4.7 Flash (1.05× its cheapest price) at 3:1, the lowest combined price among the providers that sell both.
- Shopping around matters more for DeepSeek V4.1 Flash 1017: its dearest standard price is 3.7× its cheapest, against 1.05× for GLM 4.7 Flash.
- DeepSeek's own API charges USD 0.525 for DeepSeek V4.1 Flash 1017 at 3:1, 268% above the cheapest provider (Sail Research).
- DeepSeek V4.1 Flash 1017 has a batch price at 2 providers, from USD 0.135 at 3:1 (Doubleword); GLM 4.7 Flash has no batch price on file.
- For the one-developer coding agent preset, the gap is USD 153.38 a year in DeepSeek V4.1 Flash 1017's favour (DeepSeek V4.1 Flash 1017 USD 57.42 a month, GLM 4.7 Flash USD 70.20).
DeepSeek V4.1 Flash 1017 and GLM 4.7 Flash prices side by side
USD per 1M tokens, standard tier. "Cheapest" is the lowest price at 3 input tokens to 1 output token; each line can come from a different provider.
| Price | DeepSeek V4.1 Flash 1017 | GLM 4.7 Flash |
|---|---|---|
| Model page | DeepSeek V4.1 Flash 1017 DeepSeek · 23 providers | GLM 4.7 Flash Z.ai · 6 providers |
| Cheapest standard price, blended 3:1 | USD 0.1425 lower USD 0.09 in / USD 0.30 out at Sail Research Sail Research page checked 2026-11-16 | USD 0.145 USD 0.06 in / USD 0.40 out at Cloudflare Workers AI Cloudflare Workers AI page checked 2026-11-14 |
| Cheapest input | USD 0.09 Sail Research source | USD 0.06 lower Cloudflare Workers AI source |
| Cheapest cached input | USD 0.0024 lower River source | USD 0.01 Novita AI source |
| Cheapest output | USD 0.294 lower promo DeepInfra source | USD 0.40 Cloudflare Workers AI source |
| Maker's own API | USD 0.30 / USD 1.20 DeepSeek source | Z.ai publishes no paid standard price on its own API that we found. |
| Median standard price | USD 0.30 / USD 1.20 input / output, 23 prices | USD 0.07 / USD 0.40 input / output, 5 prices |
| Context window | 1,048,576 tokens, largest stated; from 262,144 at some providers | 202,752 tokens, largest stated; from 200,000 at some providers |
| Providers with a standard price | 23 | 6 (1 free, unranked) |
- Lower marks the lower price on a line; tie, equal prices. Other tiers and free rows are on the model pages.
- Promo: the provider calls the price promotional or discounted, so it is current now and can end without notice.
Report a wrong price or number (email to info@broadnet.ai, with this page's link filled in).
What do DeepSeek V4.1 Flash 1017 and GLM 4.7 Flash cost for a real workload?
30 days at each model's cheapest standard price for the workload (presets of the cost calculator; cached input at the cached price where listed).
| Workload | DeepSeek V4.1 Flash 1017 | GLM 4.7 Flash | Difference |
|---|---|---|---|
| Support chatbot 2,000 requests a day, 1,500 input tokens (60% cached), 300 output | USD 8.96 Sail Research | USD 10.26 Featherless | USD 1.29 DeepSeek V4.1 Flash 1017 lower |
| RAG over documents 1,000 requests a day, 8,000 input tokens (30% cached), 500 output | USD 20.05 Sail Research | USD 17.91 Featherless | USD 2.14 GLM 4.7 Flash lower |
| Coding agent (one developer) 1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning | USD 57.42 DeepInfra | USD 70.20 Novita AI | USD 12.78 DeepSeek V4.1 Flash 1017 lower |
The cheaper model depends on the workload: DeepSeek V4.1 Flash 1017 for Support chatbot, GLM 4.7 Flash for RAG over documents, DeepSeek V4.1 Flash 1017 for Coding agent (one developer). Cache-heavy work rewards a low cached-input price. The widest gap is on Coding agent (one developer): the dearer model costs 22% more than the cheaper one.
Does the cheaper model change with your input:output ratio?
The cheaper model changes with the mix: below 3.3 input tokens per output token, DeepSeek V4.1 Flash 1017 is cheaper; above 3.3, GLM 4.7 Flash is cheaper. At the site's 3:1 blend, DeepSeek V4.1 Flash 1017 is cheaper. More input per output token, as with retrieval or agents that resend long contexts, favours the lower input price; long answers favour the lower output price.
| Input : output tokens | DeepSeek V4.1 Flash 1017 | GLM 4.7 Flash |
|---|---|---|
| 1 : 3 (long answers) | USD 0.245 lower DeepInfra | USD 0.315 Cloudflare Workers AI |
| 1 : 1 | USD 0.195 lower Sail Research | USD 0.23 Cloudflare Workers AI |
| 3 : 1 (the site’s blend) | USD 0.1425 lower Sail Research | USD 0.145 Cloudflare Workers AI |
| 10 : 1 (retrieval, long prompts) | USD 0.1091 Sail Research | USD 0.09091 lower Cloudflare Workers AI |
| 30 : 1 (agents, big contexts) | USD 0.09677 Sail Research | USD 0.07097 lower Cloudflare Workers AI |
USD per 1M tokens at the cheapest standard provider for each mix, before cache discounts. Thinking tokens bill as output.
What do DeepSeek V4.1 Flash 1017 and GLM 4.7 Flash cost per character in other languages?
Not measured: the real cost by language dataset covers only tokenizers we could measure from published files, and GLM 4.7 Flash is not among them. Count tokens on your own text with the counters below.
Check it on your own traffic
- DeepSeek V4.1 Flash 1017 API pricing: all 23 providers and other tiers.
- GLM 4.7 Flash API pricing: all 6 providers and other tiers.
- Cost calculator with DeepSeek V4.1 Flash 1017 and GLM 4.7 Flash preloaded
- DeepSeek token counter
- GLM token counter
- Prompt caching calculator
More comparisons: DeepSeek V4.1 Flash 1017 vs DeepSeek V4.1 Flash · DeepSeek V4.1 Flash 1017 vs Gemma 4 26B A4B · GLM 5.3 Flash vs GLM 4.7 Flash · GLM 4.7 Flash vs GLM 4.7 · every DeepSeek V4.1 Flash 1017 comparison · every GLM 4.7 Flash comparison · all 662 price comparisons
Questions
Is DeepSeek V4.1 Flash 1017 cheaper than GLM 4.7 Flash?
Yes. On a blend of 3 input tokens to 1 output token, DeepSeek V4.1 Flash 1017 costs USD 0.1425 per 1M tokens and GLM 4.7 Flash USD 0.145, at each model's cheapest standard price. For input alone, GLM 4.7 Flash is cheaper (USD 0.06 against USD 0.09 per 1M); for output alone, DeepSeek V4.1 Flash 1017 is (USD 0.294 against USD 0.40). This compares price only, not quality.
What do DeepSeek V4.1 Flash 1017 and GLM 4.7 Flash cost per 1M tokens?
DeepSeek V4.1 Flash 1017: from USD 0.09 input and USD 0.30 output at Sail Research; DeepSeek's own API charges USD 0.30 / USD 1.20; median of 23 standard prices USD 0.30 / USD 1.20. GLM 4.7 Flash: from USD 0.06 input and USD 0.40 output at Cloudflare Workers AI; median of 5 standard prices USD 0.07 / USD 0.40. Each price is read from the provider's own pricing page; the source is linked in the table.
Which providers sell both DeepSeek V4.1 Flash 1017 and GLM 4.7 Flash?
4 providers have a standard price for both: GMI Cloud (USD 0.315 and USD 0.1525 at 3:1), Featherless (USD 0.3938 and USD 0.149 at 3:1), Cloudflare Workers AI (USD 0.525 and USD 0.145 at 3:1), Novita AI (USD 0.525 and USD 0.1525 at 3:1). The first is the lowest combined price. Buying each model from its own cheapest provider costs USD 0.1425 and USD 0.145.
Which is cheaper for a coding agent or a chatbot, DeepSeek V4.1 Flash 1017 or GLM 4.7 Flash?
For a coding agent (1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning): USD 57.42 a month on DeepSeek V4.1 Flash 1017 (DeepInfra) against USD 70.20 on GLM 4.7 Flash (Novita AI), a difference of USD 12.78. For a support chatbot (2,000 requests a day, 1,500 input tokens (60% cached), 300 output): USD 8.96 a month on DeepSeek V4.1 Flash 1017 (Sail Research) against USD 10.26 on GLM 4.7 Flash (Featherless), a difference of USD 1.29. Each uses the cheapest standard price for that workload, cached input included. Try your own numbers.
At what input:output ratio does the cheaper of DeepSeek V4.1 Flash 1017 and GLM 4.7 Flash change?
The cheaper model changes with the mix: below 3.3 input tokens per output token, DeepSeek V4.1 Flash 1017 is cheaper; above 3.3, GLM 4.7 Flash is cheaper. At the site's 3:1 blend, DeepSeek V4.1 Flash 1017 is cheaper. More input per output token, as with retrieval or agents that resend long contexts, favours the lower input price; long answers favour the lower output price.
Do DeepSeek V4.1 Flash 1017 and GLM 4.7 Flash have cached input pricing?
DeepSeek V4.1 Flash 1017 from USD 0.0024 per 1M cached input tokens (River; 23 of 23 standard prices list a discount). GLM 4.7 Flash from USD 0.01 per 1M cached input tokens (Novita AI; 2 of 5 standard prices list a discount). Cached tokens are billed at the input price where no cache price is published.
Which has the larger context window, DeepSeek V4.1 Flash 1017 or GLM 4.7 Flash?
DeepSeek V4.1 Flash 1017: up to 1,048,576 tokens, against 202,752 for GLM 4.7 Flash, as stated on providers' pricing pages. Some providers offer less than the maximum; check the model pages before you pick the cheapest row for long prompts.
Read as MarkdownAsk ChatGPTAsk ClaudeAsk Perplexity
Sources
- Sail Research: pricing (checked 2026-11-16)
- DeepInfra: pricing (checked 2026-11-14)
- River: pricing (checked 2026-11-16)
- DeepSeek: own API pricing (checked 2026-11-14)
- Cloudflare Workers AI: pricing (checked 2026-11-14)
- Novita AI: pricing (checked 2026-11-14)
- Featherless: pricing (checked 2026-11-15)
- GMI Cloud: pricing (checked 2026-11-15)
- GMI Cloud: pricing (checked 2026-11-15)
- Featherless: pricing (checked 2026-11-15)
- Doubleword: pricing (checked 2026-11-16)