GLM-4.7 Flash API pricing
3 providers serve GLM-4.7 Flash. GLM-4.7 Flash is an open-weight model (MIT) with 31B total parameters, 3B active per token (mixture-of-experts), up to 200K context. Prices below are per 1M tokens, cheapest input first (self-hosting math further down).
Refreshed 2026-08-23 · list prices from provider APIs| Provider | Input $/1M | Output $/1M | Cache read $/1M | Context | |
|---|---|---|---|---|---|
| Cloudflare | $0.060 | $0.400output floor | - | 131K | Use |
| OpenRouter | $0.070 | $0.400 | - | 200K | Use |
| AWS Bedrock | $0.070 | $0.400 | - | 200K | Use |
The cheapest way to run GLM-4.7 Flash
On an illustrative 70M-input / 30M-output monthly workload, today's lowest listed cost is roughly $16.23/month, at Cloudflare. Input-heavy, output-heavy and cache-heavy workloads can produce different winners. Use the live mix calculator below rather than combining floors from two different providers. On output-token cost alone, a busy self-hosted deployment can work out cheaper (~$0.027/1M output on A6000). See the math below. Run your own numbers in the breakeven calculator, or read the breakeven math.
Your actual monthly cost
Cache read uses the listed cache rate where available; otherwise it falls back to normal input price. Batch, write-cache, volume and negotiated discounts are excluded.
Or run it yourself: GLM-4.7 Flash self-hosting economics
GLM-4.7 Flash is open-weight (MIT), so the API price above competes with the GPU-hour market. 31B total parameters (MoE, ~3B active per token) needs roughly 43 GB VRAM at FP8 or 22 GB at INT4, KV-cache headroom included.
| GPU that fits (FP8, single card) | VRAM | From $/hr | Cheapest at | |
|---|---|---|---|---|
| A6000 | 48 GB | $0.287marketplace | Vast.ai | Rent |
| A40 | 48 GB | $0.350community | RunPod | Rent |
| 6000 Ada | 48 GB | $0.388marketplace | Vast.ai | Rent |
| L40 | 48 GB | $0.402marketplace | Vast.ai | Rent |
| A100 PCIe | 80 GB | $0.442marketplace | Vast.ai | Rent |
| L40S | 48 GB | $0.467marketplace | Vast.ai | Rent |
Related models
| Model | Cheapest in $/1M | Cheapest out $/1M | Providers |
|---|---|---|---|
| GLM-4.7 | $0.400 | $1.50 | 10 |
| GLM-4.6 | $0.400 | $1.75 | 8 |
| GLM-4.5 Air | $0.125 | $0.450 | 7 |
| GLM-5.2 | $0.610 | $1.98 | 6 |
| GLM-4.5 | $0.400 | $1.60 | 6 |
| GLM-5 | $0.800 | $2.56 | 5 |
FAQ
What is the cheapest API for GLM-4.7 Flash?
As of 2026-08-23, the lowest input price for GLM-4.7 Flash is Cloudflare at $0.060 per 1M input tokens. The lowest output price, $0.400 per 1M tokens, is likewise shared by Cloudflare, OpenRouter and AWS Bedrock. The cheapest provider for a real workload depends on its input/output mix. The next-lowest input price is OpenRouter at $0.070, a 16% difference.
How much VRAM do you need to self-host GLM-4.7 Flash?
GLM-4.7 Flash has 31B parameters, so plan for roughly 43 GB of VRAM at FP8 or 22 GB at INT4/AWQ, KV-cache headroom included. A single A6000 (48 GB) fits it.
← All models · GPU rental prices · Breakeven calculator · Get this data as JSON