Skip to main content

Head-to-head comparison

DeepSeek-V4.1-Flash vs. GLM-5.1

Compare published benchmark results from matching versions and cohorts, API pricing, and technical specifications. Any documented test setup differences remain visible.

shared result series
10
distinct benchmarks
10
latest retrieval
2026-09-29

Change model selection

Specifications

General specifications

Release date, availability, context window, architecture, and published parameter counts at a glance. Undisclosed details remain marked as unavailable.

Specifications for DeepSeek-V4.1-Flash and GLM-5.1
AttributeDeepSeek-V4.1-FlashGLM-5.1
ProviderDeepSeekZ.ai
ReleasedSep 10, 2026Apr 7, 2026
AvailabilityActiveOpen Source
Model typeOpen WeightsOpen Weights
Parameters552B744B, 40B active
ArchitectureMixture of ExpertsMixture of Experts
Context window1,000,000 tokens200,000 tokens
Knowledge cutoffNot publishedNot published
Technical sourcesModelModel, Context

Pricing

API pricing compared

The table compares official standard API rates per 1M tokens, including published cache pricing. Batch, fast, priority, regional surcharges, tool calls, and cloud platform pricing are excluded.

API pricing for DeepSeek-V4.1-Flash and GLM-5.1
Price typeDeepSeek-V4.1-FlashGLM-5.1
API input$0.15 (Off-Peak)$1.4
API output$0.6 (Off-Peak)$4.4
Cache read$0. (Off-Peak)$0.26
Cache write (5 min.)Not listedNot listed
Cache write (1 hr.)Not listedNot listed
Price verified09/23/2026 Source09/22/2026 Source
DeepSeek-V4.1-Flash: peak pricing is $0.3 input / $1.2 output per 1M tokens during Mon, Tue, Wed, Thu, Fri, 01:00-04:00 UTC; Mon, Tue, Wed, Thu, Fri, 06:00-10:00 UTC; off-peak rates apply at all other times.
DeepSeek-V4.1-FlashGLM-5.1
API inputUSD per 1M tokens, base tier
DeepSeek-V4.1-FlashLower price$0.15
GLM-5.1$1.4
API outputUSD per 1M tokens, base tier
DeepSeek-V4.1-FlashLower price$0.6
GLM-5.1$4.4
Cache readUSD per 1M tokens, base tier
DeepSeek-V4.1-FlashLower price$0.003
GLM-5.1$0.26

Key to the marks:better valuebetter, but not conclusivetie

Pricing by provider

Direct developer pricing and provider endpoint tariffs routed through OpenRouter are listed separately. Prices are in USD per 1M tokens. Context-dependent direct tiers plus regional, Flex, Priority, and other OpenRouter tariffs remain individually identifiable.

Provider pricing for DeepSeek-V4.1-Flash and GLM-5.1
ModelProviderPurchase route and tariffInput per 1M tokensOutput per 1M tokensSource
DeepSeek-V4.1-FlashDeepSeekDirect from developerStandard API$0.15$0.6Source09/23/2026
AlibabaVia OpenRouteralibaba$0.3$1.2Source10/07/2026
AtlasCloudVia OpenRouteratlas-cloud/fp8$0.141$0.564Source10/07/2026
BaiduVia OpenRouterbaidu/fp8$0.3$1.2Source10/07/2026
BaseTenVia OpenRouterbaseten/fp8#1$0.3$1.2Source10/07/2026
BaseTenVia OpenRouterbaseten/fp8#2$0.3$1.2Source10/07/2026
CoreWeaveVia OpenRoutercoreweave/fp8$0.2$0.65Source10/07/2026
DecartVia OpenRouterdecart/fp4$0.09Lowest listed price: $0.18Source10/07/2026
DeepInfraVia OpenRouterdeepinfra/fp8$0.14$0.42Source10/07/2026
DeepSeekVia OpenRouterdeepseek$0.3$1.2Source10/07/2026
DekaLLMVia OpenRouterdekallm$0.12$2.4Source10/07/2026
DigitalOceanVia OpenRouterdigitalocean$0.18$0.72Source10/07/2026
FireworksVia OpenRouterfireworks/us$0.45$1.8Source10/07/2026
GMICloudVia OpenRoutergmicloud/fp8$0.18$0.72Source10/07/2026
InferenceNetVia OpenRouterinference-net/fp8$0.039$0.3Source10/07/2026
IonstreamVia OpenRouterionstream$0.1386$1.15Source10/07/2026
MakoraVia OpenRoutermakora/fp8$0.27$1.15Source10/07/2026
ModalVia OpenRoutermodal$0.3$1.2Source10/07/2026
MorphVia OpenRoutermorph/fp8$0.15$0.471Source10/07/2026
NovitaVia OpenRouternovita/fp8$0.195$0.78Source10/07/2026
ParasailVia OpenRouterparasail/fp8$0.3$1.2Source10/07/2026
PhalaVia OpenRouterphala$0.21$0.84Source10/07/2026
RekaVia OpenRouterreka$0.105$0.84Source10/07/2026
RelaceVia OpenRouterrelace$0.044$0.3Source10/07/2026
Sail ResearchVia OpenRoutersail-research/fp4$0.08$0.4Source10/07/2026
SiliconFlowVia OpenRoutersiliconflow/fp8$0.3$1.2Source10/07/2026
StreamLakeVia OpenRouterstreamlake/fp8$0.141$0.564Source10/07/2026
TogetherVia OpenRoutertogether$0.3$1.2Source10/07/2026
VeniceVia OpenRoutervenice/fp8$0.3$1.2Source10/07/2026
WaferVia OpenRouterwaferLowest listed price: $0.038$1.2Source10/07/2026
GLM-5.1Z.aiDirect from developerStandard API$1.4$4.4Source09/22/2026
ChutesVia OpenRouterchutes/fp8$0.98$3.08Source10/07/2026
FriendliVia OpenRouterfriendli$1.4$4.4Source10/07/2026
NebiusVia OpenRouternebius/fp8$1.4$4.4Source10/07/2026
NovitaVia OpenRouternovita/fp8$1.38$4.4Source10/07/2026
PhalaVia OpenRouterphala$1.21$4.2Source10/07/2026
SiliconFlowVia OpenRoutersiliconflow/fp8$1.19$3.74Source10/07/2026
StreamLakeVia OpenRouterstreamlake/fp8Lowest listed price: $0.966Lowest listed price: $3.036Source10/07/2026
VeniceVia OpenRoutervenice/fp8$1.4014$4.4044Source10/07/2026
Z.AIVia OpenRouterz-ai/fp8$1.4$4.4Source10/07/2026

