Models / Compare

GLM 5.2 vs DeepSeek V4 Pro 0423

GLM 5.2 costs less on both: $0.18 in and $0.60 out per million tokens, against $0.792 in and $1.92 out for DeepSeek V4 Pro 0423. Both on one key at UplinkSwitch, each next to its developer's list price.

Prices · per million tokens, USD

TokensGLM 5.2glm-5.2DeepSeek V4 Pro 0423deepseek-v4-pro
Input$0.18Z.ai lists $0.60 · 70% under$0.792DeepSeek lists $1.32 · 40% under
Cached input$0.051Z.ai lists $0.15 · 66% under$0.0338DeepSeek lists $0.044 · 23% under
Output$0.60Z.ai lists $2.00 · 70% under$1.92DeepSeek lists $3.96 · 51% under
Context window1,000,000 tokens1,048,576 tokens
Max output131,072 tokens393,216 tokens
Inputtexttext
Released2026-06-162026-04-24
FormatsOpenAI SDKOpenAI SDK
DeveloperZ.aiDeepSeek
List price: each developer's published rate, read October 2026. A model with no cached rate bills cached tokens at its input rate. Live from GET https://api.uplinkswitch.com/v1/catalog.

What the same work costs · USD, here and at list

WorkGLM 5.2DeepSeek V4 Pro 0423
1,000 chat requests$0.66list $2.20$2.54list $4.62
100 long documents$1.02list $3.40$4.34list $7.39
A month of both, daily$50.40list $168.00$206.64list $360.36
A chat request is 2,000 input and 500 output tokens; a long document is 50,000 in and 2,000 out; the month is 1,000 chats and 100 documents a day for 30 days, uncached. Over that month GLM 5.2 costs $156.24 less here.

Same key, same URL

One base URL and one key serve both models. The request below calls GLM 5.2; put deepseek-v4-pro in the model field to call DeepSeek V4 Pro 0423 instead.

shell
curl https://api.uplinkswitch.com/v1/chat/completions \
  -H "authorization: Bearer sk-uplink-live-..." \
  -H "content-type: application/json" \
  -d '{"model":"glm-5.2","messages":[{"role":"user","content":"Hello"}]}'

Questions

Which costs less, GLM 5.2 or DeepSeek V4 Pro 0423?
GLM 5.2 costs less on both: $0.18 in and $0.60 out per million tokens, against $0.792 in and $1.92 out for DeepSeek V4 Pro 0423.
Can I switch between them by changing the model id?
Yes. Both answer in the OpenAI SDK format at the same base URL with the same key. Change the model id from glm-5.2 to deepseek-v4-pro and nothing else.
Is there a subscription?
No. Prepaid credit from $10, with no subscription or monthly fee. Each top-up locks your prices for 30 days.
Is GLM 5.2 better than DeepSeek V4 Pro 0423?
Better depends on the job; this page compares what the catalog can measure. GLM 5.2 costs less on both: $0.18 in and $0.60 out per million tokens, against $0.792 in and $1.92 out for DeepSeek V4 Pro 0423. GLM 5.2 takes 1,000,000 tokens of context against 1,048,576 for DeepSeek V4 Pro 0423. GLM 5.2 is the newer release. Both run on the same key, so the fair test is your own prompt sent to each model id.