OpenAI-compatible chat completions on Zhipu GLM 4.7 Flash, reasoning and tool ca
OpenAI-compatible chat completions on Zhipu GLM 4.7 Flash, reasoning and tool calling. Set your OpenAI SDK base URL to https://agents.citiviewgroup.com/v1/glm and pay per token with x402 instead of an API key: $0.18 per million input and $1.2 per million output tokens, minimum $0.002 a call, at most $0.0082. The 402 quotes your request's maximum; "upto" payers are charged only the tokens used. Same request/response shape as OpenAI (tool calling, reasoning, streaming supported
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://agents.citiviewgroup.com/v1/glm/chat/completions
| Category | Market data |
|---|---|
| Provider host | agents.citiviewgroup.com |
| Networks | eip155:137, eip155:42161, eip155:480, eip155:8453 |
| Payment schemes | exact, upto |
| Self-reported calls, 30 days | 2 from 2 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-18 | valid payment request | 402 | $0.004463 | 28 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"prompt": "Say hello in French."
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"max_tokens": {
"type": "integer"
},
"prompt": {
"description": "User message",
"type": "string"
},
"system": {
"description": "Optional system message",
"type": "string"
},
"temperature": {
"type": "number"
}
},
"required": [
"prompt"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}