ZMIME
Comparison · 3 models · Updated Nov 18, 2026

DeepSeek-R1 vs GLM-4.7 vs GPT-4.1

GPT-4.1 comes out ahead, 65 to 60 and 56 on our weighted score, though GLM-4.7 is 3.5× cheaper per token.

Price in rating: Excluded · Include price

  1. DeepSeek

    DeepSeek-R1

    Released Jan 20, 2025

    56/100
    • ECI138.6
    • Price$1.02 / $5.14
    • Context128K
  2. Z.ai (Zhipu)

    GLM-4.7

    Released Dec 22, 2025

    60/100
    • ECI143.4
    • Price$0.60 / $2.20
    • Context205K
  3. Our pick

    OpenAI

    GPT-4.1

    Released Apr 14, 2025

    65/100
    • ECI136.2
    • Price$2.00 / $8.00
    • Context1.05M
01 — Verdict

GPT-4.1 is our pick

GPT-4.1 is the better all-round choice, scoring 65/100 against GLM-4.7 (60) and DeepSeek-R1 (56). It leads on inputs & features and context window. GLM-4.7 wins on capability. The score weighs capability 67%, inputs & features 20%, context window 13%.

  • CapabilityGLM-4.7Capabilities Index (ECI): GLM-4.7 143.4 · DeepSeek-R1 138.6 · GPT-4.1 136.2
  • Lowest priceGLM-4.7GLM-4.7 $1.00 · DeepSeek-R1 $2.05 · GPT-4.1 $3.50 per 1M tokens (3:1 blend)
  • Longest contextGPT-4.1GPT-4.1 1,047,576 · GLM-4.7 204,800 · DeepSeek-R1 128,000 tokens
  • Widest inputsGPT-4.1DeepSeek-R1: Text · GLM-4.7: Text · GPT-4.1: Text, Images, PDFs
  • Self-hostingDeepSeek-R1 and GLM-4.7Publishes downloadable weights
How the score is built
MeasureWeightDeepSeek-R1GLM-4.7GPT-4.1
CapabilityCapabilities Index (ECI)67%677164
Inputs & features20%353570
Context window13%323965
Overall100%56/10060/10065/100
02 — Side by side

Every spec in one table

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

DeepSeek-R1 vs GLM-4.7 vs GPT-4.1 specifications side by side
SpecificationDeepSeek-R1DeepSeekGLM-4.7Z.ai (Zhipu)GPT-4.1OpenAI
Capability
Capabilities Index (ECI)138.6143.4 (best)136.2
ECI rank#118 of 158#99 of 158 (best)#123 of 158
GPQA DiamondGraduate-level science questions71.7%83.3% (best)66.9%
FrontierMath Tiers 1–3Research-level mathematics——6.0%
OTIS Mock AIME 2024–2025Competition mathematics53.3%83.3% (best)38.3%
SWE-bench VerifiedFixing real GitHub issues——48.5%
SimpleQA VerifiedShort factual questions—32.2% (best)31.1%
Price per million tokens
Input$1.02$0.60 (best)$2.00
Output$5.14$2.20 (best)$8.00
Cached input—$0.11 (best)$0.50
Blended (3:1)$2.05$1.00 (best)$3.50
Long-context rateSame rateSame rateSame rate
Price sourceMedian of 12 providersOfficial Z.AI APIOfficial OpenAI API
Limits
Context window128,000 tokens204,800 tokens1,047,576 tokens (best)
Max output32,768 tokens131,072 tokens (best)32,768 tokens
Inputs and features
TextYesYesYes
ImagesNoNoYes
PDFsNoNoYes
AudioNoNoNo
VideoNoNoNo
ReasoningYesYesNo
Tool callingYesYesYes
Structured outputNoNoYes
Availability
WeightsOpenOpenProprietary
API model ID—glm-4.7gpt-4.1
API providers133032 (best)
ReleasedJan 20, 2025Dec 22, 2025Apr 14, 2025
Knowledge cutoffJul 2024Apr 2025Apr 2024
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.

  • DeepSeek-R1$20.53
  • GLM-4.7$10.40
  • GPT-4.1$36.00
04 — Questions

Which should you choose?

Which is better: DeepSeek-R1, GLM-4.7 or GPT-4.1?

GPT-4.1 is the better all-round choice, scoring 65/100 against GLM-4.7 (60) and DeepSeek-R1 (56). It leads on inputs & features and context window. GLM-4.7 wins on capability. The score weighs capability 67%, inputs & features 20%, context window 13%.

Which is cheaper, DeepSeek-R1, GLM-4.7 or GPT-4.1?

GLM-4.7 is cheaper at $0.60 input / $2.20 output per million tokens (official Z.AI API price). DeepSeek-R1 costs $1.02 input / $5.14 output per million tokens (median across 12 API providers); GPT-4.1 costs $2.00 input / $8.00 output per million tokens (official OpenAI API price). At a typical mix of three input tokens to one output token, that is $1.00 per million tokens for GLM-4.7 versus $2.05 for DeepSeek-R1 (2.1× as much) and $3.50 for GPT-4.1 (3.5× 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), DeepSeek-R1 138.6 (#118 of 158) and GPT-4.1 136.2 (#123 of 158). Their confidence ranges do not overlap (141.4–145.3 vs 136.7–140.4), so the gap is a real one. On individual benchmarks: GPQA Diamond — GLM-4.7 83.3%, DeepSeek-R1 71.7%, GPT-4.1 66.9%; OTIS Mock AIME 2024–2025 — GLM-4.7 83.3%, DeepSeek-R1 53.3%, GPT-4.1 38.3%.

Which is better for coding?

There are no published SWE-bench Verified results for DeepSeek-R1 and GLM-4.7 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?

GPT-4.1 has the largest context window at 1,047,576 tokens, against 204,800 for GLM-4.7 and 128,000 for DeepSeek-R1. Maximum output per response: DeepSeek-R1 up to 32,768, GLM-4.7 up to 131,072, GPT-4.1 up to 32,768 tokens.

Which can read images, PDFs, audio or video?

DeepSeek-R1 accepts text; GLM-4.7 accepts text; GPT-4.1 accepts text, images and PDFs. GPT-4.1 handles the widest range of inputs.

Are any of these open source?

DeepSeek-R1 and GLM-4.7 publishes its weights and can be self-hosted; GPT-4.1 is proprietary.

Which is newer?

GLM-4.7 is the newest, released Dec 22, 2025. GPT-4.1 came out Apr 14, 2025; DeepSeek-R1 came out Jan 20, 2025. Knowledge cutoff: DeepSeek-R1 Jul 2024, GLM-4.7 Apr 2025, GPT-4.1 Apr 2024.

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.