{"uid":"cap_vcrDIDyG_a2_0_hTC_Ts4","slug":"agentrxi-kimi-k2-6-chat-completions-615f93a8","name":"AgentRXI Kimi K2.6 Chat Completions","description":"OpenAI-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.1742. The 402 quotes your request's maximum; \"upto\" payers are charged only the tokens used. Same request/response shape as OpenAI (tool calling, re","url":"https://agentrxi.com/v1/kimi/chat/completions?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"User message"},"system":{"type":"string","description":"Optional system message"},"max_tokens":{"type":"integer"},"temperature":{"type":"number"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl-...","model":"kimi-k2.6","usage":{"total_tokens":18,"prompt_tokens":14,"completion_tokens":4},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"Bonjour !"},"finish_reason":"stop"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.018422","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.018422/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.018422","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.018422","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JOZwe-HoR7ua_3yIeRXTx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.018422","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs OpenAI-compatible chat completions using Moonshot Kimi K2.6, a 262K-context agentic LLM optimized for long tool-calling workflows, billed per token via x402.","exampleAgentPrompt":"Ask Kimi K2.6 to summarize this 50-page contract in plain English and flag any unusual indemnification clauses — use a system message that says 'You are a legal document analyst' and keep the response under 500 tokens.","exampleUseCases":[{"title":"Long-context document analysis agent","prompt":"I have a 200-page technical specification I need analyzed. Ask Kimi K2.6 to read through it and identify every section that mentions API rate limits, with a system prompt set to 'You are a technical documentation analyst'."},{"title":"Multi-step tool-calling workflow","prompt":"Run an agentic reasoning task using Kimi K2.6: given the user question 'What are the top 3 DeFi protocols by TVL on Base?', have the model plan and execute tool calls to gather and summarize the answer. Set max_tokens to 1000."},{"title":"Pay-per-use LLM for startup prototyping","prompt":"I want to test a chat completion without signing up anywhere — send the prompt 'Explain quantum entanglement to a 10-year-old' to Kimi K2.6 with temperature 0.7 and max_tokens 300, billed via x402."}],"resultDescription":"Returns an OpenAI-format chat completion JSON object with the assistant's message content, role, finish_reason (e.g. 'stop'), token usage breakdown (prompt_tokens, completion_tokens, total_tokens), model name ('kimi-k2.6'), and a completion ID. Pricing is per actual tokens used when using 'upto' payment mode.","failureModes":["Insufficient x402 payment budget causes 402 rejection before inference runs","prompt parameter missing returns 400 bad request","Exceeding 262K context window causes truncation or error","Very long outputs may hit the max cost cap of $0.1742 per call","Temperature or max_tokens values outside valid ranges may be rejected"],"whenToPreferThis":"Choose this endpoint when you need a large-context (262K tokens) agentic LLM that supports tool-calling workflows, want OpenAI SDK compatibility without creating an account or managing an API key, and prefer pay-per-token billing via x402 USDC micropayments. Ideal for agents that need to process long documents, run multi-step reasoning chains, or want to avoid subscription commitments. Prefer over OpenAI's own endpoint when x402 payment flow is already in use or when Kimi K2.6's strengths in agentic tasks are desired.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:28.119Z","isFirstParty":false,"canonicalSlug":"agentrxi-kimi-k2-6-chat-completions-615f93a8"}