# Telnyx x402 Gateway — MiniMax M3 Chat Completions

> Telnyx x402 Gateway — MiniMax M3 Chat Completions is a paid API for AI agents from x402.telnyx.com, paid per call via x402, $0.011974/call, status unknown (last checked 2026-10-10).

Generate chat completions using the MiniMax-M3-MXFP8 model via a pay-per-request USDC micropayment gateway on Telnyx's x402 infrastructure.

## Facts

- Endpoint: POST https://x402.telnyx.com/v1/chat/completions/_t/minimax-m3?utm_source=zero.xyz
- Price: $0.011974/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-minimax-m3-chat-completions-8abb7102
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QpDoOYN3mrY_pLMo27ore

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-minimax-m3-chat-completions-8abb7102 -d '<json body>'
```

Example prompt: Using the MiniMax M3 model on Telnyx, send this conversation and get a reply: system says 'You are a helpful assistant', user asks 'Explain quantum entanglement in two sentences', with temperature 0.7 and max 200 tokens.

## When to prefer this

Choose this endpoint when you need pay-per-call LLM inference using the MiniMax-M3-MXFP8 model with no subscription required — ideal for low-volume or bursty workloads where USDC micropayments are preferable to flat monthly billing. Prefer it over generic OpenAI endpoints when you specifically want MiniMax M3's capabilities, or when your agent stack already integrates x402 payment flows via Telnyx.

## Known failure modes

- Payment failure: insufficient USDC balance or x402 payment not accepted, resulting in 402 Payment Required
- Context too long: messages exceed 32-item limit or content exceeds 32,000 characters
- Token limit exceeded: max_tokens parameter outside 1–2048 range
- Temperature out of range: value outside 0–2 causes validation error
- Too many tools: more than 16 tool definitions provided
- Model mismatch: specifying a model other than MiniMaxAI/MiniMax-M3-MXFP8 is rejected (fixed route)
- Network timeout: inference latency spike causes request to time out

## 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 JSON chat completion object containing the assistant's reply message, finish reason (e.g. 'stop'), token usage breakdown (prompt, completion, total tokens), and a completion ID.

## 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": "MiniMaxAI/MiniMax-M3-MXFP8",
   "description": "Model identifier; fixed to MiniMaxAI/MiniMax-M3-MXFP8 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": 32000
     }
    }
   },
   "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-minimax-m3-chat-completions-8abb7102/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)
