ZMIME
Comparison · 3 models · Updated Nov 18, 2026

Claude Sonnet 4.6 vs GLM-5.2 vs Gemini 3 Pro Preview

Gemini 3 Pro Preview comes out ahead, 65 to 61 and 61 on our weighted score, though GLM-5.2 is 2.1× cheaper per token.

Price in rating: Included · Exclude price

  1. Anthropic

    Claude Sonnet 4.6

    Released Feb 17, 2026

    61/100
    • ECI152.9
    • Price$3.00 / $15.00
    • Context1M
  2. Z.ai (Zhipu)

    GLM-5.2

    Released Jun 13, 2026

    61/100
    • ECI153.0
    • Price$1.40 / $4.40
    • Context1M
  3. Our pick

    Google

    Gemini 3 Pro Preview

    Released Nov 18, 2025

    65/100
    • ECI153.0
    • Price$2.00 / $12.00
    • Context1.05M
01 — Verdict

Gemini 3 Pro Preview is our pick

Gemini 3 Pro Preview is the better all-round choice, scoring 65/100 against Claude Sonnet 4.6 (61) and GLM-5.2 (61). It leads on inputs & features. GLM-5.2 wins on price. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.

  • CapabilityGLM-5.2 and Gemini 3 Pro PreviewCapabilities Index (ECI): GLM-5.2 153.0 · Gemini 3 Pro Preview 153.0 · Claude Sonnet 4.6 152.9
  • Lowest priceGLM-5.2GLM-5.2 $2.15 · Gemini 3 Pro Preview $4.50 · Claude Sonnet 4.6 $6.00 per 1M tokens (3:1 blend)
  • Longest contextGemini 3 Pro PreviewGemini 3 Pro Preview 1,048,576 · Claude Sonnet 4.6 1,000,000 · GLM-5.2 1,000,000 tokens
  • Widest inputsGemini 3 Pro PreviewClaude Sonnet 4.6: Text, Images, PDFs · GLM-5.2: Text · Gemini 3 Pro Preview: Text, Images, PDFs, Audio, Video
  • Self-hostingGLM-5.2Publishes downloadable weights
How the score is built
MeasureWeightClaude Sonnet 4.6GLM-5.2Gemini 3 Pro Preview
CapabilityCapabilities Index (ECI)50%808080
Price25%123318
Inputs & features15%804590
Context window10%646465
Overall100%61/10061/10065/100
02 — Side by side

Every spec in one table

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

Claude Sonnet 4.6 vs GLM-5.2 vs Gemini 3 Pro Preview specifications side by side
SpecificationClaude Sonnet 4.6AnthropicGLM-5.2Z.ai (Zhipu)Gemini 3 Pro PreviewGoogle
Capability
Capabilities Index (ECI)152.9153.0 (best)153.0 (best)
ECI rank#56 of 158#54 of 158 (best)#55 of 158
GPQA DiamondGraduate-level science questions87.4%91.9%92.6% (best)
FrontierMath Tiers 1–3Research-level mathematics—59.2%—
OTIS Mock AIME 2024–2025Competition mathematics85.8%86.4%91.4% (best)
SWE-bench VerifiedFixing real GitHub issues75.2%78.7% (best)72.9%
SimpleQA VerifiedShort factual questions35.5% (best)34.2%—
Price per million tokens
Input$3.00$1.40 (best)$2.00
Output$15.00$4.40 (best)$12.00
Cached input$0.30$0.26 (best)—
Blended (3:1)$6.00$2.15 (best)$4.50
Long-context rateSame rateSame rateSame rate
Price sourceOfficial Anthropic APIOfficial Z.AI APIMedian of 6 providers
Limits
Context window1,000,000 tokens1,000,000 tokens1,048,576 tokens (best)
Max output64,000 tokens131,072 tokens (best)65,536 tokens
Inputs and features
TextYesYesYes
ImagesYesNoYes
PDFsYesNoYes
AudioNoNoYes
VideoNoNoYes
ReasoningYeslow · medium · high · maxYeshigh · maxYes
Tool callingYesYesYes
Structured outputYesYesNo
Availability
WeightsProprietaryOpenProprietary
API model IDclaude-sonnet-4-6glm-5.2—
API providers5789 (best)8
ReleasedFeb 17, 2026Jun 13, 2026Nov 18, 2025
Knowledge cutoffAug 31, 2025—Jan 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.

  • Claude Sonnet 4.6$60.00
  • GLM-5.2$22.80
  • Gemini 3 Pro Preview$44.00
