DeepSeek V4.1 Flash vs Gemma 4 31B

For a typical chat reply (2,000 tokens in, 400 out), Gemma 4 31B costs 1.1× as much as DeepSeek V4.1 Flash: $0.316 against $0.29 per 1,000 requests at list price on 2026-09-28.

1.1× the price of DeepSeek V4.1 Flash, per chat reply

Cost per 1,000 chat replies, to scale
DeepSeek V4.1 Flash$0.29
Gemma 4 31B$0.316
DeepSeek V4.1 Flash vs Gemma 4 31B
DeepSeek V4.1 FlashGemma 4 31B
Input, per 1M tokens$0.025$0.09
Output, per 1M tokens$0.60$0.34
Context window1.05M262K
Classification or routing (600 tokens in, 10 out), per 1,000$0.021$0.0574
Chat reply (2,000 in, 400 out), per 1,000$0.29$0.316
Retrieval-augmented answer (8,000 in, 500 out), per 1,000$0.50$0.89
Confidence signalyesyes
Tool callingyesyes
Banking test, right of 400316304

The marked cell in each row is the cheaper, larger or more accurate of the two.

Which one should carry your traffic?

If DeepSeek V4.1 Flash answers your requests as well as Gemma 4 31B, moving that traffic saves 8% on chat-shaped requests. Averages cannot tell you whether it does for your requests. DeepSeek V4.1 Flash reports how sure it is of each word, so Gimbix can let it answer first and hand unsure cases to Gemma 4 31B.

Measure DeepSeek V4.1 Flash against Gemma 4 31B on your requests

A pilot runs both on a copy of your traffic and shows where they differ.

Request an AI cost review