LLM Comparison

GLM-5.3-Flash vs Phi 4

Side-by-side specs, pricing & capabilities · Updated December 2026

Price vs Intelligence

785839190$0.07$0.16$0.25$0.33$0.42Avg Price per M tokensIntelligenceGLM-5.3-Flash67.9 / $0.33Phi 48.4 / $0.10

Add to comparison

2/6 models
Same tier:
 Z.aiGLM-5.3-FlashMicrosoftPhi 4
OrganizationZ.aiZ.aiMicrosoftMicrosoft
OpenTools Score
68
209
8
82.0
FamilyGLMPhi
StatusCurrentCurrent
Release DateAug 2026Jan 2025
Context Window1.0M tokens16K tokens
Input Price$0.15/M tokens$0.07/M tokens
Output Price$0.50/M tokens$0.14/M tokens
Pricing NotesVercel AI Gateway US and the direct Z.ai Flash API each list $0.15 input, $0.03 cache reads, and $0.50 output per million tokens. Direct FlashX is a separate higher-speed API tier: $0.37 input, $0.075 cache reads, and $1.25 output. Z.ai lists half the usual Flash quota use on its Coding Plan from November 24 to December 24, 2026; this does not change API prices. FlashX is not included in the plan. Fireworks Flex for GLM-5.3-Flash uses accounts/fireworks/routers/glm-5p3-flash-flex at $0.075 input, $0.015 cached input, and $0.25 output per million tokens. It trades slower responses for a lower price and is distinct from Z.ai FlashX and the Coding Plan.—
Capabilities
textvisionvideo-inputcodetool-usereasoninglong-contextopen-weights
textcode
Training CutoffNot disclosed—
Max Output131K tokens16K tokens
API Identifierz-ai/glm-5.3-flashmicrosoft/phi-4
Benchmarks
Artificial Analysis Intelligence Index v4.1.1
57artificial-analysis
—
MMLU
88.1official
—
Artificial Analysis Intelligence Index v4.3
41.9074artificial-analysis
—
GPQA Diamond
91.2121artificial-analysis
57.4747artificial-analysis
SciCode
51.6204artificial-analysis
—
Terminal-Bench 2.1
84.2697artificial-analysis
—
Artificial Analysis Intelligence Index v5.0.2 (Max)
27.742995221489artificial-analysis
—
AIME 2025—
18artificial-analysis
 View GLM-5.3-FlashView Phi 4

Cost Calculator

Enter your expected monthly token usage to compare costs.

ModelInputOutputTotal / movs Best
Phi 4Cheapest$0.07$0.07$0.14—
GLM-5.3-Flash$0.15$0.25$0.40+196%

Looking for more AI models?

Browse All LLMs