ZMIME
Comparison · 3 models · Updated Nov 18, 2026

Gemini 2.5 Flash Preview 05-20 vs GLM-4.7 vs Qwen3 235B-A22B Thinking 2507

Gemini 2.5 Flash Preview 05-20 comes out ahead, 73 to 60 and 60 on our weighted score, and it is the cheaper option too.

Price in rating: Excluded · Include price

  1. Our pick

    Google

    Gemini 2.5 Flash Preview 05-20

    Released May 20, 2025

    73/100
    • ECI141.6
    • Price$0.142 / $3.33
    • Context1.05M
  2. Z.ai (Zhipu)

    GLM-4.7

    Released Dec 22, 2025

    60/100
    • ECI143.4
    • Price$0.60 / $2.20
    • Context205K
  3. Alibaba (Qwen)

    Qwen3 235B-A22B Thinking 2507

    Released Jul 25, 2025

    60/100
    • ECI143.3
    • Price$0.30 / $2.90
    • Context262K
01 — Verdict

Gemini 2.5 Flash Preview 05-20 is our pick

Gemini 2.5 Flash Preview 05-20 is the better all-round choice, scoring 73/100 against Qwen3 235B-A22B Thinking 2507 (60) and GLM-4.7 (60). It leads on inputs & features and context window. The score weighs capability 67%, inputs & features 20%, context window 13%.

  • CapabilityGLM-4.7Capabilities Index (ECI): GLM-4.7 143.4 · Qwen3 235B-A22B Thinking 2507 143.3 · Gemini 2.5 Flash Preview 05-20 141.6
  • Lowest priceGemini 2.5 Flash Preview 05-20Gemini 2.5 Flash Preview 05-20 $0.938 · Qwen3 235B-A22B Thinking 2507 $0.95 · GLM-4.7 $1.00 per 1M tokens (3:1 blend)
  • Longest contextGemini 2.5 Flash Preview 05-20Gemini 2.5 Flash Preview 05-20 1,048,576 · Qwen3 235B-A22B Thinking 2507 262,144 · GLM-4.7 204,800 tokens
  • Widest inputsGemini 2.5 Flash Preview 05-20Gemini 2.5 Flash Preview 05-20: Text, Images, PDFs, Audio, Video · GLM-4.7: Text · Qwen3 235B-A22B Thinking 2507: Text
  • Self-hostingGLM-4.7 and Qwen3 235B-A22B Thinking 2507Publishes downloadable weights (Apache 2.0)
How the score is built
MeasureWeightGemini 2.5 Flash Preview 05-20GLM-4.7Qwen3 235B-A22B Thinking 2507
CapabilityCapabilities Index (ECI)67%697171
Inputs & features20%903535
Context window13%653943
Overall100%73/10060/10060/100
02 — Side by side

Every spec in one table

Highlighted cells lead their row. Dashes mean the data is not published.

Gemini 2.5 Flash Preview 05-20 vs GLM-4.7 vs Qwen3 235B-A22B Thinking 2507 specifications side by side
SpecificationGemini 2.5 Flash Preview 05-20GoogleGLM-4.7Z.ai (Zhipu)Qwen3 235B-A22B Thinking 2507Alibaba (Qwen)
Capability
Capabilities Index (ECI)141.6143.4 (best)143.3
ECI rank#106 of 158#99 of 158 (best)#100 of 158
GPQA DiamondGraduate-level science questions—83.3% (best)80.1%
OTIS Mock AIME 2024–2025Competition mathematics70.8%83.3%86.7% (best)
SimpleQA VerifiedShort factual questions—32.2%40.4% (best)
Price per million tokens
Input$0.142 (best)$0.60$0.30
Output$3.33$2.20 (best)$2.90
Cached input—$0.11—
Blended (3:1)$0.938 (best)$1.00$0.95
Long-context rateSame rateSame rateSame rate
Price sourceMedian of 1 providersOfficial Z.AI APIMedian of 11 providers
Limits
Context window1,048,576 tokens (best)204,800 tokens262,144 tokens
Max output65,536 tokens131,072 tokens (best)81,920 tokens
Inputs and features
TextYesYesYes
ImagesYesNoNo
PDFsYesNoNo
AudioYesNoNo
VideoYesNoNo
ReasoningYesYesYes
Tool callingYesYesYes
Structured outputNoNoNo
Availability
WeightsProprietaryOpenOpenApache 2.0
API model ID—glm-4.7—
API providers130 (best)12
ReleasedMay 20, 2025Dec 22, 2025Jul 25, 2025
Knowledge cutoffJan 2025Apr 2025—
03 — Cost

