AI model comparison

GPT-5.2-Codex vs GLM 5.3

Compare benchmark results, pricing, and API capabilities for each model. Estimate the cost of your own token mix.

Change models
Loading the catalog…
Markdown
Context tokens
400K
Input / 1M
$1.75
Output / 1M
$14.00
Context tokens
1.05M
Input / 1M
$0.0699
Output / 1M
$1.40
Benchmark snapshot
Code Completion
GPT-5.2-CodexGLM 5.3
86.957%
80.435%

Percent score · Result source · Test method

Catalog checked Nov 27, 202623 shared benchmark resultsRead the methodology

The trade-offs

Start with the differences that affect how this model fits your workload.

Benchmark results
GPT-5.2-Codex and GLM 5.3 scored 86.957% and 80.435%, respectively, on Code Completion. Use the test setup below to check whether it matches your workload.
Token cost
For 1 million input tokens and 250,000 output tokens, the listed rates estimate $5.25 for GPT-5.2-Codex and $0.4199 for GLM 5.3.
Context window
GLM 5.3 lists 1,048,576 tokens of context. GPT-5.2-Codex lists 400,000 tokens. Reserve space for the output before routing long inputs.

Benchmarks

Shared results come from the same published benchmark release. Reasoning effort and serving configuration can differ.

Shared benchmark profilePercentage scores from the first eight shared groups, sorted by the page evidence order.

Source Result source · Test method

GPT-5.2-CodexGLM 5.3

Code Completion

Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

86.957%
80.435%
Test configurations
GPT-5.2-Codex
gpt-5.2-codex
GLM 5.3
glm-5.3

Code Generation

Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

80.282%
77.465%
Test configurations
GPT-5.2-Codex
gpt-5.2-codex
GLM 5.3
glm-5.3

Javascript

Agentic Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

68.182%
72.727%
Test configurations
GPT-5.2-Codex
gpt-5.2-codex
GLM 5.3
glm-5.3

Python

Agentic Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

60%
60%
Test configurations
GPT-5.2-Codex
gpt-5.2-codex
GLM 5.3
glm-5.3

Typescript

Agentic Coding · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

20%
50%
Test configurations
GPT-5.2-Codex
gpt-5.2-codex
GLM 5.3
glm-5.3

Amps Hard

Mathematics · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

98%
99%
Test configurations
GPT-5.2-Codex
gpt-5.2-codex
GLM 5.3
glm-5.3

Connections

Language · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

95%
95.333%
Test configurations
GPT-5.2-Codex
gpt-5.2-codex
GLM 5.3
glm-5.3

Consecutive Events

Data Analysis · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

89.016%
72.309%
Test configurations
GPT-5.2-Codex
gpt-5.2-codex
GLM 5.3
glm-5.3
Show 15 more shared results

Integrals With Game

Mathematics · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

75%
69%
Test configurations
GPT-5.2-Codex
gpt-5.2-codex
GLM 5.3
glm-5.3

Logic With Navigation

Reasoning · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

68%
70%
Test configurations
GPT-5.2-Codex
gpt-5.2-codex
GLM 5.3
glm-5.3

Math Comp

Mathematics · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

95.098%
96.078%
Test configurations
GPT-5.2-Codex
gpt-5.2-codex
GLM 5.3
glm-5.3

Olympiad

Mathematics · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

86.997%
87.514%
Test configurations
GPT-5.2-Codex
gpt-5.2-codex
GLM 5.3
glm-5.3

Paraphrase

IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

67.05%
64.683%
Test configurations
GPT-5.2-Codex
gpt-5.2-codex
GLM 5.3
glm-5.3

Plot Unscrambling

Language · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

56.035%
60.236%
Test configurations
GPT-5.2-Codex
gpt-5.2-codex
GLM 5.3
glm-5.3

Simplify

IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

60.567%
65.85%
Test configurations
GPT-5.2-Codex
gpt-5.2-codex
GLM 5.3
glm-5.3

Spatial

Reasoning · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

94%
96%
Test configurations
GPT-5.2-Codex
gpt-5.2-codex
GLM 5.3
glm-5.3

Story Generation

IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

74.783%
72.133%
Test configurations
GPT-5.2-Codex
gpt-5.2-codex
GLM 5.3
glm-5.3

