# modelprices.xyz GLM Pricing Table

> modelprices.xyz GLM Pricing Table is a paid API for AI agents from modelprices.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns per-token pricing for all GLM models (GLM-4.6, GLM-4.5 Air) across every provider that hosts them, sorted cheapest first.

## Facts

- Endpoint: GET https://modelprices.xyz/glm-pricing
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/modelprices-xyz-glm-pricing-table-10fbfb76
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uR---nHKvdR60Qejw_jzd

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability modelprices-xyz-glm-pricing-table-10fbfb76
```

Example prompt: What's the cheapest provider to run GLM-4.6 right now? Pull the full GLM pricing table and show me input, output, and batch token costs across Bedrock, Azure, Vertex, OpenRouter, and Fireworks, sorted cheapest first.

## When to prefer this

Use this endpoint when you specifically need GLM model pricing (Zhipu AI's GLM-4.x family) across multiple hosting providers in one normalized call. Prefer it over single-model lookups when you want to compare costs across Bedrock, Azure, Vertex, OpenRouter, and Fireworks simultaneously, or when you need cache and batch pricing alongside standard rates.

## Known failure modes

- Upstream provider pricing unavailable — may return stale or partial data
- Network timeout if pricing aggregation takes too long
- Empty result if no GLM models are currently tracked
- Payment not accepted / x402 payment failure blocks the response

## How this service works

GLM pricing table: what every GLM model costs per token right now — GLM-4.6, GLM-4.5 Air — from Zhipu AI and every provider that resells or hosts them (Bedrock, Azure, Vertex, OpenRouter, Fireworks). Input, output, cache and batch USD per 1M tokens, sorted cheapest first, so you can compare GLM inference cost across hosts and pick the cheapest place to run one. Normalized, cross-checked, refreshed hourly.

## Output

A normalized table of all GLM models (e.g. GLM-4.6, GLM-4.5 Air) with per-token USD costs for input, output, cache, and batch usage, one row per provider (Zhipu AI native, AWS Bedrock, Azure, Vertex AI, OpenRouter, Fireworks), sorted ascending by cost. Data is refreshed hourly and cross-checked across sources.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/modelprices-xyz-glm-pricing-table-10fbfb76/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from modelprices.xyz](https://www.zero.xyz/host/modelprices.xyz/llms.txt)
