# FarOut Kimi K2.7 Chat Completions (x402 Pay-Per-Call)

> FarOut Kimi K2.7 Chat Completions (x402 Pay-Per-Call) is a paid API for AI agents from farouter.tech, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Runs Kimi K2.7 LLM inference via a pay-per-call API using USDC on Base — no API key or account required.

## Facts

- Endpoint: POST https://farouter.tech/v1/models/kimi-k2.7/chat/completions
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/farout-kimi-k2-7-chat-completions-x402-pay-per-call-6b97364b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VZPh1IrLbKddm6x5yqJTU

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 farout-kimi-k2-7-chat-completions-x402-pay-per-call-6b97364b -d '<json body>'
```

Example prompt: Ask Kimi K2.7 to write a Python function that parses JSON from an API response and handles missing keys gracefully — keep the output under 500 tokens and use a temperature of 0.3.

## When to prefer this

Choose this endpoint when you need frontier LLM inference with zero onboarding friction — no API key, no account, no prepaid balance — and you can pay per call in USDC on Base via x402. Ideal for autonomous agents that self-fund inference calls, or developers who want to experiment with Kimi K2.7 specifically without committing to a subscription. Prefer over OpenAI or Anthropic direct APIs when you need crypto-native payment flow or want to avoid centralized account management.

## Known failure modes

- Payment rejected if USDC balance is insufficient or x402 payment flow fails
- Model ID not found if an invalid or unsupported model string is passed
- 400 error if messages array is empty or missing required role/content fields
- Context length exceeded if prompt plus max_tokens exceeds the model's context window
- Streaming connection dropped mid-response if SSE is enabled and network is unstable

## How this service works

Fixed-price chat completions for kimi-k2.7 on FarOut: flat $0.001 per call (includes up to 4,000 input + 1,000 output tokens). Rate: $0.053/1M input tokens, $0.224/1M output tokens. Pay with USDC on Base using x402. No API key, no account, no prepaid balance.

## Output

Returns an OpenAI-compatible JSON response with a choices array containing the assistant's message content and finish_reason, plus a usage object with prompt_tokens and completion_tokens counts.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "model": {
   "type": "string",
   "description": "Model id from GET /v1/models, e.g. glm-5.3. No provider prefix."
  },
  "stream": {
   "type": "boolean",
   "description": "SSE streaming."
  },
  "messages": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "role",
     "content"
    ],
    "properties": {
     "role": {
      "enum": [
       "system",
       "developer",
       "user",
       "assistant",
       "tool"
      ],
      "type": "string"
     },
     "content": {}
    },
    "additionalProperties": true
   },
   "minItems": 1,
   "description": "Chat messages, [OI]-compatible {role, content}."
  },
  "max_tokens": {
   "type": "integer",
   "minimum": 1,
   "description": "Output token budget. Drives the quote directly."
  },
  "temperature": {
   "type": "number",
   "maximum": 2,
   "minimum": 0,
   "description": "Sampling temperature."
  },
  "max_completion_tokens": {
   "type": "integer",
   "minimum": 1,
   "description": "Alias of max_tokens (gpt-5.x models)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "usage": {
   "prompt_tokens": 6,
   "completion_tokens": 8
  },
  "choices": [
   {
    "message": {
     "role": "assistant",
     "content": "Hello! How can I help?"
    },
    "finish_reason": "stop"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/farout-kimi-k2-7-chat-completions-x402-pay-per-call-6b97364b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from farouter.tech](https://www.zero.xyz/host/farouter.tech/llms.txt)