Performance

Shared benchmarks

Only published results with the same benchmark version, task, metric, and comparison cohort are paired. Different reasoning levels, agents, harnesses, or output limits appear directly in the table.

Capability profile from matched benchmarks

Each axis averages directly matched benchmark families. A value of 100 means the stronger value within this pair, not a universal quality score.

255075100CodingFinanceLegalAgentic tasksProductivityHealth
DeepSeek-V4.1-Flash
GLM-5.1
Coding: 100 / 46.8 (2 benchmark families)
Finance: 100 / 83.8 (1 benchmark family)
Legal: 99.6 / 55.8 (3 benchmark families)
Agentic tasks: 100 / 76.4 (1 benchmark family)
Productivity: 100 / 96.2 (1 benchmark family)
Health: 99.5 / 92.3 (2 benchmark families)

10 matched rows from 10 benchmark families were considered. The radar shows 6 of 6 comparable categories.

DeepSeek-V4.1-FlashGLM-5.1
Code MigrationOverall. Higher is better. No documented setup difference
DeepSeek-V4.1-FlashWinner45.623 %
GLM-5.125.768 %
Finance Agent (v2)Overall. Higher is better. No documented setup difference
DeepSeek-V4.1-FlashWinner53.481 %
GLM-5.144.792 %
Harvey's Legal Agent BenchmarkOverall · Task fully resolved. Higher is better. No documented setup difference
DeepSeek-V4.1-FlashWinner6.667 %
GLM-5.10 %
Legal Research BenchOverall · All-pass. Higher is better. No documented setup difference
DeepSeek-V4.1-FlashWinner41.346 %
GLM-5.127.885 %
LegalBenchOverall. Higher is better. No documented setup difference
DeepSeek-V4.1-Flash83.277 %
GLM-5.1Winner84.394 %
MedCodeOverall. Higher is better. No documented setup difference
DeepSeek-V4.1-Flash41.173 %
GLM-5.1Winner41.604 %
MedScribeOverall. Higher is better. No documented setup difference
DeepSeek-V4.1-FlashWinner85.5 %
GLM-5.172.27 %
Public Benefits Bench v1.1Overall. Higher is better. No documented setup difference
DeepSeek-V4.1-FlashWinner64.276 %
GLM-5.161.84 %
Terminal-Bench 2.1Overall. Higher is better. No documented setup difference
DeepSeek-V4.1-FlashWinner74.532 %
GLM-5.156.929 %
Vibe Code Bench v1.1Overall. Higher is better. No documented setup difference
DeepSeek-V4.1-FlashWinner84.739 %
GLM-5.131.456 %

Key to the marks:better valuebetter, but not conclusivetie

