impulse

GLM 5.1 Fast

API id glm-5p1-fast
Input / 1M
$2.80
at Fireworks AI
Output / 1M
$8.80
at Fireworks AI
Context window
203K
tokens
Max output
131K
tokens per reply
Hosts
1
2 listings
Released
-
date not published

Pricing

List prices at Fireworks AI, in US dollars per million tokens.

TierInput / 1MOutput / 1M
Standard$2.80$8.80
Cached input
81% off input
$0.52

What it costs a month

At Fireworks AI list prices, 30 days.

  • Chat assistant5,000 requests a day, 2K in / 0.5K out, cached$1,295
  • RAG over documents2,000 requests a day, 8K in / 0.6K out, cached$1,114
  • Coding agent1,000 requests a day, 40K in / 2K out, cached$1,973
  • Overnight batch20,000 requests a day, 4K in / 0.4K out$8,832
Use your own numbers

Where to run it

1 host serve GLM 5.1 Fast. The comparison is on blended price, 3 parts input to 1 part output.

HostIn / out per 1M
Fireworks AIInference
glm-5p1-fast
$2.80 / $8.80
Show 1 more listings: regions, snapshots and variants
Fireworks AI
Alias
glm-5p1-fast
$2.80 / $8.80

Capabilities

Core

  • Streaming
  • Function calling
  • JSON mode
  • Structured outputs

Multimodal

  • Vision
  • Image input
  • Audio
  • Image generation
  • Video

Advanced

  • Reasoning
  • Tool calling
  • MCP
  • Prompt caching
  • Batch API
  • Embeddings
Takes in
Text
Produces
Text

Cheaper alternatives

Current models that cost less and keep most of what this one can do: tools, vision, reasoning, structured output, caching and enough context.

Same model, cheaper host

No host sells it for less than Fireworks AI.

Smaller Zhipu AI models

  • GLM 5v Turbo
    Zhipu AI · on Z.ai
    $1.20 / $4.00
    Lacks structured
    56% less
  • GLM 5 Code
    Zhipu AI · on Z.ai
    $1.20 / $5.00
    Lacks structured
    50% less

Other frontier labs

  • GPT-6.2 Sol
    OpenAI · on OpenAI
    $2.00 / $10.00
    Has every key capability
    7% less
  • Gemini 4 Carbon
    Google · on Google AI Studio
    $2.00 / $10.00
    Has every key capability
    7% less
  • Claude Sonnet 5.5
    Anthropic · on Anthropic
    $2.00 / $10.00
    Has every key capability
    7% less
  • Grok 4.7
    xAI · on xAI
    $2.00 / $6.00
    Has every key capability
    30% less

Open-weight picks

  • Kimi K3.1 Pro
    Moonshot AI · on Databricks
    $2.00 / $10.00
    Has every key capability
    7% less
  • Qwen3.8.2 4T A95B
    Alibaba Qwen · on DeepInfra
    $2.00 / $6.00
    Has every key capability
    30% less
  • Inkling
    Independent · on DeepInfra
    $0.95 / $4.05
    Has every key capability
    60% less
  • GLM 5.3
    Zhipu AI · on CLF AI Gateway
    $0.56 / $1.76
    Has every key capability
    80% less

Model line

Newer and older versions, at each lab's own price.

  1. UndatedGLM 5.3 FastLatest$2.10 / $6.60
  2. UndatedGLM 5.2 Fast$2.10 / $6.60
  3. UndatedGLM 5.1 FastThis page$2.80 / $8.80

Call it

Using Fireworks AI's API.

Python
from litellm import completion

response = completion(
    model="fireworks_ai/glm-5p1-fast",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Quick answers

How much does GLM 5.1 Fast cost?

On Fireworks AI, GLM 5.1 Fast costs $2.80 per million input tokens and $8.80 per million output tokens. Cached input costs $0.52 per million tokens.

Which APIs offer GLM 5.1 Fast?

GLM 5.1 Fast runs on 1 API: Fireworks AI.

What is GLM 5.1 Fast's context window?

203K tokens, with up to 131K tokens in one reply.

Is GLM 5.1 Fast being retired?

No retirement date is scheduled for it on any API we track.

Is there a newer version of GLM 5.1 Fast?

Yes. GLM 5.3 Fast is the newest model in this line.

What are cheaper alternatives to GLM 5.1 Fast?

Models that cost less and keep most of what it can do: GLM 5v Turbo on Z.ai (56% less), GPT-6.2 Sol on OpenAI (7% less), Gemini 4 Carbon on Google AI Studio (7% less) and Kimi K3.1 Pro on Databricks (7% less). Savings are on a mix of 3 input tokens to 1 output token.

What is GLM 5.1 Fast's API model id?

Use glm-5p1-fast with Fireworks AI.

Sources

Raw catalog entry for glm-5p1-fast on Fireworks AI
{
  "cache_read_input_token_cost": 5.2e-7,
  "input_cost_per_token": 0.0000028,
  "litellm_provider": "fireworks_ai",
  "max_input_tokens": 202800,
  "max_output_tokens": 131072,
  "mode": "chat",
  "output_cost_per_token": 0.0000088,
  "source": "https://docs.fireworks.ai/serverless/pricing",
  "supports_function_calling": true,
  "supports_reasoning": true,
  "supports_response_schema": true,
  "supports_tool_choice": true,
  "supports_vision": false
}