BroadRouter

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).

Picked by the same-tier rule: both are in the first quarter of the indexed models by price (below USD 0.1556 per 1M tokens at 3:1) and in the same size class, small (a tier word such as Flash, Mini or Haiku, or 40B parameters or fewer). GLM 4.7 Flash is the 2nd-closest-priced model from another maker to DeepSeek V4.1 Flash 1017 in that bucket. Price only: every number is computed from prices read from each provider's own pricing page (linked per cell, newest check 2026-11-16), with no claim about quality, speed or accuracy.

How do DeepSeek V4.1 Flash 1017 and GLM 4.7 Flash differ on price?

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.

DeepSeek V4.1 Flash 1017 and GLM 4.7 Flash API prices compared
PriceDeepSeek V4.1 Flash 1017GLM 4.7 Flash
Model pageDeepSeek V4.1 Flash 1017
DeepSeek · 23 providers
GLM 4.7 Flash
Z.ai · 6 providers
Cheapest standard price, blended 3:1USD 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 inputUSD 0.09
Sail Research source
USD 0.06 lower
Cloudflare Workers AI source
Cheapest cached inputUSD 0.0024 lower
River source
USD 0.01
Novita AI source
Cheapest outputUSD 0.294 lower promo
DeepInfra source
USD 0.40
Cloudflare Workers AI source
Maker's own APIUSD 0.30 / USD 1.20
DeepSeek source
Z.ai publishes no paid standard price on its own API that we found.
Median standard priceUSD 0.30 / USD 1.20
input / output, 23 prices
USD 0.07 / USD 0.40
input / output, 5 prices
Context window1,048,576 tokens, largest stated; from 262,144 at some providers202,752 tokens, largest stated; from 200,000 at some providers
Providers with a standard price236 (1 free, unranked)

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).

Monthly cost of three workloads on DeepSeek V4.1 Flash 1017 and GLM 4.7 Flash
WorkloadDeepSeek V4.1 Flash 1017GLM 4.7 FlashDifference
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.

Price per 1M tokens of DeepSeek V4.1 Flash 1017 and GLM 4.7 Flash at different input:output mixes
Input : output tokensDeepSeek V4.1 Flash 1017GLM 4.7 Flash
1 : 3 (long answers)USD 0.245 lower
DeepInfra
USD 0.315
Cloudflare Workers AI
1 : 1USD 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

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