DeepSeek V4 Pro 0813 vs GLM 5.2

DeepSeek V4 Pro 0813 and GLM 5.2 side by side: specs, capabilities, parameters, and live pricing from the EmpirioLabs catalog.

DeepSeek Z.ai Text Generation

DeepSeek V4 Pro 0813 vs GLM 5.2 at a glance

DeepSeek V4 Pro 0813 from DeepSeek and GLM 5.2 from Z.ai are both in the Text Generation category, available through the EmpirioLabs API.

Key differences

  • DeepSeek V4 Pro 0813 is the newer release (Aug 13, 2026); GLM 5.2 was released on Jun 16, 2026.
  • Both models have a context window of 1M tokens.
  • DeepSeek V4 Pro 0813 returns up to 393,216 output tokens per response, GLM 5.2 up to 131,072.
  • Capabilities listed only for DeepSeek V4 Pro 0813: structured output, agentic coding.
  • Capabilities listed only for GLM 5.2: web search.
  • DeepSeek V4 Pro 0813 lists the lower rate for Input (per 1M prompt tokens) and Output (per 1M generated tokens).

DeepSeek V4 Pro 0813 vs GLM 5.2: specs

SpecDeepSeek V4 Pro 0813GLM 5.2
Model IDdeepseek-v4-pro-0813glm-5-2
AuthorDeepSeekZ.ai
ReleasedAug 13, 2026Jun 16, 2026
Context window1M tokens1M tokens
Max output393,216 tokens131,072 tokens
Input
Text
Text
Output
Text
Text
Structured outputJSON SchemaJSON Mode
RegionSingaporeSingapore
Endpoints
POST /v1/chat/completions POST /v1/responses POST /v1/messages POST /v1beta/models/deepseek-v4-pro-0813:generateContent
POST /v1/chat/completions POST /v1/responses POST /v1/messages POST /v1beta/models/glm-5-2:generateContent
Capabilities
reasoning function calling structured output agentic coding
reasoning function calling web search

DeepSeek V4 Pro 0813 vs GLM 5.2: API pricing

Live rates from the EmpirioLabs catalog for both models. Each rate card always matches what the API charges.

DeepSeek V4 Pro 0813 vs GLM 5.2: API parameters

Request parameters each model lists on EmpirioLabs, with the allowed values or range where one applies. A dash marks a parameter the model does not list.

ParameterDeepSeek V4 Pro 0813GLM 5.2
temperature0 to 2 Default: 0.70 to 1 Default: 1
top_p0 to 1 Default: 0.90.01 to 1 Default: 0.95
max_tokens1 to 3932161 to 131072 Default: 65536
stopstringarray
enable_thinkingboolean Default: trueboolean Default: true
reasoning_effortnone, low, medium, high, max Default: mediumnone, minimal, low, medium, high, xhigh, max Default: max
thinking_budget1 to 393216 Default: 32768-
response_formatenumenum
web_search_linkupboolean Default: false-
disable_formattingboolean Default: false-
preserve_thinking-boolean Default: false
do_sample-boolean Default: true
tool_web_search-boolean Default: false
search_recency_filter-oneDay, oneWeek, oneMonth, oneYear, noLimit Default: noLimit
count-1 to 50 Default: 10
search_domain_filter-string

DeepSeek V4 Pro 0813 vs GLM 5.2: limits and notes

DeepSeek V4 Pro 0813

Thinking is enabled by default and can be disabled. Reasoning tokens are billed as output tokens. Optional Linkup web search is billed only when invoked.

How to call DeepSeek V4 Pro 0813 and GLM 5.2

DeepSeek V4 Pro 0813 serves the OpenAI-compatible Chat Completions API. Point any OpenAI SDK at https://api.empiriolabs.ai/v1 with your EmpirioLabs API key and use the model id deepseek-v4-pro-0813. Both models are called through the same endpoint. Set model to deepseek-v4-pro-0813 or glm-5-2. Get an API key from the EmpirioLabs dashboard.

cURL
curl https://api.empiriolabs.ai/v1/chat/completions \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-v4-pro-0813",
    "messages": [
      {"role": "user", "content": "Write a haiku about the ocean."}
    ]
  }'

DeepSeek V4 Pro 0813 vs GLM 5.2: common questions

What is the difference between DeepSeek V4 Pro 0813 and GLM 5.2?

DeepSeek V4 Pro 0813 is the newer release (Aug 13, 2026); GLM 5.2 was released on Jun 16, 2026. Both models have a context window of 1M tokens. DeepSeek V4 Pro 0813 returns up to 393,216 output tokens per response, GLM 5.2 up to 131,072. The specs, rate cards, and parameters on this page come from the live EmpirioLabs catalog.

Which is newer, DeepSeek V4 Pro 0813 or GLM 5.2?

DeepSeek V4 Pro 0813 is the newer release (Aug 13, 2026); GLM 5.2 was released on Jun 16, 2026.

Which has the lower rate, DeepSeek V4 Pro 0813 or GLM 5.2?

DeepSeek V4 Pro 0813 lists the lower rate for Input (per 1M prompt tokens) and Output (per 1M generated tokens). Both live rate cards are on this page and always match what the API charges.

Can I switch between DeepSeek V4 Pro 0813 and GLM 5.2 without rebuilding my integration?

Yes. Both models use POST /v1/chat/completions with the same EmpirioLabs API key, so most integrations switch by changing the model value. Check the parameters table on this page first if you rely on a model-specific parameter.

Can I try DeepSeek V4 Pro 0813 and GLM 5.2 in the browser before integrating?

Yes. Open each model in the EmpirioLabs playground and run the same prompt on both, with the parameters the API exposes.

Ready to use better endpoints?

Check out our pricing or reach out if you want your own model deployed on our stack.