{
  "_meta": {
    "source": "https://apipriceindex.com/api/deepinfra/glm-5.1",
    "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:06.040Z"
  },
  "id": "deepinfra:glm-5.1",
  "name": "GLM 5.1 (DeepInfra)",
  "base_model": "glm-5.1",
  "provider": {
    "id": "deepinfra",
    "name": "DeepInfra",
    "url": "https://deepinfra.com"
  },
  "category": "llm-chat",
  "capabilities": [
    "text",
    "function-calling"
  ],
  "context_window": 204800,
  "max_output": 65536,
  "pricing": {
    "model_id": "deepinfra:glm-5.1",
    "input": 1.05,
    "output": 3.5,
    "cached_input": 0.205,
    "source_url": "https://openrouter.ai/z-ai/glm-5.1",
    "verified_at": "2026-09-05T08:00:57Z",
    "sources": [
      {
        "name": "OpenRouter",
        "input": 1.05,
        "output": 3.5,
        "url": "https://openrouter.ai/z-ai/glm-5.1",
        "verified_at": "2026-09-05T08:00:57Z"
      },
      {
        "name": "LiteLLM",
        "input": 1.05,
        "output": 3.5,
        "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.5,
        "url": "https://models.dev/",
        "verified_at": "2026-09-04T10:52:49Z"
      }
    ],
    "confidence": "corroborated",
    "delta_pct": 0
  },
  "price_history": [
    [
      "2026-09-03",
      1.05,
      3.5
    ]
  ],
  "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": 41,
    "model_name": "GLM-5.1",
    "verified_at": "2026-09-04",
    "benchmark_label": "Artificial Analysis Intelligence Index",
    "source_url": "https://artificialanalysis.ai/"
  },
  "quality": {
    "elo": 1466,
    "arena_name": "GLM-5.1",
    "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.1",
    "via": "openrouter",
    "key_env": "OPENROUTER_API_KEY",
    "docs_url": "https://openrouter.ai/z-ai/glm-5.1",
    "or_provider": "DeepInfra"
  },
  "facts": [
    "GLM 5.1 (DeepInfra) costs $1.05 input / $3.50 output per 1M tokens.",
    "Cached input cuts the input price by 80%.",
    "A chatbot workload (1000 in / 500 out tokens) costs $2.80 per 1,000 requests.",
    "Cross-checked: LiteLLM's public price index independently lists DeepInfra's glm-5.1 at $1.05/$3.50 per 1M — corroborating the price shown here (within 0%).",
    "Handles a 204,800-token context window, up to 65,536 output tokens.",
    "Open weights under MIT — permissive licence.",
    "Training knowledge cutoff: January 2026.",
    "Scores 1466 on the LMArena (Chatbot Arena) (human-preference leaderboard) for glm-5.1.",
    "Scores 41.0 on the Artificial Analysis Intelligence Index for glm-5.1.",
    "21% pricier than the cheapest glm-5.1 endpoint ($3.76 on Baidu).",
    "Value: 1466 Elo at $4.55 blended = 322 Elo points per dollar — ranking #267 of 321 priced & rated endpoints in the index.",
    "Intelligence value: 41.0 index at $4.55 blended = 9.0 index points per dollar — ranking #300 of 373 priced & AA-rated endpoints in the index."
  ]
}