X4
AI Inference · x402 · early usage
x402engine — Zhipu AI's flagship model — strong multilingual and reasoning performance
x402engine — Zhipu AI's flagship model — strong multilingual and reasoning performance
by x402engine.app · discovered, not yet claimed by its owner · updated 2026-10-11
30d calls2
30d payers2
MethodPOST
Outputjson
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
x402engine — Zhipu AI's flagship model — strong multilingual and reasoning performance
Tags: bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-11
Input example from Bazaar metadata
{
"max_tokens": 1024,
"messages": [
{
"content": "Hello",
"role": "user"
}
]
}Output example
{
"choices": [
{
"finish_reason": "stop",
"index": 0,
"message": {
"content": "Hello!",
"role": "assistant"
}
}
],
"content": "Hello!",
"model": "z-ai/glm-5"
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/31501.jsonfor the price and payment options. - Pay. Call
GET https://x402engine.app/api/llm/glm. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, eip155:4326, Solana, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.008535 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base, eip155:4326, Solana
- Demand
- 2 calls · 2 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.008535 | 0x7dd5Be069f2d2eAd75eC7C3423B116fF043c2629 | 300s |
| exact | eip155:4326 eip155:4326 | 0xFAfDdbb3FC7688494971a79cc65DCa3EF82079E7 | 8535000000000000 | 0x7dd5Be069f2d2eAd75eC7C3423B116fF043c2629 | 300s |
| exact | Solana solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | USDC | $0.008535 | Gzehfseq1k9AcHFSoV7qHmDGQx92nLMw78XXdqVWQQWa | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x7dd5Be069f2d2eAd75eC7C3423B116fF043c2629",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "8535",
"amountUsd": 0.008535,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:4326",
"payTo": "0x7dd5Be069f2d2eAd75eC7C3423B116fF043c2629",
"asset": "0xFAfDdbb3FC7688494971a79cc65DCa3EF82079E7",
"amount": "8535000000000000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "Gzehfseq1k9AcHFSoV7qHmDGQx92nLMw78XXdqVWQQWa",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "8535",
"amountUsd": 0.008535,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"properties": {
"choices": {
"items": {
"properties": {
"finish_reason": {
"type": [
"string",
"null"
]
},
"index": {
"type": "integer"
},
"message": {
"properties": {
"content": {
"type": [
"string",
"null"
]
},
"role": {
"type": "string"
},
"tool_calls": {
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
}
},
"type": "object"
},
"type": "array"
},
"content": {
"description": "Convenience copy of the first assistant message's text.",
"type": "string"
},
"model": {
"type": "string"
},
"usage": {
"description": "Provider token and usage accounting, when returned.",
"type": "object"
}
},
"required": [
"choices",
"content"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"choices": [
{
"finish_reason": "string",
"index": 0,
"message": {
"content": "string",
"role": "string",
"tool_calls": [
{}
]
}
}
],
"content": "string",
"model": "string",
"usage": {}
},
"type": "string"
}Examples
curl
curl -X POST 'https://x402engine.app/api/llm/glm' -H 'Content-Type: application/json' --data '{"max_tokens":1024,"messages":[{"content":"Hello","role":"user"}]}'
# -> 402 Payment Required; read PAYMENT-REQUIRED
# retry the identical request with PAYMENT-SIGNATUREJavaScript
const res = await fetch("https://x402engine.app/api/llm/glm", {
"method": "POST",
"headers": {
"content-type": "application/json"
},
"body": "{\"max_tokens\":1024,\"messages\":[{\"content\":\"Hello\",\"role\":\"user\"}]}"
});
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
import json
res = httpx.request("POST", "https://x402engine.app/api/llm/glm", json=json.loads("{\"max_tokens\":1024,\"messages\":[{\"content\":\"Hello\",\"role\":\"user\"}]}"))
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- x402engine.app
- Endpoint
- https://x402engine.app/api/llm/glm
- Machine-readable
/resources/31501.json