Decision support

MAI Code 2 vs GLM-5.4

Compare canonical objects directly. The useful dimensions change with the object type, so model and hardware comparisons stay separate.

MAI Code 2

Microsoft AI

Sources:models.dev

GLM-5.4

Z.ai

Sources:models.dev

Benchmark results

No benchmark results have been matched to these models yet.

Model specifications

Release date
November 17, 2026
November 23, 2026
Context window
1.1M
1M
Native context
—
—
Max output tokens
128,000
131,072
Knowledge cutoff
—
—
Open weights
Closed
Closed
Parameter count
—
—

API pricing · USD per 1M tokens

Input
—
—
Output
—
—
Cached input
—
—
Cache write
—
—

Capabilities and modalities

Input modalities
text, image
text, image, video, file
Output modalities
text
text
Tool calling
Supported
Supported
Reasoning option
Supported
Supported
Supported options
tools, reasoning
tools, reasoning, temperature
Capabilities
—
—

Architecture and availability

Architecture
—
—
Model families
—
—
Tokenizer
—
—
Instruction format
—
—
License
—
—
Providers
0
0
Provider endpoints
0
0
Ollama variants
0
0
Metadata source
ai-research
models.dev

A dash means the field is not reported. Provider-specific performance and pricing may differ.

To give you the best experience, we use cookies for personalization, insights, and performance. Learn more.