Moonshot AI
MoonshotAI Kimi K2.7 Code
MoonshotAI: Kimi K2.7 Code is a coding-focused model in Moonshot AI's Kimi K2 family, built to complete end-to-end programming tasks reliably over long contexts. It uses a native multimodal mixture-of-experts...
- Context window
- 262Ktokens
- Max output
- 236Ktokens
- Input
- $0.60/ 1M
- Output
- $3.50/ 1M
Quick start
from openai import OpenAI
client = OpenAI(
base_url="https://neurongate.net/v1",
api_key="sk-ng-your-api-key",
)
completion = client.chat.completions.create(
model="moonshotai/kimi-k2.7-code",
messages=[{"role": "user", "content": "Hello!"}],
)
print(completion.choices[0].message.content)Cost
| Example request | Tokens | Cost |
|---|---|---|
| Short prompt | 1K in | $0.0006 |
| Typical chat turn | 1K in · 500 out | $0.00235 |
| Document analysis | 10K in · 2K out | $0.013 |
| Long context | 100K in · 10K out | $0.095 |
Prices in USD. Billed per token actually used, from a balance prepaid in USDT, USDC, ETH or BTC.
Frequently asked questions
What is MoonshotAI Kimi K2.7 Code?
MoonshotAI: Kimi K2.7 Code is a coding-focused model in Moonshot AI's Kimi K2 family, built to complete end-to-end programming tasks reliably over long contexts. It uses a native multimodal mixture-of-experts...
How much does MoonshotAI Kimi K2.7 Code cost?
MoonshotAI Kimi K2.7 Code is priced at $0.6 per 1 million input tokens and $3.5 per 1 million output tokens when accessed via NeuronGate. You pay per token — no subscriptions required. Top up with crypto (USDT, USDC, ETH, BTC).
Does MoonshotAI Kimi K2.7 Code support streaming?
Yes, MoonshotAI Kimi K2.7 Code supports streaming responses via NeuronGate's API. Use the standard "stream": true parameter in your request.
What is the context window of MoonshotAI Kimi K2.7 Code?
MoonshotAI Kimi K2.7 Code has a context window of 262K tokens (~197K words). Maximum output is 236K tokens.
Does MoonshotAI Kimi K2.7 Code support function calling (tools)?
Yes, MoonshotAI Kimi K2.7 Code supports function calling / tool use via NeuronGate's standard API.
How do I use MoonshotAI Kimi K2.7 Code with NeuronGate?
Create a NeuronGate account, top up your balance with crypto, generate an API key, and use the model id moonshotai/kimi-k2.7-code in your requests. NeuronGate uses the OpenAI-compatible API format — set your base URL to https://neurongate.net/v1.