# Laminarity Relay – GLM-5.3-Flash Chat Completions

> Laminarity Relay – GLM-5.3-Flash Chat Completions is a paid API for AI agents from api.laminarity.uk, paid per call via x402, $0.00123/call, status unknown (last checked 2026-11-17).

Pay-per-request OpenAI-compatible chat completion using GLM-5.3-Flash, billed in USDC via x402 with no signup or API keys required.

## Facts

- Endpoint: POST https://api.laminarity.uk/v1/glm-5.3-flash/chat/completions?utm_source=zero.xyz
- Price: $0.00123/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/laminarity-relay-glm-5-3-flash-chat-completions-7d7c8d40
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CmKGZGrE4qpiRjGzke1cj

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 laminarity-relay-glm-5-3-flash-chat-completions-7d7c8d40 -d '<json body>'
```

Example prompt: Using GLM-5.3-Flash on Laminarity, generate a chat completion for this conversation: system says 'You are a concise assistant', user asks 'What is the capital of France?' — keep max tokens to 50 and temperature at 0.3.

## When to prefer this

Choose this endpoint when you need OpenAI-compatible chat completions with zero onboarding friction — no account, no API key, just USDC micropayments via x402. It is ideal for AI agents that dynamically spin up LLM calls, need cost-per-call billing in stablecoin, or want to use the GLM-5.3-Flash open-weight model specifically. Prefer it over OpenAI or Anthropic direct APIs when anonymity, pay-as-you-go USDC billing, or avoiding vendor lock-in matters.

## Known failure modes

- Payment failure: x402 payment not accepted or insufficient USDC balance — request rejected before inference
- Invalid model ID: sending a model name other than 'zai-org/GLM-5.3-Flash' returns a 400 or model-not-found error
- Malformed messages array: missing required 'role' or 'content' fields causes a validation error
- max_tokens too low: completion may be truncated or return finish_reason 'length' unexpectedly
- Temperature out of range: values outside 0–2 are rejected with a validation error
- Rate or capacity limits: open-weight model backend may return 503 or timeout under high load
- Streaming not supported in all client contexts: stream:true may cause parse issues if client expects buffered JSON

## How this service works

Pay-per-request LLM inference for AI agents, served by open-weight models (DeepSeek, GLM, MiniMax). OpenAI-compatible; paid in USDC via x402 — no signup, no API keys.

## Output

Returns an OpenAI-compatible chat.completion JSON object containing the assistant's reply text, the model used, finish reason (e.g. 'stop'), and token usage breakdown (prompt, completion, and total tokens).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "model": {
   "enum": [
    "zai-org/GLM-5.3-Flash"
   ],
   "type": "string",
   "default": "zai-org/GLM-5.3-Flash",
   "description": "Model id from GET /v1/models."
  },
  "stream": {
   "type": "boolean",
   "default": false
  },
  "messages": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "role",
     "content"
    ],
    "properties": {
     "role": {
      "enum": [
       "system",
       "user",
       "assistant"
      ],
      "type": "string"
     },
     "content": {
      "type": "string"
     }
    }
   }
  },
  "max_tokens": {
   "type": "integer",
   "minimum": 1,
   "description": "Upper bound on completion tokens; lower values cost less."
  },
  "temperature": {
   "type": "number",
   "maximum": 2,
   "minimum": 0
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "chatcmpl-example",
  "model": "zai-org/GLM-5.3-Flash",
  "usage": {
   "total_tokens": 12,
   "prompt_tokens": 9,
   "completion_tokens": 3
  },
  "object": "chat.completion",
  "choices": [
   {
    "index": 0,
    "message": {
     "role": "assistant",
     "content": "Hello!"
    },
    "finish_reason": "stop"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/laminarity-relay-glm-5-3-flash-chat-completions-7d7c8d40/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.laminarity.uk](https://www.zero.xyz/host/api.laminarity.uk/llms.txt)
