GLM 5.1 Fast
Model details
- Model
accounts/fireworks/routers/glm-5p1-fast- Provider
fireworks- API
anthropic-messages- Base URL
https://api.fireworks.ai/inference- Input
- text
- Reasoning
- Yes
- Context window
- 202,800
- Max tokens
- 131,072
Show configuration
{
"providers": {
"fireworks": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "accounts/fireworks/routers/glm-5p1-fast",
"name": "GLM 5.1 Fast",
"reasoning": true,
"input": [
"text"
],
"contextWindow": 202800,
"maxTokens": 131072,
"cost": {
"input": 2.8,
"output": 8.8,
"cacheRead": 0.52,
"cacheWrite": 0
},
"compat": {
"sendSessionAffinityHeaders": true,
"supportsEagerToolInputStreaming": false,
"supportsCacheControlOnTools": false,
"supportsLongCacheRetention": false
}
}
],
"api": "anthropic-messages",
"baseUrl": "https://api.fireworks.ai/inference"
}
}
}Pricing
USD per million tokens. A tier is selected from the total input tokens in each request and applies to that entire request.
| Request input | Input | Output | Cache read | Cache write |
|---|---|---|---|---|
| All requests | $2.8 | $8.8 | $0.52 | $0 |
Session cost calculator
Estimate the requests made during an agent session. A user turn can make several model calls while using tools, so costs are calculated per model request.
Estimated session$0.00
- Uncached input
- —
- Cache reads
- —
- Uncached prefixes
- —
- Cache writes
- —
- Output
- —
- Without caching
- —
The first request starts cold unless marked otherwise. Output is billed separately from context growth because reasoning tokens are not always retained. This remains a directional estimate: providers differ in eligibility, rounding, and retention.
Compatibility flags
Effective values after applying Pi's API defaults and model overrides.
| Feature | Value |
|---|---|
supportsEagerToolInputStreaming | No |
supportsLongCacheRetention | No |
sendSessionAffinityHeaders | Yes |
supportsCacheControlOnTools | No |
supportsTemperature | Yes |
forceAdaptiveThinking | No |
allowEmptySignature | No |