AI Rate Card

DeepSeek-V3.1 vs GLM-5.2: API price and specs

GLM-5.2 is 11% cheaper than DeepSeek-V3.1 on input price.

GLM-5.2 is 24% cheaper than DeepSeek-V3.1 on output price.

GLM-5.2 is 16% cheaper than DeepSeek-V3.1 on a 1M-in / 200k-out workload.

GLM-5.2 has a 539.4% larger context than DeepSeek-V3.1.

FieldDeepSeek-V3.1GLM-5.2
Lowest input, per 1M$0.19 +11.8%$0.17
Median input, per 1M$0.27$1.40 +424.6%
Lowest output, per 1M$0.71 +31.5%$0.54
Median output, per 1M$1.00$4.40 +340%
Lowest unit price—$0.033 / request
Cost of 1M in + 200k out$0.33 +19.4%$0.28
Context164K +84.4%1M
Max output164K +84.4%1M
Providers18 +69.5%59
RegionsUSAPAC, EU, GLOBAL, US
Acceptstextfile, image, text
Returnstexttext
TypeText modelsText models
Free optionnoyes
Cheapest providermeganovaedenai

Your own workload: how many tokens the model gets (input) and gives back (output) - for example, in a month. The "Cost" row of the table above is recalculated for these numbers, for each model.

Computed from current offers each time the page opens; the best value of a row is bold, the percent is how far behind the best.

Providers selling both

aihubmix, aiml, baseten, deepinfra, edenai, fastrouter, google-vertex, huggingface, jiekou, meganova, poe, requesty, siliconflow, togetherai, tokengo, trustedrouter, vercel

Frequently asked questions

Which is cheaper, DeepSeek-V3.1 or GLM-5.2?

GLM-5.2 is 11% cheaper than DeepSeek-V3.1 on input price. GLM-5.2 is 24% cheaper than DeepSeek-V3.1 on output price. GLM-5.2 is 16% cheaper than DeepSeek-V3.1 on a 1M-in / 200k-out workload.

Which has the larger context, DeepSeek-V3.1 or GLM-5.2?

DeepSeek-V3.1: 164K tokens; GLM-5.2: 1M tokens.

Where can I use both DeepSeek-V3.1 and GLM-5.2?

aihubmix, aiml, baseten, deepinfra, edenai, fastrouter, google-vertex, huggingface, jiekou, meganova, poe, requesty, siliconflow, togetherai, tokengo, trustedrouter, vercel