{"uid":"cap_0nsmDLOmYt9Wdsy4tFqcD","slug":"x402-gateway-production-up-railway-app-5d8409bf","name":"Kimi (Moonshot AI) LLM via x402 Gateway","description":"Moonshot AI's flagship model — strong reasoning and long-context capabilities","url":"https://x402-gateway-production.up.railway.app/api/llm/kimi?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","bodyType","body","method"],"properties":{"body":{"type":"object","required":["messages"],"properties":{"seed":{"type":"integer","description":"Model-supported seed; see /docs/llm-capabilities.md."},"stop":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"},"maxItems":4}],"description":"Model-supported stop; see /docs/llm-capabilities.md."},"min_p":{"type":"number","description":"Model-supported min_p; see /docs/llm-capabilities.md."},"tools":{"type":"array","items":{"type":"object","required":["function"],"properties":{"type":{"enum":["function"],"type":"string"},"function":{"type":"object","properties":{"name":{"type":"string"},"strict":{"type":"boolean"},"parameters":{"type":"object"},"description":{"type":"string"}}}}},"description":"Client-executed function definitions; return results using role=tool and tool_call_id."},"top_k":{"type":"integer","description":"Model-supported top_k; see /docs/llm-capabilities.md."},"top_p":{"type":"number","description":"Model-supported top_p; see /docs/llm-capabilities.md."},"stream":{"type":"boolean","description":"Return live OpenAI-compatible SSE after payment settlement."},"logprobs":{"type":"boolean","description":"Model-supported logprobs; see /docs/llm-capabilities.md."},"messages":{"type":"array","items":{"type":"object","anyOf":[{"required":["content"]},{"required":["tool_calls"]}],"required":["role"],"properties":{"name":{"type":"string"},"role":{"enum":["system","developer","user","assistant","tool"],"type":"string"},"content":{"oneOf":[{"type":"string"},{"type":"null"},{"type":"array","items":{"type":"object","required":["type"],"properties":{"type":{"enum":["text","image_url"],"type":"string"}},"additionalProperties":true},"maxItems":100,"minItems":1}]},"refusal":{"type":["string","null"]},"reasoning":{"type":"string"},"tool_calls":{"type":"array","items":{"type":"object"}},"annotations":{"type":"array","items":{"type":"object"}},"tool_call_id":{"type":"string"},"cache_control":{"type":"object"},"reasoning_details":{"type":"array","items":{"type":"object"}}},"additionalProperties":false},"maxItems":100,"minItems":1,"description":"Text or model-supported multimodal messages; assistant tool calls may have null content"},"reasoning":{"type":"object","description":"Model-supported reasoning; see /docs/llm-capabilities.md."},"logit_bias":{"type":"object","description":"Model-supported logit_bias; see /docs/llm-capabilities.md."},"max_tokens":{"type":"integer","example":1024,"description":"Total output budget, including reasoning. Use this or max_completion_tokens."},"temperature":{"type":"number","description":"Model-supported temperature; see /docs/llm-capabilities.md."},"tool_choice":{"oneOf":[{"enum":["auto","none","required"],"type":"string"},{"type":"object"}],"description":"Model-supported tool_choice; see /docs/llm-capabilities.md."},"top_logprobs":{"type":"integer","description":"Model-supported top_logprobs; see /docs/llm-capabilities.md."},"stream_options":{"type":"object","description":"Optional include_usage boolean; usage is always requested upstream."},"response_format":{"type":"object","description":"Model-supported response_format; see /docs/llm-capabilities.md."},"presence_penalty":{"type":"number","description":"Model-supported presence_penalty; see /docs/llm-capabilities.md."},"frequency_penalty":{"type":"number","description":"Model-supported frequency_penalty; see /docs/llm-capabilities.md."},"include_reasoning":{"type":"boolean","description":"Model-supported include_reasoning; see /docs/llm-capabilities.md."},"repetition_penalty":{"type":"number","description":"Model-supported repetition_penalty; see /docs/llm-capabilities.md."},"max_completion_tokens":{"type":"integer","description":"Alias for total output budget; bounded by model maxOutputTokens."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["choices","content"],"properties":{"model":{"type":"string"},"usage":{"type":"object","description":"Provider token and usage accounting, when returned."},"choices":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer"},"message":{"type":"object","properties":{"role":{"type":"string"},"content":{"type":["string","null"]},"tool_calls":{"type":"array","items":{"type":"object"}}}},"finish_reason":{"type":["string","null"]}}}},"content":{"type":"string","description":"Convenience copy of the first assistant message's text."}}}}}}},"responseSchema":null,"example":{"request":{"model":"kimi","messages":[{"role":"user","content":"Summarize the key principles of effective communication in a professional setting."}]},"response":{"model":"moonshotai/kimi-k2.5-0127","usage":{"cost":0.0019298,"is_byok":false,"cost_details":{"upstream_inference_cost":0.0019298,"upstream_inference_prompt_cost":0.0000098,"upstream_inference_completions_cost":0.00192},"total_tokens":788,"prompt_tokens":20,"completion_tokens":768,"prompt_tokens_details":{"audio_tokens":0,"video_tokens":0,"cached_tokens":0,"cache_write_tokens":0},"completion_tokens_details":{"audio_tokens":0,"image_tokens":0,"reasoning_tokens":309}},"content":"Effective professional communication rests on several core principles that ensure clarity, mutual understanding, and productive relationships:\n\n**Clarity and Precision**\n- **Be concise**: State your purpose upfront; avoid unnecessary jargon, filler words, or ambiguity.\n- **Structure matters**: Organize information logically with clear action items, deadlines, and expectations.\n- **One message at a time**: Avoid overwhelming recipients with multiple topics or requests in a single exchange.\n\n**Audience Awareness**\n- **Adapt to the listener**: Tailor technical depth, formality, and detail to the recipient's role, knowledge level, and priorities.\n- **Contextual relevance**: Frame messages in terms of what matters to the audience, not just what you want to convey.\n\n**Active Listening**\n- **Listen to understand, not to respond**: Give full attention, avoid interrupting, and paraphrase to confirm comprehension (\"What I'm hearing is...\").\n- **Ask clarifying questions**: Probe for underlying concerns or unstated assumptions before responding.\n\n**Channel Selection**\n- **Match medium to message**: Use synchronous channels (calls/meetings) for complex, sensitive, or collaborative topics; reserve async (email/messages) for straightforward updates or documentation.\n- **Respect time and attention**: Choose the least intrusive method that still achieves the goal.\n\n**Professional Tone and Emotional Intelligence**\n- **Maintain neutrality in conflict**: Focus on issues and behaviors, not personalities; avoid accusatory language (\"You\" statements).\n- **Mind the non-verbals**: In person, maintain appropriate eye contact and open posture; in writing, punctuation and formatting convey tone.\n- **Empathy**: Acknowledge others' perspectives and workloads before making requests.\n\n**Feedback and Confirmation Loops**\n- **Seek confirmation**: Ensure understanding by asking recipients to summarize next steps or key takeaways.\n- **Be open to critique**: Receive feedback without defensiveness; acknowledge valid points and ask for specific examples.\n- **Document decisions**: Follow up verbal agreements with written summaries to prevent misalignment.\n\n**Cultural and Contextual Sensitivity**\n- **Account for diversity**: Be aware of different communication styles (direct vs. indirect), time zones, and cultural norms regarding hierarchy and formality.\n- **Assume positive intent**: Interpret ambiguous messages generously, especially in cross-cultural or digital contexts where nuance is lost.\n\n**Accountability**\n- **Own your message**: Take responsibility for miscommunications and correct errors promptly.\n- **Close the loop**: Update stakeholders when situations change or when requested information is delayed.\n\nThe most effective communicators treat communication as a **two-way process of alignment** rather than a one-way transmission of information."}},"exampleRequest":{"model":"kimi","messages":[{"role":"user","content":"Summarize the key principles of effective communication in a professional setting."}]},"tags":["x402"],"displayCostAmount":"0.03","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":1,"rating":{"score":"0.00","successRate":"1.00","reviews":1,"stars":null,"state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9ISJD2c7-LBqT71YjHja7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calls Moonshot AI's Kimi flagship model for strong reasoning and long-context text generation tasks, billed per call via x402 micropayment.","exampleAgentPrompt":"Use Kimi to analyze this 50-page contract and identify all clauses that could expose us to liability — it needs a model with strong reasoning and long-context handling.","exampleUseCases":null,"resultDescription":"Returns a text completion or chat response generated by Moonshot AI's Kimi model, which is optimized for deep reasoning and handling very long context windows.","failureModes":["Payment failure: x402 micropayment of $0.03 USDC not processed or wallet underfunded","Invalid prompt or malformed request body returns 400 error","Model timeout on extremely long contexts","Rate limiting if too many concurrent requests","Service downtime on the Railway-hosted gateway"],"whenToPreferThis":"Choose this endpoint when you need Moonshot AI's Kimi model specifically — particularly for tasks requiring strong multi-step reasoning or very long context windows (e.g. long document analysis, complex Q&A). Prefer over cheaper models when reasoning quality matters; prefer over GPT or Claude routes when Kimi's specific capabilities or cost profile is desired.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-05-15T18:11:24.227Z","lastSuccessfullyRanAt":"2026-05-15T18:11:24.227Z","lastHealthCheckAt":"2026-10-12T12:31:49.633Z","isFirstParty":false,"canonicalSlug":"x402-gateway-production-up-railway-app-5d8409bf"}