GLM 5p3 Spot API Pricing
- Input / output
- $0.98 / $3.08 per 1M tokens
- Cache read
- $0.182 / 1M
- Context
- 1M tokens
- Max output
- 128K tokens
As of October 31, 2026, GLM 5p3 Spot costs $0.98 per 1M input tokens and $3.08 per 1M output tokens on Fireworks AI, with cache reads at $0.182 per 1M tokens. It has a 1,048,576-token context window and returns up to 128,000 tokens per response.
GLM 5p3 Spot 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 AI | fireworks_ai/accounts/fireworks/routers/glm-5p3-spot | $0.98 | $3.08 | $0.182 | 1M |
What GLM 5p3 Spot costs in practice
1,000 requests with 2,000 input and 500 output tokens each
| Fireworks AI | $3.50 |
100 long-document requests with 100,000 input and 2,000 output tokens each
| Fireworks AI | $10.42 |
GLM 5p3 Spot cost calculator
At Fireworks AI's price ($0.98 input, $3.08 output per 1M tokens), 10,000 requests a day with 1,000 input and 500 output tokens each cost $25.20 a day, about $756 a month. Change the numbers for your workload, or compare it with other models.
- Per request
- $0.00252
- Per day
- $25.20
- Per month (30 days)
- $756
GLM 5p3 Spot features
Input: text. Output: text.
- Function calling
- Structured output
- Image input
- Reasoning
- Prompt caching
Use GLM 5p3 Spot with LiteLLM
Call GLM 5p3 Spot 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-5p3-spot",
messages=[{"role": "user", "content": "Hello!"}],
)model_list:
- model_name: glm-5p3-spot
litellm_params:
model: fireworks_ai/accounts/fireworks/routers/glm-5p3-spot
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-5p3-spot",
"messages": [{"role": "user", "content": "Hello!"}]
}'GLM 5p3 Spot FAQ
How much does GLM 5p3 Spot cost?
GLM 5p3 Spot costs $0.98 per 1M input tokens and $3.08 per 1M output tokens on Fireworks AI, with cache reads at $0.182 per 1M tokens.
What is the context window of GLM 5p3 Spot?
GLM 5p3 Spot has a 1,048,576-token context window and returns up to 128,000 tokens per response.
Which providers offer GLM 5p3 Spot?
GLM 5p3 Spot is available from Fireworks AI through LiteLLM, using the model name fireworks_ai/accounts/fireworks/routers/glm-5p3-spot.
How do I call GLM 5p3 Spot with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="fireworks_ai/accounts/fireworks/routers/glm-5p3-spot", 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 5p3 Spot support?
GLM 5p3 Spot supports function calling, structured output, reasoning and prompt caching. It does not support image input.
When did LiteLLM add GLM 5p3 Spot?
GLM 5p3 Spot was added to LiteLLM's model price file on October 30, 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.