{"uid":"cap_xS6Mp1syHlFMPzuowbbRL","slug":"telnyx-x402-gateway-kimi-k3-chat-completions-63cd6ab7","name":"Telnyx x402 Gateway – Kimi-K3 Chat Completions","description":"Pay USDC per request for Telnyx Inference and Audio (text-to-speech, speech-to-text) through x402.","url":"https://x402.telnyx.com/v1/chat/completions/_t/kimi-k3?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"n":{"type":"integer","const":1,"description":"Fixed to one completion per paid call."},"model":{"type":"string","const":"moonshotai/Kimi-K3","description":"Model identifier; fixed to moonshotai/Kimi-K3 on this route."},"tools":{"type":"array","items":{"type":"object"},"maxItems":16},"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"enum":["system","user","assistant","tool"],"type":"string"},"content":{"type":"string","maxLength":12000}}},"maxItems":32,"description":"OpenAI-style chat messages."},"max_tokens":{"type":"integer","maximum":8192,"minimum":4096},"temperature":{"type":"number","maximum":2,"minimum":0}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl-xxx","usage":{"total_tokens":16,"prompt_tokens":12,"completion_tokens":4},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"Hello!"},"finish_reason":"stop"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.150193","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.150193/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.150193","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.150193","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QBerZ0JOFH6xA8-eCmT6Z","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.150193","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Send OpenAI-compatible chat messages to the Moonshot AI Kimi-K3 model and pay per request in USDC via the x402 protocol.","exampleAgentPrompt":"Using the Kimi-K3 model on Telnyx's x402 gateway, send this conversation and get a reply: system says 'You are a helpful assistant', user asks 'What are the top three uses of USDC in DeFi?' — keep the response under 300 words.","exampleUseCases":[{"title":"Crypto-native agent reasoning task","prompt":"I want to run a one-off question through the Kimi-K3 model paying with USDC — no monthly subscription. Ask it: 'Summarize the key differences between proof-of-work and proof-of-stake in three bullet points.' Keep it concise."},{"title":"Tool-calling workflow with Kimi-K3","prompt":"Set up a chat with Kimi-K3 where it can call a weather tool I've defined. System prompt: 'You are a travel assistant with access to weather data.' User says: 'Should I pack a jacket for my trip to Tokyo next week?' Include the tool definition and pay per call with USDC."},{"title":"Multi-turn customer support simulation","prompt":"I need to test a multi-turn support conversation using Kimi-K3 — send these three messages in sequence: system 'You are a customer support agent for a SaaS product', user 'My dashboard isn't loading', assistant 'Can you describe the error?', user 'It just shows a blank white screen.' Give me the model's next response."}],"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), a unique completion ID, and the object type 'chat.completion'. Exactly one choice is returned per paid call.","failureModes":["Payment not received or insufficient USDC balance — request rejected before inference runs","Message content exceeds 12,000 character limit per message — validation error","Too many messages in context (>32) — request rejected","max_tokens outside allowed range (4096–8192) — validation error","temperature outside 0–2 range — validation error","More than 16 tools defined — validation error","Network timeout if model inference takes too long","x402 payment protocol misconfiguration — 402 Payment Required with no completion"],"whenToPreferThis":"Choose this endpoint when you want to run inference against the Moonshot AI Kimi-K3 model specifically, paying per request in USDC without committing to a subscription. Ideal for agents that need pay-as-you-go LLM access via the x402 protocol, or when Kimi-K3's capabilities (long context, reasoning) are preferred over other models available on the same gateway.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T06:30:52.089Z","isFirstParty":false,"canonicalSlug":"telnyx-x402-gateway-kimi-k3-chat-completions-63cd6ab7"}