{
  "_meta": {
    "source": "https://apipriceindex.com/api/phala/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-05T08:15:05.930Z"
  },
  "id": "phala:glm-5.2",
  "name": "GLM 5.2 (Phala)",
  "base_model": "glm-5.2",
  "provider": {
    "id": "phala",
    "name": "Phala",
    "url": "https://phala.network"
  },
  "category": "llm-chat",
  "capabilities": [
    "text",
    "function-calling"
  ],
  "context_window": 1048576,
  "max_output": 131072,
  "pricing": {
    "model_id": "phala:glm-5.2",
    "input": 1.26,
    "output": 3,
    "cached_input": 0.22,
    "source_url": "https://openrouter.ai/z-ai/glm-5.2",
    "verified_at": "2026-09-05T08:00:57Z",
    "sources": [
      {
        "name": "OpenRouter",
        "input": 1.26,
        "output": 3,
        "url": "https://openrouter.ai/z-ai/glm-5.2",
        "verified_at": "2026-09-05T08:00:57Z"
      },
      {
        "name": "LiteLLM",
        "input": 0.76,
        "output": 2.42,
        "url": "https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json",
        "verified_at": "2026-09-03T20:47:46Z"
      },
      {
        "name": "models.dev",
        "input": 1.05,
        "output": 3.3,
        "url": "https://models.dev/",
        "verified_at": "2026-09-04T10:52:49Z"
      }
    ],
    "confidence": "corroborated",
    "delta_pct": 2.1
  },
  "price_history": [
    [
      "2026-09-03",
      1.26,
      3
    ]
  ],
  "latency": [],
  "license": {
    "license": "MIT",
    "tier": "permissive",
    "open_weights": true,
    "source_url": "https://huggingface.co/zai-org"
  },
  "cutoff": {
    "cutoff": "2026-01",
    "label": "January 2026",
    "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": "Phala"
  },
  "facts": [
    "GLM 5.2 (Phala) costs $1.26 input / $3.00 output per 1M tokens.",
    "Cached input cuts the input price by 83%.",
    "A chatbot workload (1000 in / 500 out tokens) costs $2.76 per 1,000 requests.",
    "Handles a 1,048,576-token context window, up to 131,072 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.",
    "$4.26 blended per 1M tokens — the cheapest glm-5.2 endpoint (OpenRouter) is free.",
    "Value: 1472 Elo at $4.26 blended = 346 Elo points per dollar — ranking #257 of 321 priced & rated endpoints in the index.",
    "Intelligence value: 52.6 index at $4.26 blended = 12.3 index points per dollar — ranking #209 of 373 priced & AA-rated endpoints in the index."
  ]
}