{"uid":"cap_T-YNc8R9tZR8XQ3aIcey0","slug":"kimi-k3-chat-completions-via-x402-model-access-gateway-fa0e3200","name":"Kimi K3 Chat Completions via x402 (Model Access Gateway)","description":"LLM inference API: OpenAI-compatible chat completions for 136 AI models (Claude, GPT, Gemini, Grok, DeepSeek, Qwen, Kimi, GLM), paid per call in USDC on Base with x402. No account, no API key, automatic refund if the model fails.","url":"https://agent402-arb.rosariovitale0096.workers.dev/llm/kimi-k3?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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"}}},"responseSchema":{"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}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0014","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.0014/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0014","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0014","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6sisno9TtzMdEflOUZa3Y","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0014","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Crypto-native coding assistant","prompt":"Use Kimi K3 to write a Python function that parses nested JSON and handles missing keys gracefully — I don't want to set up an API account, just pay per call in USDC."},{"title":"On-demand reasoning without subscription","prompt":"I need Kimi K3 to solve this multi-step logic puzzle for me: 'Alice is taller than Bob, Bob is taller than Carol — rank all three.' Pay with crypto, no sign-up."},{"title":"Serverless AI for agent pipeline","prompt":"In my agent workflow, call Kimi K3 with the system prompt 'You are a JSON formatter' and the user message 'Format this: name John age 30 city NY' — pay per request via x402 micropayment."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T12:32:55.658Z","isFirstParty":false,"canonicalSlug":"kimi-k3-chat-completions-via-x402-model-access-gateway-fa0e3200"}