GLM-4.7 Flash API pricing

5 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 203K context. Prices below are per 1M tokens, cheapest input first (self-hosting math further down).

Refreshed 2026-08-28 · list prices from provider APIs
Input floor $0.060/1M at DeepInfra and Cloudflare Output floor $0.400/1M at DeepInfra, Cloudflare, OpenRouter and 2 more Find your workload winner →
Provider Input $/1M Output $/1M Cache read $/1M Context
DeepInfra $0.060 $0.400output floor $0.010 203K Use
Cloudflare $0.060 $0.400 - 131K Use
OpenRouter $0.070 $0.400 - 200K Use
AWS Bedrock $0.070 $0.400 - 200K Use
Novita AI $0.070 $0.400 $0.010 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.20/month, at DeepInfra. 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.026/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

Uses today's list prices

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)VRAMFrom $/hrCheapest at
A6000 48 GB $0.281marketplace Vast.ai Rent
A40 48 GB $0.350community RunPod Rent
6000 Ada 48 GB $0.388marketplace Vast.ai Rent
L40S 48 GB $0.401marketplace Vast.ai Rent
A100 PCIe 80 GB $0.454marketplace Vast.ai Rent
RTX PRO 6000 96 GB $0.500secure RunPod Rent
Breakeven estimate: a well-batched vLLM deployment on one A6000 ($0.281/hr) at ~6000 aggregate tok/s and 50% utilization works out to roughly $0.026 per 1M output tokens, versus $0.400 via the cheapest output-token API (DeepInfra, Cloudflare, OpenRouter and 2 more). Self-hosting wins on cost if you can keep the GPU busy. Planning estimate: throughput varies with hardware, quantization, batch size and context. Tune it in the calculator.

Related models

ModelCheapest in $/1MCheapest out $/1MProviders
GLM-4.7 $0.400 $1.50 11
GLM-5.2 $0.610 $1.98 11
GLM-4.6 $0.400 $1.75 9
GLM-4.5 Air $0.125 $0.450 7
GLM-5 $0.600 $2.08 7
GLM-5.1 $1.05 $3.50 6

FAQ

What is the cheapest API for GLM-4.7 Flash?

As of 2026-08-28, the lowest input price for GLM-4.7 Flash, $0.060 per 1M tokens, is the same list price at DeepInfra and Cloudflare. The lowest output price, $0.400 per 1M tokens, is likewise shared by DeepInfra, Cloudflare, OpenRouter and 2 more. The cheapest provider for a real workload depends on its input/output mix. The next-lowest input price is OpenRouter at $0.070, a 17% 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