# Telnyx x402 Gateway – Kimi-K3 Chat Completions

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

Send OpenAI-compatible chat messages to the Moonshot AI Kimi-K3 model and pay per request in USDC via the x402 protocol.

## Facts

- Endpoint: POST https://x402.telnyx.com/v1/chat/completions/_t/kimi-k3?utm_source=zero.xyz
- Price: $0.150193/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/telnyx-x402-gateway-kimi-k3-chat-completions-63cd6ab7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xS6Mp1syHlFMPzuowbbRL

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-kimi-k3-chat-completions-63cd6ab7 -d '<json body>'
```

Example prompt: Using the Kimi-K3 model on Telnyx's x402 gateway, send this conversation and get a reply: system says 'You are a helpful assistant', user asks 'What are the top three uses of USDC in DeFi?' — keep the response under 300 words.

## When to prefer this

Choose this endpoint when you want to run inference against the Moonshot AI Kimi-K3 model specifically, paying per request in USDC without committing to a subscription. Ideal for agents that need pay-as-you-go LLM access via the x402 protocol, or when Kimi-K3's capabilities (long context, reasoning) are preferred over other models available on the same gateway.

## Known failure modes

- Payment not received or insufficient USDC balance — request rejected before inference runs
- Message content exceeds 12,000 character limit per message — validation error
- Too many messages in context (>32) — request rejected
- max_tokens outside allowed range (4096–8192) — validation error
- temperature outside 0–2 range — validation error
- More than 16 tools defined — validation error
- Network timeout if model inference takes too long
- x402 payment protocol misconfiguration — 402 Payment Required with no completion

## 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 reply message, finish reason (e.g. 'stop'), token usage breakdown (prompt, completion, total tokens), a unique completion ID, and the object type 'chat.completion'. Exactly one choice is returned per paid call.

## 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": "moonshotai/Kimi-K3",
   "description": "Model identifier; fixed to moonshotai/Kimi-K3 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": 12000
     }
    }
   },
   "maxItems": 32,
   "description": "OpenAI-style chat messages."
  },
  "max_tokens": {
   "type": "integer",
   "maximum": 8192,
   "minimum": 4096
  },
  "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-kimi-k3-chat-completions-63cd6ab7/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)
