Fireworks AI · chat
glm-4p7
fireworks/glm-4p7
- Input price
- $0.600 / 1M tokens
- Output price
- $2.20 / 1M tokens
- Context window
- 203K tokens
- Lifecycle
- stable
glm-4p7 for OpenAI-compatible gateway routing
glm-4p7 is a Fireworks AI chat model in the Ferro Labs live catalog with a 203K tokens context window, 203K tokens maximum output, and capabilities including Function Calling, JSON Mode, and Response Schema, and more.
Token pricing is listed as $0.600 / 1M tokens for input tokens and $2.20 / 1M tokens for output tokens. Route calls through the Ferro Labs AI Gateway by sending model as fireworks/glm-4p7 to the OpenAI-compatible chat completions endpoint. The catalog lists this model as stable for normal gateway routing.
OpenAI-compatible usage example
curl https://api.ferrolabs.ai/v1/chat/completions \
-H "Authorization: Bearer $GATEWAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "fireworks/glm-4p7", "messages": [{"role": "user", "content": "Hello!"}]}'
Capabilities
- Function Calling
- JSON Mode
- Response Schema
- Reasoning
- Streaming
Modalities
Input
- Text
Output
- Text
More from Fireworks AI
Catalog prices may change. Verify current provider terms before purchasing.