x402.telnyx.com/v1/chat/completions/_t/glm-5.3-flash
Chat completions via Telnyx Inference (zai-org/GLM-5.3-Flash), run at low reasoning effort for direct answers. max_tokens must be 512–2048 (omit it for the 1024-token default). OpenAI-compatible. Up to $0.005817 USDC per call, quoted to your request (input + max_tokens at list rates, no markup), or pay per-token via the upto scheme.
POST
https://x402.telnyx.com/v1/chat/completions/_t/glm-5.3-flashUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://x402.telnyx.com/v1/chat/completions/_t/glm-5.3-flash", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"max_tokens":512,"messages":[{"content":"Explain x402 micropayments to a pirate in two sentences.","role":"user"}],"model":"zai-org/GLM-5.3-Flash"}),
});
console.log(await res.json());Example input
{
"max_tokens": 512,
"messages": [
{
"content": "Explain x402 micropayments to a pirate in two sentences.",
"role": "user"
}
],
"model": "zai-org/GLM-5.3-Flash"
}