Kimi K2.7 Code API Pricing & Quick Start
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...
Pricing
💱 USD/NTD = 32.38 · before tax · updated 07/30/2026
Technical specifications
Quick Start
Use Kimi K2.7 Code via BazaarLink API — just change the base_url:
from openai import OpenAI
client = OpenAI(
base_url="https://bazaarlink.ai/api/v1",
api_key="sk-bl-YOUR_API_KEY",
)
response = client.chat.completions.create(
model="moonshotai/kimi-k2.7-code",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://bazaarlink.ai/api/v1",
apiKey: "sk-bl-YOUR_API_KEY",
});
const response = await client.chat.completions.create({
model: "moonshotai/kimi-k2.7-code",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);Why use Kimi K2.7 Code via BazaarLink?
- ✓USD billing (TWD-quoted) + unified invoices — no foreign credit card needed for Taiwan teams
- ✓OpenAI-compatible API — zero code changes required
- ✓Automatic failover — multi-provider redundancy for the same model
- ✓Chinese-language support — local team, instant help
Frequently Asked Questions
What is 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 the Kimi K2.7 Code API cost?
Kimi K2.7 Code costs $0.7800 per 1M input tokens and $3.5000 per 1M output tokens when accessed through BazaarLink.
How do I use Kimi K2.7 Code with the OpenAI SDK?
Set base_url to "https://bazaarlink.ai/api/v1" and use model ID "moonshotai/kimi-k2.7-code". All OpenAI SDK methods (chat.completions, embeddings, streaming) work without code changes.
What is the context window for Kimi K2.7 Code?
Kimi K2.7 Code supports a context window of 262,144 tokens.
Is Kimi K2.7 Code available for free?
Kimi K2.7 Code is a paid model. BazaarLink offers free trial credits on registration so you can test it without a credit card.
Relay integrity checks
- Tested endpoints
- 3 runs
- Independent hosts
- 3
- Model-family fingerprint match
- 0%
- Anomalies detected
- 3 runs
- Data range
- past 90 days
BazaarLink Probe verifies endpoints that claim to serve this model and flags behavior that differs from the reference baseline.
View the full integrity report →Related models and links
More from this provider: Moonshot AI