{
  "_meta": {
    "source": "https://apipriceindex.com/api/streamlake/glm-5.2",
    "attribution": "apipriceindex.com",
    "license": "CC BY 4.0",
    "license_url": "https://creativecommons.org/licenses/by/4.0/",
    "note": "Free to reuse with attribution to apipriceindex.com.",
    "generated_at": "2026-09-08T08:29:10.115Z"
  },
  "id": "streamlake:glm-5.2",
  "name": "GLM-5.2 (StreamLake)",
  "base_model": "glm-5.2",
  "provider": {
    "id": "streamlake",
    "name": "StreamLake",
    "url": "https://www.streamlake.ai"
  },
  "category": "llm-chat",
  "capabilities": [
    "text",
    "function-calling"
  ],
  "context_window": 1048576,
  "max_output": 163840,
  "pricing": {
    "model_id": "streamlake:glm-5.2",
    "input": 0.6762,
    "output": 2.1252,
    "cached_input": 0.1256,
    "source_url": "https://openrouter.ai/z-ai/glm-5.2",
    "verified_at": "2026-09-08T07:19:06Z",
    "sources": [
      {
        "name": "OpenRouter",
        "input": 0.6762,
        "output": 2.1252,
        "url": "https://openrouter.ai/z-ai/glm-5.2",
        "verified_at": "2026-09-08T07:19:06Z"
      },
      {
        "name": "LiteLLM",
        "input": 0.61,
        "output": 1.98,
        "url": "https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json",
        "verified_at": "2026-09-07T05:15:01Z"
      },
      {
        "name": "models.dev",
        "input": 0.7,
        "output": 2.2,
        "url": "https://models.dev/",
        "verified_at": "2026-09-07T05:30:01Z"
      },
      {
        "name": "Together",
        "input": 1.4,
        "output": 4.4,
        "url": "https://www.together.ai/pricing",
        "verified_at": "2026-09-07T05:40:02Z"
      }
    ],
    "confidence": "corroborated",
    "delta_pct": 3.5
  },
  "price_history": [
    [
      "2026-09-08",
      0.6762,
      2.1252
    ]
  ],
  "latency": [],
  "license": {
    "license": "MIT",
    "tier": "permissive",
    "open_weights": true,
    "source_url": "https://huggingface.co/zai-org/GLM-5.2/blob/main/LICENSE",
    "scope": "model",
    "verified_at": "2026-09-07"
  },
  "cutoff": {
    "cutoff": "2026-01",
    "label": "January 2026",
    "origin": "third_party",
    "source_url": "https://aiknowledgecutoff.com/"
  },
  "intelligence": {
    "score": 52.6,
    "model_name": "GLM-5.2",
    "verified_at": "2026-09-04",
    "benchmark_label": "Artificial Analysis Intelligence Index",
    "source_url": "https://artificialanalysis.ai/"
  },
  "quality": {
    "elo": 1472,
    "arena_name": "Z.ai: GLM 5.2",
    "verified_at": "2026-09-04",
    "benchmark_label": "LMArena (Chatbot Arena)",
    "source_url": "https://lmarena.ai/leaderboard/text"
  },
  "api": {
    "base_url": "https://openrouter.ai/api/v1",
    "model": "z-ai/glm-5.2",
    "via": "openrouter",
    "key_env": "OPENROUTER_API_KEY",
    "docs_url": "https://openrouter.ai/z-ai/glm-5.2",
    "or_provider": "StreamLake"
  },
  "facts": [
    "GLM-5.2 (StreamLake) costs $0.68 input / $2.13 output per 1M tokens.",
    "Cached input cuts the input price by 81%.",
    "A chatbot workload (1000 in / 500 out tokens) costs $1.74 per 1,000 requests.",
    "Cross-checked against LiteLLM's public price index, which lists glm-5.2 at $0.61/$1.98 per 1M (within 8% of this endpoint).",
    "Handles a 1,048,576-token context window, up to 163,840 output tokens.",
    "Open weights under MIT — permissive licence.",
    "Training knowledge cutoff: January 2026.",
    "Scores 1472 on the LMArena (Chatbot Arena) (human-preference leaderboard) for glm-5.2.",
    "Scores 52.6 on the Artificial Analysis Intelligence Index for glm-5.2.",
    "$2.80 blended per 1M tokens — the cheapest glm-5.2 endpoint (OpenRouter) is free.",
    "Value: 1472 Elo at $2.80 blended = 525 Elo points per dollar — ranking #210 of 337 priced & rated endpoints in the index.",
    "Intelligence value: 52.6 index at $2.80 blended = 18.8 index points per dollar — ranking #162 of 398 priced & AA-rated endpoints in the index."
  ]
}