All models Video inputVisionReasoningTool callsStructured output
Kimi K2.7 Code
Moonshot AI
ChatReleased Jun 12, 2026kimi-k2.7-code
Kimi K2.7 Code is Kimi's most intelligent coding model to date. It can follow instructions more reliably in long contexts and complete programming tasks with a higher success rate. It also supports text, image and video input, thinking mode, dialogue and Agent tasks.
- Input
- $0.95
- Output
- $4.00
- Cache read
- $0.19
- Context window
- 262.1K
- Max output
- 32.8K
per 1M tokens
per 1M tokens
per 1M tokens
tokens
tokens
Pricing
USD per 1M tokens
| Fee item | Price |
|---|---|
| Input | $0.95 |
| Input, cache read | $0.19 |
| Output | $4.00 |
| Image input | $0.95 |
| Image input, cache read | $0.19 |
| Video input | $0.95 |
| Video input, cache read | $0.19 |
| Audio input | $0.95 |
| Audio input, cache read | $0.19 |
Prices are in USD. A request is billed at the prices in force when it is made.
Call it from your code
Keep the official SDK you already use: give it the LobeBase base URL and a LobeBase API key.
OpenAI API
Base URL
https://api.lobebase.com/v1
curl https://api.lobebase.com/v1/chat/completions \
-H "Authorization: Bearer $LOBEBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kimi-k2.7-code",
"messages": [{ "role": "user", "content": "Hello" }]
}'Set LOBEBASE_API_KEY to your API key, then run the example.