Model comparison · accepted catalogue facts 2026-11-22

GLM 4.7 Flash vs GLM 5.1

Neither model has both an equal-or-higher measured score and an equal-or-lower estimated price in this pair. Retaining your current model is a valid outcome.

Both models belong to the Z.ai GLM family. Inclusion does not recommend either model. This is a direct pair comparison; global frontier membership is not its verdict.

GLM 4.7 Flash

LMArena general · Elo · higher is better

Scale starts at 1040 Elo

1350.7

Balanced effective USD / 1M tokens · lower is better

$0.145/M

Price under confirmation since Nov 21, 2026
GLM 5.1

LMArena general · Elo · higher is better

Scale starts at 1040 Elo

1462.5

Balanced effective USD / 1M tokens · lower is better

$1.40/M

In-Depth Analysis

GLM 4.7 Flash vs GLM 5.1: Measured Technical Breakdown

Comprehensive comparison across measured human-preference evaluation, effective production token costs, architectural limits, and migration trade-offs.

Measured Capability (LMArena)
GLM 5.1 leads by 111.8 Elo

GLM 4.7 Flash: 1350.7 ±5.69 · GLM 5.1: 1462.5 ±3.51 Statistically significant preference separation

Cost Comparison Across Canonical Production Workloads

Rates represent effective cost per 1M tokens under standard token blends. Cached prompt reads are factored according to workload context reuse.

Workload & RatioGLM 4.7 FlashGLM 5.1Cost DifferenceAdvantage
Balanced 3 tokens in per 1 out$0.145 /1M tokens$1.40 /1M tokens$1.25 (90% diff)GLM 4.7 Flash costs less
Summarise Huge input, tiny output$0.077 /1M tokens$0.769 /1M tokens$0.692 (90% diff)GLM 4.7 Flash costs less
Chat Long cached system prompt$0.196 /1M tokens$1.46 /1M tokens$1.26 (87% diff)GLM 4.7 Flash costs less
Code gen Output dominates$0.264 /1M tokens$2.04 /1M tokens$1.77 (87% diff)GLM 4.7 Flash costs less
Agentic Context replayed each turn$0.111 /1M tokens$0.718 /1M tokens$0.607 (84% diff)GLM 4.7 Flash costs less

Architectural & Operational Specifications

SpecificationGLM 4.7 FlashGLM 5.1Operational Note
Context window200,000 tokens204,800 tokens—
Max output generation117,964 tokens131,072 tokensGLM 5.1 allows longer single-turn completions
Base input price$0.061 / 1M tokens$0.900 / 1M tokensGLM 4.7 Flash input rate is cheaper
Base output price$0.400 / 1M tokens$2.90 / 1M tokensGLM 4.7 Flash output rate is cheaper
Cached input priceNot listed / standard rate$0.090 / 1M tokens—
Reasoning & thinking tokensSupported; standard ratesSupported; standard rates—
Input modalitiestexttext—
Tool calling / function useSupportedSupported—
Open weights & licenceProprietary (API-only)Proprietary (API-only)—
Provider & reseller marketZ.ai · 2 provider offers (1.16× spread)Z.ai · 8 provider offers (1.56× spread)—

When to Choose GLM 4.7 Flash

  • Direct integration with Z.ai tooling and API features.
Risks when moving from GLM 5.1 → GLM 4.7 Flash:
  • Context window: 204,800 → 200,000 tokens.
  • Output limit: 131,072 → 117,964 tokens.

When to Choose GLM 5.1

  • Higher measured general capability (1462.5 Elo on human evaluation).
  • Larger context window (204,800 tokens) for long-document or repo-level context.
  • Higher maximum completion limit (131,072 tokens).
  • Direct integration with Z.ai tooling and API features.

Compare · model decision

Choose two or three models

Inspect the differences, estimate your workload and keep the evidence. All standard catalogue models are available, including unrated ones.

Catalogue facts
2026-11-22

2 / 3 selected · 0 requirements
Open public comparison link
Public workload and requirements

These settings are included in the share link. The fixed-request scenario and private evaluation data below are excluded.

A ↔ B

