{"uid":"cap_G6EVR5NYOCtUJuXhMR0yE","slug":"telnyx-inference-kimi-k2-6-long-context-chat-completions-dff54b8e","name":"Telnyx Inference – Kimi K2.6 Long-Context Chat Completions","description":"Long-context chat completions via Telnyx Inference (Kimi K2.6) — 200K-char input window, 2048-token output. OpenAI-compatible. $0.0543 USDC per call. (upto metered — large context)","url":"https://x402.telnyx.com/v1/chat/completions/_t/kimi-long/upto?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.6-long","description":"Model identifier; fixed to moonshotai/Kimi-K2.6-long 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":200000}}},"maxItems":64,"description":"OpenAI-style chat messages."},"max_tokens":{"type":"integer","maximum":8192,"minimum":1},"temperature":{"type":"number","maximum":2,"minimum":0}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.079376","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.079376/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.079376","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.079376","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_DvdUzxrztHEIA7_FQiA7R","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.079376","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates OpenAI-compatible chat completions using Moonshot AI's Kimi K2.6 model with a 200K-character input window, suitable for very long documents and conversations.","exampleAgentPrompt":"I have a 150,000-character legal contract I need you to review and summarize the key obligations and risks — use the Kimi K2.6 long-context model through Telnyx Inference so the whole document fits in one call.","exampleUseCases":[{"title":"Full book summarization in one pass","prompt":"Here's the full text of a 180,000-character novel — summarize the plot, major themes, and character arcs in a single pass without chunking it up."},{"title":"Entire codebase code review","prompt":"I've pasted all 120,000 characters of our backend codebase — please review it for security vulnerabilities, code smells, and architectural issues using the Kimi long-context model on Telnyx."},{"title":"Long legal document Q&A","prompt":"I need you to answer 10 specific questions about this 200,000-character court ruling I'm attaching — make sure you read the whole thing before answering."}],"resultDescription":"An OpenAI-compatible chat completion response containing one generated assistant message, with optional tool call objects if tools were defined. The response includes the model's text output (up to 8192 tokens), usage statistics, and finish reason.","failureModes":["Message content exceeding 200,000 characters per message returns a validation error","More than 64 messages in the messages array will be rejected","More than 16 tools in the tools array will be rejected","Payment failure or insufficient USDC balance results in a 402 Payment Required response","Model unavailability or overload may cause 503 or timeout errors","Malformed message roles (not system/user/assistant/tool) will cause a 422 validation error"],"whenToPreferThis":"Choose this endpoint when you need to process very long inputs — documents, codebases, conversation histories, or research papers — that exceed the context windows of standard LLMs. It is ideal when the full 200K-character window is needed in a single API call rather than chunking. Prefer it over shorter-context siblings when document integrity is important and you cannot afford information loss from splitting. The metered x402 payment model makes it suitable for agents that pay per call without subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:38:33.360Z","isFirstParty":false,"canonicalSlug":"telnyx-inference-kimi-k2-6-long-context-chat-completions-dff54b8e"}