DeepSeek V4.1 Flash 1017 vs GLM 5.2
API pricing, context, and independently measured performance, side by side. GLM 5.2 starts 51% cheaper on input than DeepSeek V4.1 Flash 1017 at list prices.
DeepSeek V4.1 Flash 1017
DeepSeek · released Oct 17, 2026
Best input$0.07 / MTok
Best output$0.15 / MTok
Context1.05M
Providers33
Fastest measured0.69s° TTFT · 131 tok/s
Open weightsVisionToolsReasoningStructured outputPrompt caching
GLM 5.2
Z.ai · released Jun 16, 2026
Best input$0.034 / MTok
Best output$1.80 / MTok
Context1.05M
Providers37
Fastest measured0.63s° TTFT · 90 tok/s
Open weightsToolsReasoningStructured outputPrompt caching
Cheapest providers, measuredUSD / MTOK
| MODEL | PROVIDER | INPUT | OUTPUT | TTFT | TPS | SMOKE |
|---|---|---|---|---|---|---|
| DeepSeek V4.1 Flash 1017 | OPOpenInference | $0.07 | $0.50 | — | — | — |
| DeepSeek V4.1 Flash 1017 | $0.07 | $0.50 | 0.69s° | 131° tok/s | — | |
| DeepSeek V4.1 Flash 1017 | $0.08 | $0.50 | — | — | — | |
| GLM 5.2 | $0.034 | $7.00 | 0.63s° | 90° tok/s | — | |
| GLM 5.2 | $0.19 | $8.00 | 0.85s° | 162° tok/s | — | |
| GLM 5.2 | $0.28 | $4.40 | — | — | — |
TTFT/TPS: ModelIndex-measured medians (P50, trailing 21d) · chat10k profile (~10K in / 200 out) · ° = measured via OpenRouter routing (adds a hop) · SMOKE: of 5 programmatic capability probes passed · methodology v1.1 — full details on each model page