Moonshot AIFreeOperational
Kimi K2.7 Code
API model name: kimi-k2.7-code
Kimi K2.7 Code is Moonshot AI's chat model, served on the Api.Airforce unified API. It is available on the free tier at no per-token cost. Access it through the OpenAI-compatible API with one key, alongside 100+ other models on Api.Airforce.
Pricing
Specifications
- Provider
- Moonshot AI
- Type
- chat model
Benchmarks
Independent evaluations and measured speed from Artificial Analysis.
Intelligence Index
43.0/100
Coding Index
60.8/100
GPQA Diamond90%
Humanity's Last Exam35%
SciCode48%
τ²-bench90%
τ-bench Banking20%
Terminal-Bench Hard45%
Output speed39.2 tok/s
Time to first token1.19 s
Kimi K2.7 Code
Source: Benchmark data by Artificial Analysis (artificialanalysis.ai)
What is Kimi K2.7 Code used for?
- Chatbots & assistants — conversational AI, drafting, summarizing and Q&A.
Kimi K2.7 Code vs. similar models
| Model | Intelligence | Context | Input / 1M | Output / 1M |
|---|---|---|---|---|
| Kimi K2.7 Code | 43.0 | — | Free | Free |
| Kimi K2 | 19.7 | — | $0.52 | $2.08 |
| Kimi K2 | — | — | $0.60 | $4.15 |
| Kimi K2 Preview | — | — | $0.35 | $1.40 |
Prices are Api.Airforce pay-as-you-go rates per 1M tokens. Context is the maximum input length.
Related models
Kimi K2Moonshot AI · $0.52 / 1MKimi K2Moonshot AI · $0.60 / 1MKimi K2 PreviewMoonshot AI · $0.35 / 1MKimi K2 InstructMoonshot AI · $1.14 / 1MKimi K2 TurboMoonshot AI · $2.09 / 1MKimi K2.5Moonshot AI · $0.58 / 1MKimi K2.6Moonshot AI · $0.85 / 1MKimi K2.7Moonshot AI · $0.85 / 1MKimi K3Moonshot AI · $2.85 / 1MMoonshot V1 128kMoonshot AI · $4.70 / 1MMoonshot V1 128k VisionMoonshot AI · $2.60 / 1MMoonshot V1 32kMoonshot AI · $1.88 / 1M
Kimi K2.7 Code — frequently asked questions
- How much does Kimi K2.7 Code cost?
- Kimi K2.7 Code is available on the free tier at no token cost — create an API key and start building. Paid plans add higher rate limits.
- What can Kimi K2.7 Code do?
- Kimi K2.7 Code is Moonshot AI's chat model, accessible through the Api.Airforce API.
- Is Kimi K2.7 Code free to use?
- Yes — Kimi K2.7 Code is on the free tier. You can use it with an Api.Airforce API key at no cost.
- How do I use Kimi K2.7 Code via the API?
- Kimi K2.7 Code is OpenAI-compatible. Point any OpenAI SDK at https://api.airforce/v1 and pass the model ID kimi-k2.7-code with your Api.Airforce API key.
- Who makes Kimi K2.7 Code?
- Kimi K2.7 Code is Moonshot AI's chat model, served through the unified Api.Airforce gateway alongside 100+ other models.
Loading live metrics…
Loading live metrics…
Loading live metrics…
Use Kimi K2.7 Code via the API
OpenAI-compatible — point any OpenAI SDK at https://api.airforce/v1 and pass kimi-k2.7-code as the model.
cURL
curl https://api.airforce/v1/chat/completions \
-H "Authorization: Bearer $AIRFORCE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kimi-k2.7-code",
"messages": [{ "role": "user", "content": "Hello!" }]
}'Python
from openai import OpenAI
client = OpenAI(base_url="https://api.airforce/v1", api_key="$AIRFORCE_API_KEY")
r = client.chat.completions.create(
model="kimi-k2.7-code",
messages=[{"role": "user", "content": "Hello!"}],
)
print(r.choices[0].message.content)JavaScript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.airforce/v1", apiKey: process.env.AIRFORCE_API_KEY });
const r = await client.chat.completions.create({
model: "kimi-k2.7-code",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(r.choices[0].message.content);