Kimi K2 API With Provider Fallback
Call Kimi K2.7 Code, Kimi K2.6, and earlier Kimi routes through an OpenAI-compatible API with multiple provider routes, structured output support, image URL normalization, and public latency data.
Kimi K2 with provider fallback and measured routes.
Use Kimi K2.7 Code, Kimi K2.6, and earlier Kimi routes through the same OpenAI-compatible API you use for every other model. TrustedRouter exposes every serving provider, route price, privacy posture, and live measurement in one place.
- ✓ Kimi model pages list all serving providers
- ✓ Public image URLs are normalized by the attested gateway when the route supports images
- ✓ Structured output and tool-call shapes are routed through the Responses API where supported
- ✓ Fallback can move around provider 429s and 5xx responses
response = client.responses.create(
model="moonshotai/kimi-k2.7-code",
input="Return a JSON plan for migrating an app.",
text={"format": {"type": "json_object"}},
)
Route checks
- Kimi providersServing routes and privacy posture
- Kimi pricingPrompt and completion rates
- Provider leaderboardMeasured TTFT and uptime
Alternatives
- GLM 4.7Fast reasoning alternative
- DeepSeek V4 ProCost-sensitive coding and reasoning
- MiniMax M3Long-context alternative
Current routes, prices, privacy, and measured performance.
Catalog facts come from the routes currently configured in TrustedRouter. Performance uses the same cached metadata snapshot as the public leaderboard. Prompts and outputs are not part of these measurements.
| Model | Providers | Context | Input | Output | Privacy | Measured route |
|---|---|---|---|---|---|---|
MoonshotAI: Kimi K2.6moonshotai/kimi-k2.6 |
30 routes | 262,144 | $0.609/1M to $1.26/1M | $3.36/1M to $5.04/1M | confidential 3 cited scores | measured inceptron · 0.00% available · n=38 |
MoonshotAI: Kimi K2.7 Codemoonshotai/kimi-k2.7-code |
19 routes | 262,144 | $0.735/1M to $0.9975/1M | $3.675/1M to $4.2/1M | ZDR 5 cited scores | measured inceptron · 0.00% available · n=18 |
MoonshotAI: Kimi K2.5moonshotai/kimi-k2.5 |
15 routes | 262,144 | $0.39375/1M to $0.63/1M | $2.12625/1M to $3.16155/1M | varies | 1399 ms TTFT kimi · 100.00% available · n=7 |
Kimi K2.7 Code HighSpeedmoonshotai/kimi-k2.7-code-highspeed |
2 routes | 262,144 | $1.995/1M | $8.4/1M | varies | 1233 ms TTFT kimi · 100.00% available · n=2 |
Kimi-K2.6moonshotai/Kimi-K2.6 |
2 routes | 8,000 | $0.9975/1M | $4.2/1M | ZDR | 1218 ms TTFT nebius · 100.00% available · n=1 |
Kimi-K2.7-Codemoonshotai/Kimi-K2.7-Code |
2 routes | 262,144 | $0.9975/1M | $4.2/1M | ZDR | Warming up |
Browse every modelReview provider policiesOpen the full leaderboardSnapshot 2026-08-05T04:18:29Z
Questions
Which Kimi routes can TrustedRouter use?
TrustedRouter exposes the verified Kimi-serving providers in the model page and endpoint JSON, then routes by provider health and request constraints.
Can Kimi use public image URLs?
Yes. The attested gateway downloads and normalizes supported image URLs before sending provider-compatible payloads.