Models & pricing
Production models, priced in USD per 1M tokens. Upstream IDs public.
glm-5.3
60% off@cf/zai-org/glm-5.3Z.ai’s flagship agentic coding model: a 1M-token context window, with tool calls, five reasoning-effort levels and strict JSON output. Text-only — image input is refused up front, at no cost to you.
Context window1M
Capabilitiestoolsreasoningjson
Reasoning tokens are billed at the output rate — never twice.
Input$1.40$0.56
Cached input$0.26$0.104
Output$4.40$1.76
deepseek-v4.1-flash
60% off@cf/deepseek-ai/deepseek-v4.1-flash-1017DeepSeek V4.1 Flash: a 1M-token context window, image input verified by our own probe, and a low list price. Fast in our tests (~0.6 s to first token, ~120 tok/s), and its prefix cache really hits.
Context window1M
Capabilitiestoolsvisionreasoningfast
Reasoning tokens are billed at the output rate — never twice.
Input$0.30$0.12
Cached input$0.006$0.002
Output$1.20$0.48
qwen3.8-27b
60% off@cf/qwen/qwen3.8-27bAlibaba's Qwen 3.8 27B — image input verified by our own probe, not copied from a spec sheet. Send images alongside text in the same request, with a 262K-token context window, tool calling and reasoning.
Context window262K
Capabilitiestoolsreasoningvision
Reasoning tokens are billed at the output rate — never twice.
Input$0.45$0.18
Cached input$0.05$0.02
Output$3.20$1.28
glm-4.7-flash
60% off@cf/zai-org/glm-4.7-flashThe fast, low-cost workhorse. Median time to first token is about 0.65 s in our own measurements — built for high-volume classification, extraction and chat.
Context window131K
Capabilitiestoolsreasoningfast
Reasoning tokens are billed at the output rate — never twice.
Input$0.06$0.024
Cached input—
Output$0.40$0.16
About reasoning tokens: reasoning models stream their thinking as part of the completion output. Those tokens are a subset of output tokens, billed once at the output rate, and shown separately in your usage logs — they are never billed on top.