# Telnyx x402 Gateway – Qwen3-235B Chat Completions

> Telnyx x402 Gateway – Qwen3-235B Chat Completions is a paid API for AI agents from x402.telnyx.com, paid per call via x402, $0.010497/call, status unknown (last checked 2026-10-10).

Generate AI chat completions using Qwen/Qwen3-235B-A22B via Telnyx's x402 gateway, paying $0.01 USDC per request on-chain

## Facts

- Endpoint: POST https://x402.telnyx.com/v1/chat/completions/_t/qwen3-235b?utm_source=zero.xyz
- Price: $0.010497/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/telnyx-x402-gateway-qwen3-235b-chat-completions-aa910b2d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VBkM2YPO1HELaJ5K4WaqG

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 telnyx-x402-gateway-qwen3-235b-chat-completions-aa910b2d -d '<json body>'
```

Example prompt: Send my conversation to Qwen3-235B on Telnyx and generate a reply — the system prompt is 'You are a helpful coding assistant', the user message is 'Explain async/await in Python in 3 bullet points', use temperature 0.7 and max 512 tokens, and pay the ~$0.01 USDC fee per request.

## When to prefer this

Choose this endpoint when you need a powerful Mixture-of-Experts LLM (Qwen3-235B with 22B active parameters) on a strict pay-per-call basis with no monthly commitment, billed in USDC via x402 micropayments. It is ideal for agentic workflows that need tool calling, sporadic high-quality inference without subscription overhead, or crypto-native pipelines where on-chain payment provenance matters. Prefer alternatives when you need streaming responses, more than 2048 output tokens, or a different model family.

## Known failure modes

- Insufficient USDC balance causes payment failure and 402 response before inference runs
- Messages array exceeds 32 items or individual content exceeds 8000 characters, returning 400 validation error
- max_tokens exceeds 2048 ceiling, causing schema validation rejection
- Model identifier mismatch if caller tries to override the fixed Qwen/Qwen3-235B-A22B model field
- Network timeout if the 235B model is under high load, causing incomplete response
- Tools array exceeds 16 items, triggering a validation error

## How this service works

Pay USDC per request for Telnyx Inference and Audio (text-to-speech, speech-to-text) through x402.

## Output

Returns an OpenAI-compatible chat completion JSON object containing the assistant's message content, finish reason (e.g. 'stop'), a completion ID, and token usage breakdown (prompt tokens, completion tokens, total tokens).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "n": {
   "type": "integer",
   "const": 1,
   "description": "Fixed to one completion per paid call."
  },
  "model": {
   "type": "string",
   "const": "Qwen/Qwen3-235B-A22B",
   "description": "Model identifier; fixed to Qwen/Qwen3-235B-A22B on this route."
  },
  "tools": {
   "type": "array",
   "items": {
    "type": "object"
   },
   "maxItems": 16
  },
  "messages": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "role",
     "content"
    ],
    "properties": {
     "role": {
      "enum": [
       "system",
       "user",
       "assistant",
       "tool"
      ],
      "type": "string"
     },
     "content": {
      "type": "string",
      "maxLength": 8000
     }
    }
   },
   "maxItems": 32,
   "description": "OpenAI-style chat messages."
  },
  "max_tokens": {
   "type": "integer",
   "maximum": 2048,
   "minimum": 1
  },
  "temperature": {
   "type": "number",
   "maximum": 2,
   "minimum": 0
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "chatcmpl-xxx",
  "usage": {
   "total_tokens": 16,
   "prompt_tokens": 12,
   "completion_tokens": 4
  },
  "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/telnyx-x402-gateway-qwen3-235b-chat-completions-aa910b2d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.telnyx.com](https://www.zero.xyz/host/x402.telnyx.com/llms.txt)
