moonshotai
MoonshotAI Kimi K2.7 Code
moonshotai/kimi-k2.7-code
Input$0.740 /1M tokens
·Output$3.50 /1M tokens
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...
Code Examples
import requests
response = requests.post(
"https://neurongate.net/v1/chat/completions",
headers={
"Authorization": "Bearer ng-your-api-key",
"Content-Type": "application/json"
},
json={
"model": "moonshotai/kimi-k2.7-code",
"messages": [
{"role": "user", "content": "Hello!"}
]
}
)
print(response.json()["choices"][0]["message"]["content"])Pricing Details
| Example | Cost |
|---|---|
| 1K input tokens (short prompt) | $0.00074 |
| 1K in + 500 out (typical response) | $0.00249 |
| 10K in + 2K out (document analysis) | $0.0144 |
| 100K in + 10K out (large context) | $0.1090 |
Prices in USD. Billed per actual token usage. Prepay with USDT, USDC, ETH, or BTC.
Frequently Asked Questions
Capabilities
Streaming
YesFunction Calling / Tools
YesVision (Image Input)
YesAudio Processing
NoContext Window
262K tokens
~197K words of text
Max output
16K tokens
Modalities
Input
textimage
Output
text