OpenAI compatible API. Attested gateway. Public status.

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.

Verify gateway
1 URLbase_url migration
100smodels and routes
0prompt logs by default
Kimi API

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

Kimi K2.7 Code routes Kimi performance

Kimi quickstartResponses API
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

Alternatives

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.

Sign in

Choose a sign in method.