GLM-5

Model details

GLM-5

Model
zai.glm-5
Provider
amazon-bedrock
API
bedrock-converse-stream
Base URL
https://bedrock-runtime.us-east-1.amazonaws.com
Input
text
Reasoning
Yes
Context window
202,752
Max tokens
101,376
Cost / million input
$1
Cost / million output
$3.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-5",
          "name": "GLM-5",
          "reasoning": true,
          "input": [
            "text"
          ],
          "contextWindow": 202752,
          "maxTokens": 101376,
          "cost": {
            "input": 1,
            "output": 3.2,
            "cacheRead": 0,
            "cacheWrite": 0
          }
        }
      ],
      "api": "bedrock-converse-stream",
      "baseUrl": "https://bedrock-runtime.us-east-1.amazonaws.com"
    }
  }
}