LiteLLMModels

GLM 5p1 Fast API Pricing

As of October 10, 2026, GLM 5p1 Fast costs $2.80 per 1M input tokens and $8.80 per 1M output tokens on Fireworks AI, with cache reads at $0.52 per 1M tokens. It has a 202,800-token context window and returns up to 131,072 tokens per response.

By Z.aiModel ID fireworks_ai/glm-5p1-fastPrices updated Checked
Input
$2.80 / 1M tokens
Output
$8.80 / 1M tokens
Cache read
$0.52 / 1M tokens
Context window
202,800 tokens
Max output
131,072 tokens
Providers
1
Added to LiteLLM
June 2026

GLM 5p1 Fast pricing by provider

2 listings across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.

ProviderModel name in LiteLLMInputOutputCache readContext
Fireworks AIfireworks_ai/glm-5p1-fast$2.80$8.80$0.52203K
Fireworks AIfireworks_ai/accounts/fireworks/routers/glm-5p1-fast$2.80$8.80$0.52203K

What GLM 5p1 Fast costs in practice

1,000 requests with 2,000 input and 500 output tokens each

Fireworks AI$10.00

100 long-document requests with 100,000 input and 2,000 output tokens each

Fireworks AI$29.76

GLM 5p1 Fast features

Use GLM 5p1 Fast with LiteLLM

Call GLM 5p1 Fast 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.

Python SDK
from litellm import completion

response = completion(
    model="fireworks_ai/glm-5p1-fast",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: glm-5p1-fast
    litellm_params:
      model: fireworks_ai/glm-5p1-fast
      api_key: os.environ/FIREWORKS_AI_API_KEY
Call the proxy
curl http://0.0.0.0:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-1234" \
  -d '{
    "model": "glm-5p1-fast",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

GLM 5p1 Fast FAQ

How much does GLM 5p1 Fast cost?

GLM 5p1 Fast costs $2.80 per 1M input tokens and $8.80 per 1M output tokens on Fireworks AI, with cache reads at $0.52 per 1M tokens.

What is the context window of GLM 5p1 Fast?

GLM 5p1 Fast has a 202,800-token context window and returns up to 131,072 tokens per response.

Which providers offer GLM 5p1 Fast?

GLM 5p1 Fast is available from Fireworks AI through LiteLLM, using the model name fireworks_ai/glm-5p1-fast.

How do I call GLM 5p1 Fast with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="fireworks_ai/glm-5p1-fast", 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 5p1 Fast support?

GLM 5p1 Fast supports function calling, structured output and reasoning. It does not support image input.

When did LiteLLM add GLM 5p1 Fast?

GLM 5p1 Fast was added to LiteLLM's model price file in June 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. Provider pricing pages:

LiteLLM docs: Fireworks AI.

Provider pages: Fireworks AI.