- Model
accounts/fireworks/models/glm-4p7- Provider
fireworks- API
anthropic-messages- Base URL
https://api.fireworks.ai/inference- Input
- text
- Reasoning
- Yes
- Context window
- 198,000
- Max tokens
- 198,000
- Cost / million input
- $0.6
- Cost / million output
- $2.2
- Cost / million cache read
- $0.3
- Cost / million cache write
- $0
Model config JSON
{
"providers": {
"fireworks": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "accounts/fireworks/models/glm-4p7",
"name": "GLM 4.7",
"reasoning": true,
"input": [
"text"
],
"contextWindow": 198000,
"maxTokens": 198000,
"cost": {
"input": 0.6,
"output": 2.2,
"cacheRead": 0.3,
"cacheWrite": 0
}
}
],
"api": "anthropic-messages",
"baseUrl": "https://api.fireworks.ai/inference"
}
}
}