kimi chat completions
kimi_chat_completionsOpenAI-compatible chat completions on Moonshot Kimi K2.6, an agentic model built for long tool-calling workflows (262K context). Set your OpenAI SDK base URL to https://agentrxi.com/v1/kimi and pay per token with x402 instead of an API key: $1.9 per million input and $8 per million output tokens, minimum $0.002 a call, at most $0.1762. The 402 quotes your request's maximum; "upto" payers are charged only the tokens used. Same request/response shape as OpenAI (tool calling, reasoning, streaming supported), up to 8192 output tokens. Costs $0.1762 USDC per call (x402).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Ignored; always kimi-k2.6 | |
| tools | No | OpenAI function tools | |
| stream | No | ||
| messages | Yes | ||
| max_tokens | No | ||
| temperature | No |