deepseek-v4-pro-0813 vs glm-5.1: API Pricing & Capabilities
Unit prices, a monthly cost example and capabilities of deepseek-v4-pro-0813 and glm-5.1, side by side, from the build-time price snapshot. Both models work with the same OpenLux API key and base URL — switch by changing the model parameter.
deepseek-v4-pro-0813: DeepSeek-V4-Pro-0813 is the official flagship hybrid expert model of DeepSeek V4 Pro, featuring a million token context window, with a focus on enhancing software engineering and multi-step agent task capabilities, supporting extensive output, tool invocation, and multi-API compatibility.
glm-5.1: GLM-5.1 is a model designed for long-horizon tasks. It can work autonomously and continuously for up to 8 hours within a single task — independently planning, executing, and self-improving to deliver complete, engineering-grade outcomes.
Price overview
For each model, the lowest-priced group available to visitors; input, output and monthly cost all use that group.
| Item | deepseek-v4-pro-0813 | glm-5.1 |
|---|---|---|
| Provider | DeepSeek | ChatGLM |
| Group | deepseek-1 | Self-Deployed-1 |
| Input (USD / 1M tokens) | $1.452 | $0.42 |
| Output (USD / 1M tokens) | $4.356 | $1.32 |
| Cache read (USD / 1M tokens) | $0.0484 | $0.078 |
| Monthly cost example | $232.32 | $68.40 |
Monthly cost example: 100M input tokens + 20M output tokens per month, using the input and output prices of the same group, excluding cache.
glm-5.1 has long-context tiers; the example uses first-tier prices.
Prices by group
USD per 1M tokens. Price = base price × group ratio.
deepseek-v4-pro-0813 by group
| Group | Input | Output | Cache read | Monthly example |
|---|---|---|---|---|
| deepseek-1 | $1.452 | $4.356 | $0.0484 | $232.32 |
glm-5.1 by group
| Group | Input | Output | Cache read | Monthly example |
|---|---|---|---|---|
| Self-Deployed-1 | $0.42 | $1.32 | $0.078 | $68.40 |
| Self-Deployed-2 | $0.70 | $2.20 | $0.13 | $114.00 |
| Alibaba-2 | $1.05 | $3.30 | $0.195 | $171.00 |
| Self-Deployed-3 | $1.05 | $3.30 | $0.195 | $171.00 |
| Alibaba-3 | $1.54 | $4.84 | $0.286 | $250.80 |
| glm-1 | $1.54 | $4.84 | $0.286 | $250.80 |
Same-group comparison
The two models share no group, so each monthly example uses its own groups (see the tables above).
Snapshot taken at build time on 2026-11-26. Actual charges follow the live price table on each model page and your console.
Capabilities
| Item | deepseek-v4-pro-0813 | glm-5.1 |
|---|---|---|
| Provider | DeepSeek | ChatGLM |
| Context | — | — |
| Features | Conversation · Tool · Thinking | Conversation · Thinking |
| API formats | Anthropic Messages · OpenAI Chat Completions | OpenAI Chat Completions |
| Long-context tiers | No | Yes |
Which one to choose
- Lower cost: glm-5.1 is cheaper — about $68.40 vs $232.32 for deepseek-v4-pro-0813 in the monthly example above.
- Need the Anthropic Messages format (/v1/messages, e.g. tools like Claude Code): choose deepseek-v4-pro-0813.
- Need Tool: deepseek-v4-pro-0813 supports it.
- Not sure? Send a small share of real traffic to each and compare quality and cost — switching only changes the model parameter.
Quick start
Base URL: https://api.openlux.ai/v1. The example uses deepseek-v4-pro-0813; change model to glm-5.1 to call the other model.
curl https://api.openlux.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4-pro-0813",
"messages": [{"role": "user", "content": "Hello"}]
}'Full parameters in the API docs
FAQ
Which is cheaper, deepseek-v4-pro-0813 or glm-5.1?
At build time, the lowest public prices were: deepseek-v4-pro-0813 (deepseek-1 group) input $1.452, output $4.356 per 1M tokens; glm-5.1 (Self-Deployed-1 group) input $0.42, output $1.32 per 1M tokens. For 100M input + 20M output tokens a month, deepseek-v4-pro-0813 costs about $232.32 and glm-5.1 about $68.40.
Can I use one API key for both deepseek-v4-pro-0813 and glm-5.1?
Yes. Sign up for OpenLux, create an API key in the console, set the base URL to https://api.openlux.ai/v1 and set model to deepseek-v4-pro-0813 or glm-5.1. Usage of both models is billed from the same balance.
Which API formats do deepseek-v4-pro-0813 and glm-5.1 support?
deepseek-v4-pro-0813: Anthropic Messages, OpenAI Chat Completions. glm-5.1: OpenAI Chat Completions.
Is there a Batch API?
Not at the moment. OpenLux has no Batch API; all requests are real-time calls billed as such. For bulk jobs, send concurrent requests to the regular endpoints.
More
More deepseek-v4-pro-0813 comparisons
- deepseek-v4-pro-0813 vs gemini-4-carbon
- deepseek-v4-pro-0813 vs gpt-5.5-pro
- deepseek-v4-pro-0813 vs gemini-3.1-pro-preview
- deepseek-v4-pro-0813 vs grok-4.3
- deepseek-v4-pro-0813 vs gpt-6.2-astra
- deepseek-v4-pro-0813 vs kimi-k3.1-pro
- deepseek-v4-pro-0813 vs claude-opus-5-5
- deepseek-v4-pro-0813 vs mimo-v2.6-pro