04 — Questions

Which should you choose?

Which is better: Claude Sonnet 4.6, GLM-5.2 or Gemini 3 Pro Preview?

Gemini 3 Pro Preview is the better all-round choice, scoring 65/100 against Claude Sonnet 4.6 (61) and GLM-5.2 (61). It leads on inputs & features. GLM-5.2 wins on price. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.

Which is cheaper, Claude Sonnet 4.6, GLM-5.2 or Gemini 3 Pro Preview?

GLM-5.2 is cheaper at $1.40 input / $4.40 output per million tokens (official Z.AI API price). Gemini 3 Pro Preview costs $2.00 input / $12.00 output per million tokens (median across 6 API providers); Claude Sonnet 4.6 costs $3.00 input / $15.00 output per million tokens (official Anthropic API price). At a typical mix of three input tokens to one output token, that is $2.15 per million tokens for GLM-5.2 versus $4.50 for Gemini 3 Pro Preview (2.1× as much) and $6.00 for Claude Sonnet 4.6 (2.8× as much).

Which scores higher on benchmarks?

GLM-5.2 scores higher on the Capabilities Index (ECI): GLM-5.2 153.0 (#54 of 158), Gemini 3 Pro Preview 153.0 (#55 of 158) and Claude Sonnet 4.6 152.9 (#56 of 158). The confidence ranges of the top two overlap (151.4–154.9 vs 151.5–154.8), so treat the gap as small. On individual benchmarks: GPQA Diamond — Gemini 3 Pro Preview 92.6%, GLM-5.2 91.9%, Claude Sonnet 4.6 87.4%; OTIS Mock AIME 2024–2025 — Gemini 3 Pro Preview 91.4%, GLM-5.2 86.4%, Claude Sonnet 4.6 85.8%; SWE-bench Verified — GLM-5.2 78.7%, Claude Sonnet 4.6 75.2%, Gemini 3 Pro Preview 72.9%.

Which is better for coding?

GLM-5.2 resolves more real GitHub issues on SWE-bench Verified: GLM-5.2 78.7%, Claude Sonnet 4.6 75.2% and Gemini 3 Pro Preview 72.9%. All three support tool calling for agent workflows.

Which has the bigger context window?

Gemini 3 Pro Preview has the largest context window at 1,048,576 tokens, against 1,000,000 for Claude Sonnet 4.6 and 1,000,000 for GLM-5.2. Maximum output per response: Claude Sonnet 4.6 up to 64,000, GLM-5.2 up to 131,072, Gemini 3 Pro Preview up to 65,536 tokens.

Which can read images, PDFs, audio or video?

Claude Sonnet 4.6 accepts text, images and PDFs; GLM-5.2 accepts text; Gemini 3 Pro Preview accepts text, images, PDFs, audio and video. Gemini 3 Pro Preview handles the widest range of inputs.

Are any of these open source?

GLM-5.2 publishes its weights and can be self-hosted; Claude Sonnet 4.6 and Gemini 3 Pro Preview is proprietary.

Which is newer?

GLM-5.2 is the newest, released Jun 13, 2026. Claude Sonnet 4.6 came out Feb 17, 2026; Gemini 3 Pro Preview came out Nov 18, 2025. Knowledge cutoff: Claude Sonnet 4.6 Aug 31, 2025, Gemini 3 Pro Preview Jan 2025.

How do you decide the winner?

This rating uses capability (50%, independent benchmark results); price (25%, blended price per million tokens (3 input : 1 output), log scale); inputs & features (15%, image, PDF, audio and video input, tool calling, structured output and reasoning); context window (10%, 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.