Summarize

IF · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

63.383%
74.55%
Test configurations
GPT-5.2-Codex
gpt-5.2-codex
GLM 5.3
glm-5.3

Tablejoin

Data Analysis · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

45.596%
42.346%
Test configurations
GPT-5.2-Codex
gpt-5.2-codex
GLM 5.3
glm-5.3

Tablereformat

Data Analysis · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

100%
96.078%
Test configurations
GPT-5.2-Codex
gpt-5.2-codex
GLM 5.3
glm-5.3

Theory Of Mind

Reasoning · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

78.846%
88.462%
Test configurations
GPT-5.2-Codex
gpt-5.2-codex
GLM 5.3
glm-5.3

Typos

Language · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

70%
84%
Test configurations
GPT-5.2-Codex
gpt-5.2-codex
GLM 5.3
glm-5.3

Zebra Puzzle

Reasoning · Suite release Jun 25, 2026 · run date unavailable · Result source · Test method

70%
88.75%
Test configurations
GPT-5.2-Codex
gpt-5.2-codex
GLM 5.3
glm-5.3
View individual benchmark records

These model-level records can include other benchmark releases, test configurations, and vendor-reported results.

GPT-5.2-Codex

No additional benchmark results are available for this model ID.

GLM 5.3

BenchmarkScoreConfigurationSource model labelEvidence
Long Agentic35.9%glm-5.3 · Suite release Oct 14, 2026 · run date unavailableglm-5.3Result source · Test method
Reasoning85.8%glm-5.3 · Suite release Oct 14, 2026 · run date unavailableglm-5.3Result source · Test method
Coding82.8%glm-5.3 · Suite release Oct 14, 2026 · run date unavailableglm-5.3Result source · Test method
Browser0%glm-5.3 · Suite release Oct 14, 2026 · run date unavailableglm-5.3Result source · Test method
Data Analysis70.2%glm-5.3 · Suite release Oct 14, 2026 · run date unavailableglm-5.3Result source · Test method
Research73.2%glm-5.3 · Suite release Oct 14, 2026 · run date unavailableglm-5.3Result source · Test method
Design77.3%glm-5.3 · Suite release Oct 14, 2026 · run date unavailableglm-5.3Result source · Test method

Pricing and token cost

Listed OpenRouter prices in US dollars. Actual charges depend on the endpoint, tier, cache, and token mix.

USD per million tokensGPT-5.2-CodexGLM 5.3
Uncached input$1.75$0.0699
Output$14.00$1.40
Cache read$0.175$0.0689
Cache writeUnavailableUnavailable

Rates are a catalog snapshot. OpenRouter Models API

Estimate your workload

Enter total token counts. The estimate uses uncached input and output rates.

GPT-5.2-Codex$5.25
GLM 5.3$0.4199

GLM 5.3 costs $4.8301 less at this token mix.

Model specifications

Context, output limits, modalities, and supported API parameters from the catalog.

SpecificationGPT-5.2-CodexGLM 5.3
Catalog statusListedListed
Catalog model IDopenai/gpt-5.2-codexz-ai/glm-5.3
ProviderOpenAIZ.ai
Context window400,000 tokens1,048,576 tokens
Max output128,000 tokens943,718 tokens
Input modalitiesText, ImageText
Output modalitiesTextText
Reasoning controlsListedListed
Tool callingListedListed
Structured outputsListedListed
Serving endpoints/api/v1/chat/completions, /api/v1/completions, /api/v1/messages, /api/v1/responses/api/v1/chat/completions, /api/v1/completions, /api/v1/messages, /api/v1/responses
Catalog listing dateJan 14, 2026Aug 18, 2026

Use with Weave Router

Set a quality bar on your own coding tasks. Then compare cost per completed task and use the same harness when you change models.

GPT-5.2-Codex

Weave Router availability is unverified for this model ID.

GLM 5.3

Weave Router availability is unverified for this model ID.

Catalog presence does not guarantee availability for a specific plan or account. Public Weave Router catalog · Nov 27, 2026

Explore Weave Router Read Weave Router benchmark results

Sources

Each benchmark links to its own result and test method when available.

MarkdownFull methodology