# Telnyx x402 Gateway – Kimi K2.5 Chat Completions

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

Generate chat completions using the Moonshot AI Kimi-K2.5 model, paid per-request in USDC via the x402 payment protocol.

## Facts

- Endpoint: POST https://x402.telnyx.com/v1/chat/completions/_t/kimi-k2.5?utm_source=zero.xyz
- Price: $0.016673/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-k2-5-chat-completions-702de25c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FKazD_W6kIcCwlj01Kn2_

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-k2-5-chat-completions-702de25c -d '<json body>'
```

Example prompt: Using the Kimi-K2.5 model on Telnyx's x402 gateway — paying per call in USDC — send this conversation: system says 'You are a helpful assistant', and user asks 'What are the three laws of thermodynamics?' with a max of 512 tokens and temperature 0.7.

## When to prefer this

Choose this endpoint when you need Moonshot AI's Kimi-K2.5 model specifically and want to pay per-call in USDC without a monthly subscription or API key contract — ideal for agents operating with crypto wallets, serverless pipelines with variable load, or when you want OpenAI-compatible chat completion semantics with stablecoin micropayments. Prefer alternatives if you need streaming responses, more than 1024 output tokens, or a different model family.

## Known failure modes

- Payment failure or insufficient USDC balance causes 402 response before inference runs
- Messages array exceeds 32 items or content exceeds 20,000 characters returns 400 validation error
- max_tokens out of range (< 1 or > 1024) causes schema validation failure
- Temperature outside 0–2 range returns parameter error
- Model identifier mismatch (only moonshotai/Kimi-K2.5 is accepted on this route)
- Network timeout during inference returns 504 or connection error
- More than 16 tools provided in the tools array causes 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

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 completion ID, and object type. The response includes exactly one choice (n=1 is fixed).

## 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-K2.5",
   "description": "Model identifier; fixed to moonshotai/Kimi-K2.5 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": 20000
     }
    }
   },
   "maxItems": 32,
   "description": "OpenAI-style chat messages."
  },
  "max_tokens": {
   "type": "integer",
   "maximum": 1024,
   "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-kimi-k2-5-chat-completions-702de25c/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)
