# Citiview GLM-5.3-Flash Chat Completions

> Citiview GLM-5.3-Flash Chat Completions is a paid API for AI agents from agents.citiviewgroup.com, paid per call via x402, $0.005081/call, status down (last checked 2026-10-30).

Runs a user prompt through the GLM-5.3-Flash language model and returns an OpenAI-compatible chat completion response, pay-per-call via USDC.

## Facts

- Endpoint: GET https://agents.citiviewgroup.com/v1/glm5-flash/chat/completions?utm_source=zero.xyz
- Price: $0.005081/call
- Payment: x402
- Status: down
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/citiview-glm-5-3-flash-chat-completions-b64f8e1f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__2l07vX9wVgKaVnXJExl_

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-flash-chat-completions-b64f8e1f
```

Example prompt: Ask GLM-5.3-Flash to summarize the following paragraph in three bullet points: 'Quantum computing uses qubits to perform calculations exponentially faster than classical computers for certain problem types, with applications in cryptography, drug discovery, and optimization.'

## When to prefer this

Choose this endpoint when you need a fast, cheap OpenAI-compatible LLM call without API key management or signup — especially in agent pipelines where cost-per-call matters and GLM Flash quality is sufficient. Prefer it over heavier models when latency and cost are priorities and you are already using x402/USDC micropayments.

## Known failure modes

- Missing required `prompt` query parameter returns an error
- Exceeding max_tokens limit may truncate output or return an error
- Malformed temperature values (outside 0–2 range) may cause rejection
- Insufficient USDC balance or failed x402 payment results in 402 Payment Required
- Model unavailability or upstream GLM API downtime returns a 5xx error

## How this service works

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

## Output

Returns an OpenAI-compatible JSON object with a `choices` array containing the assistant's reply message, finish reason, token usage breakdown (prompt, completion, total tokens), model name ('glm-5.3-flash'), and a completion ID.

## 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-flash",
  "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-flash-chat-completions-b64f8e1f/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)
