# Citiview GLM-5.3 Chat Completions

> Citiview GLM-5.3 Chat Completions is a paid API for AI agents from agents.citiviewgroup.com, paid per call via x402, $0.020079/call, status unknown (last checked 2026-11-29).

OpenAI-compatible chat completions powered by Zhipu GLM-5.3 with 1M-token context, tool calling, and per-token x402 micropayment pricing

## Facts

- Endpoint: GET https://agents.citiviewgroup.com/v1/glm5/chat/completions?utm_source=zero.xyz
- Price: $0.020079/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/citiview-glm-5-3-chat-completions-92bb2c47
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Fu-Nx_8754V2q8BSpD3v6

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 citiview-glm-5-3-chat-completions-92bb2c47
```

Example prompt: Ask GLM-5.3 to explain the key differences between transformer and state-space model architectures — keep the response under 300 tokens and use a neutral, technical tone.

## When to prefer this

Prefer this endpoint when you need an OpenAI-compatible chat completion API with no subscription or API key required, paying per token via x402 micropayments. It is especially well-suited for agents that need a very large context window (up to 1M tokens), require tool calling or structured reasoning, or want to experiment with Zhipu GLM-5.3 without committing to a monthly plan. Choose it over OpenAI's own endpoints when budget is per-call and you want to avoid credential management, or when you specifically need GLM-5.3's characteristics.

## Known failure modes

- Insufficient x402 payment balance causes 402 Payment Required before generation begins
- prompt parameter missing results in a 400 Bad Request
- Token usage exceeding max_tokens cap truncates output with finish_reason='length'
- Rate or quota limits on the underlying GLM-5.3 model cause 429 or 503 errors
- Malformed query parameters (e.g. non-numeric temperature) return 400 validation errors
- Network timeout on very long generations with large contexts

## How this service works

OpenAI-compatible chat completions on Zhipu GLM-5.3, frontier reasoning with tool calling and a 1M-token context. Set your OpenAI SDK base URL to https://agents.citiviewgroup.com/v1/glm5 and pay per token with x402 instead of an API key: $2.8 per million input and $8.8 per million output tokens, minimum $0.002 a call, at most $0.2322. The 402 quotes your request's maximum; "upto" payers are charged only the tokens used. Same request/response shape as OpenAI (tool calling, rea

## Output

Returns an OpenAI-format chat completion JSON object with the assistant's message content, role, finish reason (e.g. 'stop'), model name ('glm-5.3'), and token usage breakdown (prompt_tokens, completion_tokens, total_tokens). The response is structurally identical to OpenAI's /v1/chat/completions response, enabling drop-in compatibility with existing OpenAI SDK clients.

## 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",
     "required": [
      "prompt"
     ],
     "properties": {
      "prompt": {
       "type": "string",
       "description": "User message"
      },
      "system": {
       "type": "string",
       "description": "Optional system message"
      },
      "max_tokens": {
       "type": "integer"
      },
      "temperature": {
       "type": "number"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "chatcmpl-...",
  "model": "glm-5.3",
  "usage": {
   "total_tokens": 18,
   "prompt_tokens": 14,
   "completion_tokens": 4
  },
  "object": "chat.completion",
  "choices": [
   {
    "index": 0,
    "message": {
     "role": "assistant",
     "content": "Bonjour !"
    },
    "finish_reason": "stop"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/citiview-glm-5-3-chat-completions-92bb2c47/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.citiviewgroup.com](https://www.zero.xyz/host/agents.citiviewgroup.com/llms.txt)
