Gemma 4 31B IT vs GLM-4.7-FlashX.

model vs model · prices as of

Gemma 4 31B IT and GLM-4.7-FlashX split the 5 rounds this table counts: the two list price rows, the cheapest price we can explain, the standard price and context. The weighting you pick decides the rest.

Google

Gemma 4 31B IT

$0.61/M tokens

OpenRouter list price, nothing below it is accounted for · $0.0744 per 1,000 pages

262k context · tool calling · reads images · open weights

Z.ai

GLM-4.7-FlashX

$0.58/M tokens

cheapest we can explain, at Vercel AI Gateway · $0.06 per 1,000 pages

200k context · tool calling · open weights

List price in (lower wins)

$0.09/M

$0.07/M

List price out (lower wins)

$0.34/M

$0.40/M

Cheapest we can explain (lower wins)

none below list

$0.58/M at Vercel AI Gateway

Standard price (lower wins)

$0.61/M

$0.61/M

Cost per 1,000 pages (lower wins)

$0.0744

$0.06

Context

262k tokens

200k tokens

Open weights

yes

yes

Tool calling

yes

yes

Structured output

yes

not stated

Reads images

yes

no

Reasoning

yes

yes

Released

2 Apr 2026

19 Jan 2026

Providers selling it

40

8

Price we measure against

OpenRouter

the maker's own

Trains on your prompts (no is better)

no provider to check

not stated

Providers selling both · 4

  • LLM Gateway$0.55 / $0.61
  • Vercel AI Gateway$0.82 / $0.58
  • LLMTR$0.82 / $0.61
  • Merge Gateway$0.82 / $0.61

Gemma 4 31B IT then GLM-4.7-FlashX, per million tokens

Go further

Add a third or fourth model, or switch the weighting, in the tool.

What moved in the last seven days

  1. Gemma 4 31B ITNous Portal$0.07 / $0.27 $0.09 / $0.3425% dearer ·
  2. Gemma 4 31B ITLLM Gateway$0.10 / $0.30 $0.10 / $0.259% cheaper ·
  3. Gemma 4 31B ITRequesty$0.40 / $0.60 $0.13 / $0.3857% cheaper ·
  4. GLM-4.7-FlashXOfox$0.07 / $0.43 $0.07 / $0.405% cheaper ·

Frequently asked

Which is cheaper, Gemma 4 31B IT or GLM-4.7-FlashX?
GLM-4.7-FlashX, at $0.58 per million tokens against $0.61 for Gemma 4 31B IT, three parts input to one part output, read on 16 Sept 2026.
Where is each one cheapest?
Gemma 4 31B IT: nobody goes below OpenRouter's own price with a reason we can point at, so $0.61 is the number to beat. GLM-4.7-FlashX: $0.58 at Vercel AI Gateway.
Can I buy both from one provider?
Yes. 4 providers sell both: LLM Gateway, Vercel AI Gateway, LLMTR, Merge Gateway. The cheapest of them for the two together is LLM Gateway.
Which holds more context?
Gemma 4 31B IT, at 262k tokens against 200k.

Prices exclude tax and are per million tokens, read 16 Sept 2026 from each provider's own catalog. The standard price blends three parts input to one part output; a page is 600 tokens in and 60 out. Bars are scaled to the larger value in each row.

Related head-to-headsGemma 4 31B IT vs Llama-3.3-70B-InstructGLM-4.7-FlashX vs Llama-3.3-70B-InstructMorecompare any two modelsevery model we track