Price Per TokenPrice Per Token
Deepseek
Deepseek
vs
Z-ai

DeepSeek V3.1 vs GLM 4 32B

A detailed comparison of pricing, benchmarks, and capabilities

OpenClaw

Best LLMs for OpenClaw Vote for which model works best with OpenClaw

112 out of our 301 tracked models have had a price change in February.

Get our weekly newsletter on pricing changes, new releases, and tools.

Key Takeaways

DeepSeek V3.1 wins:

  • Faster response time
  • Higher intelligence benchmark
  • Better at coding
  • Better at math

GLM 4 32B wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Larger context window
Price Advantage
GLM 4 32B
Benchmark Advantage
DeepSeek V3.1
Context Window
GLM 4 32B
Speed
DeepSeek V3.1

Pricing Comparison

Price Comparison

MetricDeepSeek V3.1GLM 4 32BWinner
Input (per 1M tokens)$0.15$0.10 GLM 4 32B
Output (per 1M tokens)$0.75$0.10 GLM 4 32B
Using a 3:1 input/output ratio, GLM 4 32B is 67% cheaper overall.

DeepSeek V3.1 Providers

SambaNova $0.15 (Cheapest)
Chutes $0.20
DeepInfra $0.21
SiliconFlow $0.27
Novita $0.27

GLM 4 32B Providers

Z.AI $0.10 (Cheapest)

Benchmark Comparison

6
Benchmarks Compared
0
DeepSeek V3.1 Wins
0
GLM 4 32B Wins

Benchmark Scores

BenchmarkDeepSeek V3.1GLM 4 32BWinner
Intelligence Index
Overall intelligence score
28.0--
Coding Index
Code generation & understanding
28.4--
Math Index
Mathematical reasoning
49.7--
MMLU Pro
Academic knowledge
83.3--
GPQA
Graduate-level science
73.5--
LiveCodeBench
Competitive programming
57.7--
DeepSeek V3.1 significantly outperforms in coding benchmarks.

Cost vs Quality

X-axis:
Y-axis:
Loading chart...
DeepSeek V3.1
Other models

Context & Performance

Context Window

DeepSeek V3.1
32,768
tokens
Max output: 7,168 tokens
GLM 4 32B
128,000
tokens
GLM 4 32B has a 74% larger context window.

Speed Performance

MetricDeepSeek V3.1GLM 4 32BWinner
Tokens/second0.0 tok/sN/A
Time to First Token0.00sN/A

Capabilities

Feature Comparison

FeatureDeepSeek V3.1GLM 4 32B
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyDeepSeek V3.1GLM 4 32B
LicenseOpen SourceProprietary
AuthorDeepseekZ-ai
ReleasedAug 2025Jul 2025

DeepSeek V3.1 Modalities

Input
text
Output
text

GLM 4 32B Modalities

Input
text
Output
text

Related Comparisons

Compare DeepSeek V3.1 with:

Compare GLM 4 32B with:

Frequently Asked Questions

GLM 4 32B has cheaper input pricing at $0.10/M tokens. GLM 4 32B has cheaper output pricing at $0.10/M tokens.
DeepSeek V3.1 scores higher on coding benchmarks with a score of 28.4, compared to GLM 4 32B's score of N/A.
DeepSeek V3.1 has a 32,768 token context window, while GLM 4 32B has a 128,000 token context window.
DeepSeek V3.1 does not support vision. GLM 4 32B does not support vision.