Benchmark scores for DeepSeek-V4.1-Flash and GLM-5.1
Benchmark and taskDeepSeek-V4.1-FlashGLM-5.1Source
Code MigrationOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is better
Winner45.623 %
25.768 %
Vals AI
Source details
Data as of: 09/27/2026
Finance Agent (v2)Overall
Test details
No documented difference in the test setupVersion: 2Metric: accuracyScoring: Higher is better
Winner53.481 %
44.792 %
Vals AI
Source details
Data as of: 09/27/2026
Harvey's Legal Agent BenchmarkOverall · Task fully resolved
Test details
No documented difference in the test setupVersion: 1Metric: task resolution rateScoring: Higher is better
Winner6.667 %
0 %
Vals AI
Source details
Data as of: 09/27/2026
Legal Research BenchOverall · All-pass
Test details
No documented difference in the test setupVersion: 1Metric: all-pass rateScoring: Higher is better
Winner41.346 %
27.885 %
Vals AI
Source details
Data as of: 09/27/2026
LegalBenchOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is better
83.277 %
Winner84.394 %
Vals AI
Source details
Data as of: 09/27/2026
MedCodeOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is better
41.173 %
Winner41.604 %
Vals AI
Source details
Data as of: 09/26/2026
MedScribeOverall
Test details
No documented difference in the test setupVersion: 1Metric: accuracyScoring: Higher is better
Winner85.5 %
72.27 %
Vals AI
Source details
Data as of: 09/26/2026
Public Benefits Bench v1.1Overall
Test details
No documented difference in the test setupVersion: 1.1Metric: accuracyScoring: Higher is better
Winner64.276 %
61.84 %
Vals AI
Source details
Data as of: 09/27/2026
Terminal-Bench 2.1Overall
Test details
No documented difference in the test setupVersion: 2.1Metric: accuracyScoring: Higher is better
Winner74.532 %
56.929 %
Vals AI
Source details
Data as of: 09/27/2026
Vibe Code Bench v1.1Overall
Test details
No documented difference in the test setupVersion: 1.1Metric: accuracyScoring: Higher is betterSettings: Harness: OpenHands
Winner84.739 %
31.456 %
Vals AI
Source details
Data as of: 09/27/2026

Key to the marks:better valuebetter, but not conclusivetie

Our model tests

Our tests

Compare how the models respond to the same prompt. Each test shows the latest attempt, with no subsequent fixes to the generated code. Earlier runs remain available in the test details. These results do not contribute to an overall score.

Pelican on a bicycle

A community classic for free-form SVG drawing.

DeepSeek-V4.1-Flash

The response reached the token limit. No complete recording is available.

Reasoning (requested): high

Current attempt
Run date
2 Oct 2026
API provider
openrouter
Requested API model
deepseek/deepseek-v4.1-flash
API model reported in response
deepseek/deepseek-v4.1-flash
Reasoning setting
high
Pinned endpoint
DeepSeek | deepseek/deepseek-v4.1-flash-20260910
Temperature
Provider default
Token limit including reasoning
8,192 tokens
Test protocol
community-visual-tests-v1
Technical checks
Failed
Response time
30.5 s

Not yet visually reviewed. A successful recording does not confirm correct physics or full compliance with the prompt.

Earlier attempts (1)
  • 1 Oct 2026API request failedReasoning setting: high

GLM-5.1

Output withheld for safety

Reasoning (requested): high

Current attempt
Run date
2 Oct 2026
API provider
openrouter
Requested API model
z-ai/glm-5.1
API model reported in response
z-ai/glm-5.1
Reasoning setting
high
Pinned endpoint
Z.AI | z-ai/glm-5.1-20260406
Temperature
Provider default
Token limit including reasoning
8,192 tokens
Test protocol
community-visual-tests-v1
Technical checks
Failed
Response time
178.8 s

Not yet visually reviewed. A successful recording does not confirm correct physics or full compliance with the prompt.

Earlier attempts (2)
  • 1 Oct 2026API request failedReasoning setting: high
  • 7 Sept 2026API request failedReasoning setting: high
Prompt and test conditions

Generate an SVG of a pelican riding a bicycle

Token limit including reasoning: 8,192 tokens

Task origin (Simon Willison)

How to read this comparison

Winning one benchmark is not an overall verdict

Your workload, budget, and required context length matter most. A coding benchmark says little about visual understanding or agent performance.

The standard price table uses direct developer rates. The provider comparison labels OpenRouter endpoints, regions, and special tariffs separately.

Every result links to its measurement source and retrieval date. Labels distinguish vendor reports, official benchmark leaderboards, and independent evaluations. Disputed or archived results are excluded.

More matchups

Compare DeepSeek-V4.1-Flash and GLM-5.1 with other leading models using the same data and benchmark logic.

View the complete LLM comparison