Neither model has both an equal-or-higher measured score and an equal-or-lower estimated price in this pair. Retaining your current model is a valid outcome.

Estimated blend: 75% input, 25% output; 0% cached input. Base context tier. Prompt length selects the billing tier. An unlisted cache-read rate uses that tier’s full input rate in this blend; missing required input or output rates prevent an estimate. The fixed-request estimate below validates actual context and output limits and requires a published cache-read rate when cache hits are assumed.

What changes between these models

Quality first, then estimated price. LMArena scores are human-preference measurements, not a benchmark of your application. A missing score is unrated.

  • GLM 4.7 Flash · Meets the stated model requirements
  • GLM 5.1 · Meets the stated model requirements
Material differences and unknown evidence. Deltas compare each model with model A. Unknown facts remain visible.
Measured factA GLM 4.7 FlashB GLM 5.1
LMArena general score (Elo)1,350.71,462.5Δ vs A: +111.8 Elo
Score interval half-width (± Elo)5.693.51Δ vs A: -2.18 Elo
LMArena document score (Elo)UnknownUnknown
Estimated effective USD / 1M tokens$0.145375$1.4Δ vs A: +1.254625 USD/M
Base input USD / 1M tokens$0.0605$0.9Δ vs A: +0.8395 USD/M
Base output USD / 1M tokens$0.4$2.9Δ vs A: +2.5 USD/M
Base cached-input USD / 1M tokensUnknown$0.09
Price statusUnder confirmation since 2026-11-21As of the catalogue date
Context window (tokens)200,000204,800Δ vs A: +4,800 tokens
Output limit (tokens)117,964131,072Δ vs A: +13,108 tokens
Open weightsUnknownUnknown
Recorded licenceUnknownUnknown
Distinct sellers in the catalogue28Δ vs A: +6
Serving precision differs across offersSupportedNot supportedΔ vs A: -1
Recorded retirement dateUnknownUnknown
6 shared measured facts
Shared measured facts. Deltas compare each model with model A. Unknown facts remain visible.
Measured factA GLM 4.7 FlashB GLM 5.1
Benchmark reasoning effortdefaultdefault
Input modalitiestexttext
Tool useSupportedSupportedΔ vs A: 0
ReasoningSupportedSupportedΔ vs A: 0
Model providerZ.aiZ.ai
Retirement evidenceNone announced; not a guaranteeNone announced; not a guarantee

Provider counts and precision flags describe catalogue offers. They do not establish the precision, availability, region, tool behaviour or limits of your chosen endpoint. Open each model’s provider table before switching.

Complete price ladders and billing conditions

GLM 4.7 Flash

Rates below are USD per 1M tokens. A threshold selects that whole input/output rate pair.

Input-token thresholdInputOutputCached input
Base, up to and including first threshold$0.0605$0.4Unknown

GLM 5.1

Rates below are USD per 1M tokens. A threshold selects that whole input/output rate pair.

Input-token thresholdInputOutputCached input
Base, up to and including first threshold$0.9$2.9$0.09
Migration preflight · compare each candidate with model A

Keeping GLM 4.7 Flash is a valid decision. No pairwise comparison certifies a drop-in replacement.

GLM 4.7 Flash → GLM 5.1

No known model-capability loss

  • Provider endpoint, serving precision, availability and task success need your own verification. Catalogue model capabilities do not certify an endpoint.
Check alternatives to GLM 4.7 Flash

Estimate a fixed request shape

Private to this tab unless you save locally or explicitly export private details. These are estimates, not observed invoices. Cross-model token counts and task success are assumptions.

0.1 extra attempts means 10 extra full attempts per 100 requests. Cache writes, tool charges, taxes and unlisted charges are excluded.

  • GLM 4.7 FlashEstimated total: $0.321 1,000 full attempts · base rates
  • GLM 5.1Estimated total: $3.25 1,000 full attempts · base rates
Prompt and output sensitivity · sampled scenarios

Every point recalculates the entire request shape. Tier-boundary samples include one token below, at and above each threshold. Ordering between samples is not guaranteed. Lowest known cost excludes unknown estimates and is not a replacement recommendation.

