- Model
accounts/fireworks/models/glm-5p1- Provider
fireworks- API
anthropic-messages- Base URL
https://api.fireworks.ai/inference- Input
- text
- Reasoning
- Yes
- Context window
- 202,800
- Max tokens
- 131,072
- Cost / million input
- $1.4
- Cost / million output
- $4.4
- Cost / million cache read
- $0.26
- Cost / million cache write
- $0
Model config JSON
{
"providers": {
"fireworks": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "accounts/fireworks/models/glm-5p1",
"name": "GLM 5.1",
"reasoning": true,
"input": [
"text"
],
"contextWindow": 202800,
"maxTokens": 131072,
"cost": {
"input": 1.4,
"output": 4.4,
"cacheRead": 0.26,
"cacheWrite": 0
}
}
],
"api": "anthropic-messages",
"baseUrl": "https://api.fireworks.ai/inference"
}
}
}