# FarOut GLM-5.3-Flash Chat Completions (x402)

> FarOut GLM-5.3-Flash Chat Completions (x402) is a paid API for AI agents from farouter.tech, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-13).

Runs a GLM-5.3-Flash chat completion request via pay-per-call USDC micro-payment on Base, returning an OpenAI-compatible response with no API key or account required.

## Facts

- Endpoint: POST https://farouter.tech/v1/models/glm-5.3-flash/chat/completions
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/farout-glm-5-3-flash-chat-completions-x402-bd0989d0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JX20VWhKN3y1RGIXhIAvZ

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 farout-glm-5-3-flash-chat-completions-x402-bd0989d0 -d '<json body>'
```

Example prompt: Using GLM-5.3-flash, send this conversation to FarOut and get a response: system prompt is 'You are a concise assistant', user says 'Explain what a Merkle tree is in 3 sentences', limit the output to 200 tokens.

## When to prefer this

Choose this endpoint when you need OpenAI-compatible LLM inference without API keys, accounts, or prepaid credits — paying per call in USDC on Base. It is ideal for autonomous agents that need to self-fund inference on demand. Prefer it over hosted API providers when you want frictionless crypto-native payment for one-off or low-volume calls to GLM-5.3-flash specifically.

## Known failure modes

- Payment rejected or insufficient USDC balance on Base — 402 Payment Required
- Invalid or unsupported model ID — 400 Bad Request
- messages array empty or malformed — 400 validation error
- max_tokens exceeds model context limit — 400 or truncated response
- Upstream model provider outage — 503 or timeout
- Stream requested but client doesn't handle SSE — partial or broken response

## How this service works

Fixed-price chat completions for glm-5.3-flash on FarOut: flat $0.002 per call (includes up to 4,000 input + 1,000 output tokens). Rate: $0.008/1M input tokens, $0.028/1M output tokens. Pay with USDC on Base using x402. No API key, no account, no prepaid balance.

## Output

Returns an OpenAI-compatible JSON object with a choices array containing the assistant's message (role + content), a finish_reason, and a usage block with prompt_tokens and completion_tokens counts.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "model": {
   "type": "string",
   "description": "Model id from GET /v1/models, e.g. glm-5.3. No provider prefix."
  },
  "stream": {
   "type": "boolean",
   "description": "SSE streaming."
  },
  "messages": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "role",
     "content"
    ],
    "properties": {
     "role": {
      "enum": [
       "system",
       "developer",
       "user",
       "assistant",
       "tool"
      ],
      "type": "string"
     },
     "content": {}
    },
    "additionalProperties": true
   },
   "minItems": 1,
   "description": "Chat messages, [OI]-compatible {role, content}."
  },
  "max_tokens": {
   "type": "integer",
   "minimum": 1,
   "description": "Output token budget. Sets your spending cap; actual usage is what gets settled (true-up)."
  },
  "temperature": {
   "type": "number",
   "maximum": 2,
   "minimum": 0,
   "description": "Sampling temperature."
  },
  "max_completion_tokens": {
   "type": "integer",
   "minimum": 1,
   "description": "Alias of max_tokens (gpt-5.x models)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "usage": {
   "prompt_tokens": 6,
   "completion_tokens": 8
  },
  "choices": [
   {
    "message": {
     "role": "assistant",
     "content": "Hello! How can I help?"
    },
    "finish_reason": "stop"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/farout-glm-5-3-flash-chat-completions-x402-bd0989d0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from farouter.tech](https://www.zero.xyz/host/farouter.tech/llms.txt)
