Z.ai GLM · LLM API pricing
GLM 5.2 Fast API pricing: cheapest provider
2 providers sell GLM 5.2 Fast. Baseten is cheapest; the most expensive charges 1.2× as much for the same model.
- Cheapest$3.23per 1M · Baseten
- Input · output$2.10 / $6.60per 1M tokens
- Price gap1.2×across 2 providers
- Context1Mmax tokens
Standard list prices in USD from each provider's pricing page · last price change Nov 14, 2026 · How we collect and rank prices
Ranked for your volume
GLM 5.2 Fast monthly cost by provider
Change the monthly tokens and the ranking updates instantly, using each provider's standard list price.
More requirements: caching, context, features, provider
Cheapest provider for your volume
Baseten
2 options · most expensive $150.50, 1.2× this price
| Provider | Estimated / month | Input / 1M | Output / 1M | Cached input / 1M | Context |
|---|---|---|---|---|---|
1 | $129.00 | $2.10 | $6.60 | $0.21 | 1M |
2 | $150.50 | $2.45 | $7.70 | $0.49 | 1M |
Order depends on listed price for your volume only. No provider pays for its position.
What this estimate leaves out
Input volume includes the cached share, not an additional token volume. This is a list-price estimate, not a quote: cache-write charges, cache eligibility/TTL, batch discounts, long-context surcharges, regional pricing and taxes are excluded. Check the provider's terms for your workload before switching.
Price history
The cheapest price has not changed since tracking started on Sep 28, 2026: $3.23 per 1M tokens at Baseten. All price changes
Switch to the cheapest provider
Already using the OpenAI SDK? Change the base URL, key and model name.
Show the code
from openai import OpenAI
import os
client = OpenAI(
base_url="https://inference.baseten.co/v1",
api_key=os.environ["BASETEN_API_KEY"],
)
response = client.chat.completions.create(
model="zai-org/GLM-5.2-Fast",
messages=[{"role": "user", "content": "Hello"}],
)Compare GLM 5.2 Fast with another model
Or pick any model
Before you pick a provider
2 of 2 providers list a cached-input price. Repeated system prompts or documents can cost much less there than the standard input rate shown above.
Keep comparing
More Z.ai GLM models
GLM-5.2, GLM-5.3, GLM-5.3-Flash, GLM-5.1, GLM-4.6, GLM-4.7, GLM-4.7-Flash, GLM-5