Vary input; hold output, requests, cache and retries fixed.
Input tokensGLM 4.7 FlashGLM 5.1Coverage
2,000$0.321Lowest known$3.25All computed
4,096$0.447808Lowest known$5.1364All computed
32,768$2.182464Lowest known$30.9412All computed
131,072$8.129856Lowest known$119.4148All computed
Vary output; hold input, requests, cache and retries fixed.
Output tokensGLM 4.7 FlashGLM 5.1
128$0.1722$2.1712
2,048$0.9402$7.7392
8,192$3.3978$25.5568

Bring your observed evaluation results

JSON is parsed locally. Prompts, filenames, individual responses and extra fields are not retained. Import only aggregate measurements for selected models. Task/version labels do not establish that two evaluations used the same dataset.

Expected format
[{"model":"provider/exact-model-id","task":"support-answer","version":"rubric-1","attempts":100,"successes":84,"costUsd":2.4,"latencyMs":950}]

Use the exact catalogue ID. Replace the example values with observed measurements. Omit costUsd or latencyMs when they are unknown. No public score is inferred from these observations.

Keep the decision and its evidence

A portable record retains selected facts, complete tier ladders, public requirements and the publication manifest. It also embeds the full permitted public catalogue to verify the input artifact checksum. Files are larger for this reason (up to 2 MB); local storage is limited to 12 records. Team review is local to this browser; there is no hosted collaboration.

Saving is opt-in and includes private review fields. Shared comparison links never include them. Version 1 Check references remain separate and are not overwritten or guessed into this format.

Saved local decisions · 0

No version 2 decision records are stored in this browser.

Questions this page answers

Is GLM 4.7 Flash a better-and-cheaper replacement for GLM 5.1?

Neither model has both an equal-or-higher measured score and an equal-or-lower estimated price in this pair. Retaining your current model is a valid outcome.

Which model is higher rated: GLM 4.7 Flash or GLM 5.1?

GLM 5.1 scores higher on LMArena general (1462.5 ±3.5) compared to GLM 4.7 Flash (1350.7 ±5.7), a margin of 111.8 Elo points. The measured confidence intervals do not overlap, demonstrating a statistically significant preference lead on human evaluations.

Which model is more cost-effective: GLM 4.7 Flash or GLM 5.1?

On a standard balanced workload (3 prompt tokens per 1 generated token), GLM 4.7 Flash costs $0.145 (price under confirmation since 2026-11-21) per 1M tokens versus $1.40 for GLM 5.1. GLM 5.1 is approximately 9.6× the price of GLM 4.7 Flash. Base input rates are $0.061 for GLM 4.7 Flash and $0.900 for GLM 5.1; base output rates are $0.400 for GLM 4.7 Flash and $2.90 for GLM 5.1.

How do their context windows and generation limits compare?

GLM 4.7 Flash provides a 200,000-token context window with a maximum output limit of 117,964 tokens. GLM 5.1 provides a 204,800-token context window with a maximum output of 131,072 tokens.

What capabilities are lost when switching between GLM 4.7 Flash and GLM 5.1?

Switching from GLM 4.7 Flash to GLM 5.1 causes no detected architectural capability loss. Conversely, moving from GLM 5.1 to GLM 4.7 Flash involves: Context window: 204,800 → 200,000 tokens; Output limit: 131,072 → 117,964 tokens. Run test suites on your specific prompt templates and tool declarations before cutting over production traffic.

Can GLM 4.7 Flash or GLM 5.1 be self-hosted or deployed privately?

Both GLM 4.7 Flash and GLM 5.1 are proprietary cloud models offered via managed API endpoints. GLM 4.7 Flash is served by Z.ai and 2 catalogue offers, while GLM 5.1 is served by Z.ai and 8 catalogue offers.

What is included in this comparison?

Accepted model capabilities, context and output limits, complete price-tier ladders, independent LMArena measurements and missing evidence. Provider endpoint precision and application success still need verification.

Can I compare a different workload or keep a decision record?

Yes. Change the public workload, prompt length and requirements in the comparison workspace. Fixed-request scenarios, aggregate evaluations and review notes stay local unless explicitly exported.

Evidence & Ask