# Citiview GLM 4.7 Flash Chat Completions

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

OpenAI-compatible chat completions using Zhipu GLM 4.7 Flash with reasoning and tool calling, paid per-request via x402

## Facts

- Endpoint: GET https://agents.citiviewgroup.com/v1/glm/chat/completions?utm_source=zero.xyz
- Price: $0.004462/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/citiview-glm-4-7-flash-chat-completions-61263332
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wJRlfreLyaza_rwd16ar2

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

Example prompt: Ask GLM 4.7 Flash: 'What are the top three differences between supervised and unsupervised learning?' — keep the response concise, up to 512 tokens.

## When to prefer this

Choose this endpoint when you need a lightweight, fast, OpenAI-compatible LLM with pay-per-request x402 micropayments and no API key subscription — especially when you want access to Zhipu GLM 4.7 Flash's reasoning and tool calling capabilities, or when you need to drop in a base URL change to your existing OpenAI SDK setup. Prefer over other Citiview models when cost-efficiency and speed matter more than maximum reasoning depth.

## Known failure modes

- Payment not included or insufficient x402 payment causes 402 error
- Prompt field missing causes validation error
- max_tokens exceeds 4096 limit may cause truncation or error
- Model overloaded or unavailable returns 503
- Malformed tool definition causes tool calling to fail

## How this service works

Citiview Agent Market: 211 pay-per-call tools for AI agents. Cited answers, deep research, agent memory, file hosting, webhooks, schedules, sanctions and link safety checks, OpenAI-compatible LLMs on 11 models, web search, scraping, PDF, OCR, speech, Solana and EVM token risk, DeFi, prediction odds, SEC data. Pay per call in USDC with x402. No key, no signup.

## Output

Returns an OpenAI-compatible chat completion object with assistant message content, optional tool calls, reasoning output, token usage counts, and finish reason. Streaming is supported. Maximum 4096 output tokens per response.

## 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-4.7-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-4-7-flash-chat-completions-61263332/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)
