ZMIME
Comparison · 2 models · Updated Nov 2, 2026

GPT-5 Nano vs GLM-4.7

GPT-5 Nano comes out ahead, 68 to 55 on our weighted score, and it is the cheaper option too.

  1. Our pick

    OpenAI

    GPT-5 Nano

    Released Aug 7, 2025

    68/100
    • ECI139.3
    • Price$0.05 / $0.40
    • Context400K
  2. Z.ai (Zhipu)

    GLM-4.7

    Released Dec 22, 2025

    55/100
    • ECI143.7
    • Price$0.60 / $2.20
    • Context205K
  3. Add a model

    Make it a three-way comparison.

01 — Verdict

GPT-5 Nano is our pick

GPT-5 Nano is the better all-round choice, scoring 68/100 against GLM-4.7 (55). It leads on price, inputs & features and context window. GLM-4.7 wins on capability. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.

  • CapabilityGLM-4.7Capabilities Index (ECI): GLM-4.7 143.7 · GPT-5 Nano 139.3
  • Lowest priceGPT-5 NanoGPT-5 Nano $0.138 · GLM-4.7 $1.00 per 1M tokens (3:1 blend)
  • Longest contextGPT-5 NanoGPT-5 Nano 400,000 · GLM-4.7 204,800 tokens
  • Widest inputsGPT-5 NanoGPT-5 Nano: Text, Images · GLM-4.7: Text
  • Self-hostingGLM-4.7Publishes downloadable weights
How the score is built
MeasureWeightGPT-5 NanoGLM-4.7
CapabilityCapabilities Index (ECI)50%6369
Price25%8748
Inputs & features15%7035
Context window10%4432
Overall100%68/10055/100
02 — Side by side

Every spec in one table

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

GPT-5 Nano vs GLM-4.7 specifications side by side
SpecificationGPT-5 NanoOpenAIGLM-4.7Z.ai (Zhipu)
Capability
Capabilities Index (ECI)139.3143.7 (best)
ECI rank#116 of 165#94 of 165 (best)
GPQA DiamondGraduate-level science questions69.4%83.3% (best)
FrontierMath Tiers 1–3Research-level mathematics20.0%—
OTIS Mock AIME 2024–2025Competition mathematics81.1%83.3% (best)
SimpleQA VerifiedShort factual questions11.7%32.2% (best)
Price per million tokens
Input$0.05 (best)$0.60
Output$0.40 (best)$2.20
Cached input$0.005 (best)$0.11
Blended (3:1)$0.138 (best)$1.00
Long-context rateSame rateSame rate
Price sourceOfficial OpenAI APIOfficial Z.AI API
Limits
Context window400,000 tokens (best)204,800 tokens
Max output128,000 tokens131,072 tokens (best)
Inputs and features
TextYesYes
ImagesYesNo
PDFsNoNo
AudioNoNo
VideoNoNo
ReasoningYesminimal · low · medium · highYes
Tool callingYesYes
Structured outputYesNo
Availability
WeightsProprietaryOpen
API model IDgpt-5-nanoglm-4.7
API providers3031 (best)
ReleasedAug 7, 2025Dec 22, 2025
Knowledge cutoffMay 30, 2024Apr 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.

  • GPT-5 Nano$1.30
  • GLM-4.7$10.40
04 — Questions

Which should you choose?

Which is better: GPT-5 Nano or GLM-4.7?

GPT-5 Nano is the better all-round choice, scoring 68/100 against GLM-4.7 (55). It leads on price, inputs & features and context window. GLM-4.7 wins on capability. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.

Which is cheaper, GPT-5 Nano or GLM-4.7?

GPT-5 Nano is cheaper at $0.05 input / $0.40 output per million tokens (official OpenAI API price). 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.138 per million tokens for GPT-5 Nano versus $1.00 for GLM-4.7 (7.3× as much).

Which scores higher on benchmarks?

GLM-4.7 scores higher on the Capabilities Index (ECI): GLM-4.7 143.7 (#94 of 165) and GPT-5 Nano 139.3 (#116 of 165). The confidence ranges of the top two overlap (141.4–145.8 vs 134.3–141.5), so treat the gap as small. On individual benchmarks: GPQA Diamond — GLM-4.7 83.3%, GPT-5 Nano 69.4%; OTIS Mock AIME 2024–2025 — GLM-4.7 83.3%, GPT-5 Nano 81.1%; SimpleQA Verified — GLM-4.7 32.2%, GPT-5 Nano 11.7%.

Which is better for coding?

There are no published SWE-bench Verified results for GPT-5 Nano 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. Both support tool calling for agent workflows.

Which has the bigger context window?

GPT-5 Nano has the largest context window at 400,000 tokens, against 204,800 for GLM-4.7. Maximum output per response: GPT-5 Nano up to 128,000, GLM-4.7 up to 131,072 tokens.

Which can read images, PDFs, audio or video?

GPT-5 Nano accepts text and images; GLM-4.7 accepts text. GPT-5 Nano handles the widest range of inputs.

Are any of these open source?

GLM-4.7 publishes its weights and can be self-hosted; GPT-5 Nano is proprietary.

Which is newer?

GLM-4.7 is the newest, released Dec 22, 2025. GPT-5 Nano came out Aug 7, 2025. Knowledge cutoff: GPT-5 Nano May 30, 2024, GLM-4.7 Apr 2025.

How do you decide the winner?

Each model gets a 0–100 score on 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 2, 2026.