- Model
zai.glm-4.7- Provider
amazon-bedrock- API
bedrock-converse-stream- Base URL
https://bedrock-runtime.us-east-1.amazonaws.com- Input
- text
- Reasoning
- Yes
- Context window
- 204,800
- Max tokens
- 131,072
- Cost / million input
- $0.6
- Cost / million output
- $2.2
- Cost / million cache read
- $0
- Cost / million cache write
- $0
Model config JSON
{
"providers": {
"amazon-bedrock": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "zai.glm-4.7",
"name": "GLM-4.7",
"reasoning": true,
"input": [
"text"
],
"contextWindow": 204800,
"maxTokens": 131072,
"cost": {
"input": 0.6,
"output": 2.2,
"cacheRead": 0,
"cacheWrite": 0
}
}
],
"api": "bedrock-converse-stream",
"baseUrl": "https://bedrock-runtime.us-east-1.amazonaws.com"
}
}
}