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...
Specifications
Modalities
Supported Parameters
Max Output Tokens
262,144Data policy
- Prompt retention
- Unknown — we could not confirm
- Training
- Not used for training
"Unknown" does not mean "safe". It means we could not confirm it.
Whether a provider trains on prompts is a declared value from our terms with them. Retention is determined from the upstream listing for every host this model can reach. Neither is guessed.
Measured performance
Measured through FastMetal's own gateway over the last 30 days (661 first-response samples).
Throughput is sampled once a day: the median of 26 observations over the last 30 days.
Time to first response is measured to the first streamed chunk; throughput counts all output tokens, including reasoning tokens. These are observations, not a performance guarantee.
Code Examples
curl https://api.fastmetal.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "japan-kimi-k2.7-code",
"messages": [{"role": "user", "content": "Hello!"}]
}'Frequently asked questions
- How much does the Kimi K2.7 Code API cost?
- On FastMetal, Kimi K2.7 Code is billed per token: $0.3505 per 1M input tokens and $3.38 per 1M output tokens on a US-dollar account, before tax. Usage is drawn from a prepaid balance; there is no subscription or monthly fee.
- Can I call Kimi K2.7 Code with the OpenAI SDK?
- Yes. Point base_url at https://api.fastmetal.ai/v1 and pass "japan-kimi-k2.7-code" as the model; existing OpenAI-style code works unchanged, including streaming, tool calls and structured output.
- What is the context window of Kimi K2.7 Code?
- 262,144 tokens, shared between the prompt and the response.
- What do I need to try Kimi K2.7 Code?
- Create an account and add credit; the model is then available both in the browser chat and over the API. There is no contract or minimum spend.
Try Kimi K2.7 Code right now
Kimi K2.7 Code is available on FastMetal through one API key. Start in the browser, or call it from the OpenAI SDK.