GLM Flash API Pricing
- Input / output
- $0.15 / $0.50 per 1M tokens
- Cache read
- $0.03 / 1M
- Context
- 1M tokens
- Max output
- 1M tokens
As of November 21, 2026, GLM Flash costs $0.15 per 1M input tokens and $0.50 per 1M output tokens on Fireworks AI, with cache reads at $0.03 per 1M tokens. It has a 1,048,576-token context window and returns up to 1,048,576 tokens per response.
GLM Flash pricing by provider
1 listing across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Input | Output | Cache read | Context |
|---|---|---|---|---|---|
| Fireworks AIlatest alias | fireworks_ai/accounts/fireworks/routers/glm-flash-latest | $0.15 | $0.50 | $0.03 | 1M |
Other GLM Flash prices on Fireworks AI
| Priority input | $0.1875 per 1M tokens |
| Priority output | $0.625 per 1M tokens |
What GLM Flash costs in practice
1,000 requests with 2,000 input and 500 output tokens each
| Fireworks AI | $0.55 |
100 long-document requests with 100,000 input and 2,000 output tokens each
| Fireworks AI | $1.60 |
GLM Flash cost calculator
At Fireworks AI's price ($0.15 input, $0.50 output per 1M tokens), 10,000 requests a day with 1,000 input and 500 output tokens each cost $4.00 a day, about $120 a month. Change the numbers for your workload, or compare it with other models.
- Per request
- $0.0004
- Per day
- $4.00
- Per month (30 days)
- $120
GLM Flash features
Input: text, image. Output: text.
- Function calling
- Structured output
- Image input
Use GLM Flash with LiteLLM
Call GLM Flash through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.
from litellm import completion
response = completion(
model="fireworks_ai/accounts/fireworks/routers/glm-flash-latest",
messages=[{"role": "user", "content": "Hello!"}],
)model_list:
- model_name: glm-flash
litellm_params:
model: fireworks_ai/accounts/fireworks/routers/glm-flash-latest
api_key: os.environ/FIREWORKS_AI_API_KEYcurl http://0.0.0.0:4000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LITELLM_API_KEY" \
-d '{
"model": "glm-flash",
"messages": [{"role": "user", "content": "Hello!"}]
}'GLM Flash FAQ
How much does GLM Flash cost?
GLM Flash costs $0.15 per 1M input tokens and $0.50 per 1M output tokens on Fireworks AI, with cache reads at $0.03 per 1M tokens.
What is the context window of GLM Flash?
GLM Flash has a 1,048,576-token context window and returns up to 1,048,576 tokens per response.
Which providers offer GLM Flash?
GLM Flash is available from Fireworks AI through LiteLLM, using the model name fireworks_ai/accounts/fireworks/routers/glm-flash-latest.
How do I call GLM Flash with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="fireworks_ai/accounts/fireworks/routers/glm-flash-latest", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.
What features does GLM Flash support?
GLM Flash supports function calling, structured output and image input.
When did LiteLLM add GLM Flash?
GLM Flash was added to LiteLLM's model price file on September 18, 2026.
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Maintainers update it from each provider's published pricing, and this page is usually rebuilt within 20 minutes of every change. Provider pricing pages:
LiteLLM docs: Fireworks AI.
Provider pages: Fireworks AI.