{
  "schemaVersion": 1,
  "capturedAt": "2026-07-29T05:19:47.132575+00:00",
  "model": "glm-5.2",
  "apiBase": "https://api.z.ai/api/paas/v4",
  "environment": {
    "python": "3.13.13",
    "llamaIndexCore": "0.14.23",
    "llamaIndexOpenAILike": "0.7.2",
    "llamaIndexOpenAI": "0.7.10",
    "openai": "2.50.0",
    "pydantic": "2.13.4"
  },
  "metadata": {
    "regularOpenAIWrapper": {
      "status": "expected-failure",
      "errorType": "ValueError",
      "detail": "Unknown model 'glm-5.2'."
    },
    "openAILikeDefaults": {
      "contextWindow": 3900,
      "isChatModel": false,
      "isFunctionCallingModel": false
    },
    "explicitOpenAILike": {
      "contextWindow": 1048576,
      "isChatModel": true,
      "isFunctionCallingModel": true
    }
  },
  "observations": [
    {
      "name": "chat",
      "status": "pass",
      "latencyMs": 3432,
      "response": "LLAMAINDEX_CHAT_OK",
      "promptTokens": 25,
      "completionTokens": 65,
      "totalTokens": 90
    },
    {
      "name": "stream",
      "status": "pass",
      "latencyMs": 2691,
      "eventCount": 117,
      "response": "LLAMAINDEX_STREAM_OK",
      "promptTokens": 25,
      "completionTokens": 120,
      "totalTokens": 145
    },
    {
      "name": "tool-call",
      "status": "pass",
      "latencyMs": 5518,
      "functionInput": "Orchid Relay",
      "response": "7442",
      "sourceCount": 1
    },
    {
      "name": "summary-index",
      "status": "pass",
      "latencyMs": 1224,
      "documentCount": 1,
      "sourceNodeCount": 1,
      "response": "7442"
    }
  ],
  "pricingReconstruction": {
    "currency": "USD",
    "freshInputPerMillion": 1.4,
    "outputPerMillion": 4.4,
    "chatObservedCost": 0.000321,
    "streamObservedCost": 0.000563
  },
  "limits": [
    "One account and one test date; observed latency is not an SLA.",
    "SummaryIndex is an embedding-free document query, not a vector-retrieval benchmark.",
    "The Coding Plan was not called because LlamaIndex was not on the official supported-tool list.",
    "Secrets, response IDs, headers, cookies, and model reasoning are omitted."
  ],
  "sources": [
    "https://docs.z.ai/guides/llm/glm-5.2",
    "https://docs.z.ai/guides/overview/quick-start",
    "https://docs.z.ai/guides/overview/pricing",
    "https://docs.z.ai/devpack/tool/others",
    "https://pypi.org/project/llama-index-llms-openai-like/",
    "https://github.com/run-llama/llama_index/blob/main/llama-index-integrations/llms/llama-index-llms-openai-like/llama_index/llms/openai_like/base.py"
  ]
}
