{"uid":"cap_FKazD_W6kIcCwlj01Kn2_","slug":"telnyx-x402-gateway-kimi-k2-5-chat-completions-702de25c","name":"Telnyx x402 Gateway – Kimi K2.5 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-k2.5?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-K2.5","description":"Model identifier; fixed to moonshotai/Kimi-K2.5 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":20000}}},"maxItems":32,"description":"OpenAI-style chat messages."},"max_tokens":{"type":"integer","maximum":1024,"minimum":1},"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.016673","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.016673/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.016673","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.016673","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_imjxHI9D8dIm0IWa_77uy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.016673","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generate chat completions using the Moonshot AI Kimi-K2.5 model, paid per-request in USDC via the x402 payment protocol.","exampleAgentPrompt":"Using the Kimi-K2.5 model on Telnyx's x402 gateway — paying per call in USDC — send this conversation: system says 'You are a helpful assistant', and user asks 'What are the three laws of thermodynamics?' with a max of 512 tokens and temperature 0.7.","exampleUseCases":[{"title":"Agentic research assistant with tool use","prompt":"I want to query Kimi-K2.5 through Telnyx's x402 gateway with a system prompt of 'You are a research analyst' and a user message asking 'Summarize the key differences between transformer and state-space models in 200 words', using up to 800 tokens and temperature 0.5 — bill it in USDC per call."},{"title":"Pay-per-call code generation","prompt":"Ask Kimi-K2.5 via the Telnyx x402 gateway to write a Python function that parses ISO 8601 dates — system prompt: 'You are an expert Python developer', user message: 'Write a function to parse ISO 8601 date strings', max 1024 tokens, temperature 0.2."},{"title":"On-demand customer FAQ answering","prompt":"Send a chat to Kimi-K2.5 on the Telnyx x402 endpoint — system: 'You are a friendly customer support agent for a SaaS product', user: 'How do I reset my password?', max 256 tokens, temperature 0.8 — I want to pay per request in USDC without a monthly plan."}],"resultDescription":"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 completion ID, and object type. The response includes exactly one choice (n=1 is fixed).","failureModes":["Payment failure or insufficient USDC balance causes 402 response before inference runs","Messages array exceeds 32 items or content exceeds 20,000 characters returns 400 validation error","max_tokens out of range (< 1 or > 1024) causes schema validation failure","Temperature outside 0–2 range returns parameter error","Model identifier mismatch (only moonshotai/Kimi-K2.5 is accepted on this route)","Network timeout during inference returns 504 or connection error","More than 16 tools provided in the tools array causes a validation error"],"whenToPreferThis":"Choose this endpoint when you need Moonshot AI's Kimi-K2.5 model specifically and want to pay per-call in USDC without a monthly subscription or API key contract — ideal for agents operating with crypto wallets, serverless pipelines with variable load, or when you want OpenAI-compatible chat completion semantics with stablecoin micropayments. Prefer alternatives if you need streaming responses, more than 1024 output tokens, or a different model family.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:37:02.404Z","isFirstParty":false,"canonicalSlug":"telnyx-x402-gateway-kimi-k2-5-chat-completions-702de25c"}