What would a month cost?

Enter your expected volume in millions of tokens. List prices only; caching and batch discounts would lower these.

  • Gemini 2.5 Flash Preview 05-20$8.07
  • GLM-4.7$10.40
  • Qwen3 235B-A22B Thinking 2507$8.80
04 — Questions

Which should you choose?

Which is better: Gemini 2.5 Flash Preview 05-20, GLM-4.7 or Qwen3 235B-A22B Thinking 2507?

Gemini 2.5 Flash Preview 05-20 is the better all-round choice, scoring 73/100 against Qwen3 235B-A22B Thinking 2507 (60) and GLM-4.7 (60). It leads on inputs & features and context window. The score weighs capability 67%, inputs & features 20%, context window 13%.

Which is cheaper, Gemini 2.5 Flash Preview 05-20, GLM-4.7 or Qwen3 235B-A22B Thinking 2507?

Gemini 2.5 Flash Preview 05-20 is cheaper at $0.142 input / $3.33 output per million tokens (median across 1 API provider). Qwen3 235B-A22B Thinking 2507 costs $0.30 input / $2.90 output per million tokens (median across 11 API providers); GLM-4.7 costs $0.60 input / $2.20 output per million tokens (official Z.AI API price). At a typical mix of three input tokens to one output token, that is $0.938 per million tokens for Gemini 2.5 Flash Preview 05-20 versus $0.95 for Qwen3 235B-A22B Thinking 2507 (1× as much) and $1.00 for GLM-4.7 (1.1× as much).

Which scores higher on benchmarks?

GLM-4.7 scores higher on the Capabilities Index (ECI): GLM-4.7 143.4 (#99 of 158), Qwen3 235B-A22B Thinking 2507 143.3 (#100 of 158) and Gemini 2.5 Flash Preview 05-20 141.6 (#106 of 158). The confidence ranges of the top two overlap (141.4–145.3 vs 141.4–145.1), so treat the gap as small. On individual benchmarks: OTIS Mock AIME 2024–2025 — Qwen3 235B-A22B Thinking 2507 86.7%, GLM-4.7 83.3%, Gemini 2.5 Flash Preview 05-20 70.8%.

Which is better for coding?

There are no published SWE-bench Verified results for Gemini 2.5 Flash Preview 05-20, GLM-4.7 and Qwen3 235B-A22B Thinking 2507 yet, so there is no like-for-like coding score. On overall capability, GLM-4.7 leads, which tends to carry over to coding, but test on your own codebase. All three support tool calling for agent workflows.

Which has the bigger context window?

Gemini 2.5 Flash Preview 05-20 has the largest context window at 1,048,576 tokens, against 262,144 for Qwen3 235B-A22B Thinking 2507 and 204,800 for GLM-4.7. Maximum output per response: Gemini 2.5 Flash Preview 05-20 up to 65,536, GLM-4.7 up to 131,072, Qwen3 235B-A22B Thinking 2507 up to 81,920 tokens.

Which can read images, PDFs, audio or video?

Gemini 2.5 Flash Preview 05-20 accepts text, images, PDFs, audio and video; GLM-4.7 accepts text; Qwen3 235B-A22B Thinking 2507 accepts text. Gemini 2.5 Flash Preview 05-20 handles the widest range of inputs.

Are any of these open source?

GLM-4.7 and Qwen3 235B-A22B Thinking 2507 publishes its weights (Apache 2.0) and can be self-hosted; Gemini 2.5 Flash Preview 05-20 is proprietary.

Which is newer?

GLM-4.7 is the newest, released Dec 22, 2025. Qwen3 235B-A22B Thinking 2507 came out Jul 25, 2025; Gemini 2.5 Flash Preview 05-20 came out May 20, 2025. Knowledge cutoff: Gemini 2.5 Flash Preview 05-20 Jan 2025, GLM-4.7 Apr 2025.

How do you decide the winner?

This rating uses capability (67%, independent benchmark results); inputs & features (20%, image, PDF, audio and video input, tool calling, structured output and reasoning); context window (13%, maximum tokens per request, log scale). Dimensions missing for any model are dropped and the remaining weights rescaled, so every model is judged on the same evidence. Specs and prices come from public model listings and the labs’ own API pages; capability scores come from independent benchmark runs. Data updated Nov 18, 2026.