# Kimi K3 Chat Completions via x402 (Model Access Gateway)

> Kimi K3 Chat Completions via x402 (Model Access Gateway) is a paid API for AI agents from agent402-arb.rosariovitale0096.workers.dev, paid per call via x402, $0.0014/call, status unknown (last checked 2026-10-15).

Sends a chat completion request to Moonshot's Kimi K3 model through an OpenAI-compatible API, paid per request in USDC on Base via x402 with no account required.

## Facts

- Endpoint: POST https://agent402-arb.rosariovitale0096.workers.dev/llm/kimi-k3?utm_source=zero.xyz
- Price: $0.0014/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kimi-k3-chat-completions-via-x402-model-access-gateway-fa0e3200
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_T-YNc8R9tZR8XQ3aIcey0

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 kimi-k3-chat-completions-via-x402-model-access-gateway-fa0e3200 -d '<json body>'
```

Example prompt: Ask Kimi K3 to explain the difference between transformer attention and state space models — I want a detailed technical answer, no API key needed, just pay per request in USDC.

## When to prefer this

Choose this endpoint when you want to access the Kimi K3 model specifically (Moonshot's flagship reasoning/coding model) without managing API keys or subscriptions, and your agent can pay in USDC via x402 micropayments on Base. Prefer over generic OpenAI endpoints when Kimi K3's strengths (long-context reasoning, coding, multilingual) are needed, or when a keyless, pay-per-call crypto-native workflow is required.

## Known failure modes

- Payment not provided or insufficient USDC — returns 402 Payment Required
- Malformed request body missing required fields (type, method, bodyType, body) — returns 400
- Model overloaded or upstream Moonshot API unavailable — returns 502 or 503
- Invalid chat message format in body — may return 400 or garbled output
- Network timeout from Cloudflare Worker to upstream model provider

## How this service works

Kimi K3 API (moonshot/kimi-k3): LLM inference via OpenAI-compatible chat completions, pay per call in USDC on Base with x402. No API key, no account. Suited for AI agents and scripts that need Kimi K3 on demand. When listed, this request cost 30% less than the same request on BlockRun. Streaming and function calling supported. Exact price in the 402 quote before payment; automatic refund if the model fails to answer.

## 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), model identifier ('moonshot/kimi-k3'), and a unique completion ID.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "model": {
   "type": "string",
   "description": "Optional: fixed by the route (moonshot/kimi-k3)"
  },
  "tools": {
   "type": "array"
  },
  "stream": {
   "type": "boolean",
   "description": "true: server-sent events after payment"
  },
  "messages": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "role"
    ],
    "properties": {
     "role": {
      "enum": [
       "system",
       "user",
       "assistant",
       "tool",
       "developer"
      ],
      "type": "string"
     },
     "content": {
      "type": [
       "string",
       "array",
       "null"
      ]
     }
    }
   },
   "minItems": 1
  },
  "max_tokens": {
   "type": "integer",
   "maximum": 16384,
   "minimum": 1,
   "description": "Optional, default 4096"
  },
  "temperature": {
   "type": "number",
   "maximum": 2,
   "minimum": 0
  },
  "response_format": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "chatcmpl-7f3c2a91",
  "model": "moonshot/kimi-k3",
  "usage": {
   "total_tokens": 10,
   "prompt_tokens": 9,
   "completion_tokens": 1
  },
  "object": "chat.completion",
  "choices": [
   {
    "index": 0,
    "message": {
     "role": "assistant",
     "content": "OK"
    },
    "finish_reason": "stop"
   }
  ],
  "created": 1791979200
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kimi-k3-chat-completions-via-x402-model-access-gateway-fa0e3200/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402-arb.rosariovitale0096.workers.dev](https://www.zero.xyz/host/agent402-arb.rosariovitale0096.workers.dev/llms.txt)
