[ Moonshot AI ]

Kimi K2.7 Code

Routed to the cheapest source. At or below list. Pay per token in USDF, with no subscription and no minimum. Streaming and the OpenAI-compatible request format are supported.

Moonshot AIkimi-k2.7-codeUnavailabletextContext window: 262,144 tokens

No route to this model is enabled right now. Requests for it are refused with the error code model_unavailable before any balance is held, so nothing is charged. The listed prices apply once a route is enabled.

Input

$0.6712

$ / 1M tokens

Output

$3.35

$ / 1M tokens

Cached input

$0.18

$ / 1M tokens

Context window

262,144

tokens

Requires opting in to data retention.

Model ID
kimi-k2.7-code
Modality
text
Unit
USD per 1M tokens
Status
Unavailable
Endpoints
/v1/chat/completions
Context window
262,144 tokens
Max output
235,929 tokens
Saving vs list
13.69%
Pricing basis
Routed to the cheapest source. At or below list.

Sources

Source information is unavailable for this model.

Make your first request

Use any OpenAI-compatible SDK. Change the base URL, keep everything else. Responses include a receipt with the exact cost.

No account: send the same request to /x402/v1/chat/completions without credentials and the gateway answers 402 with the quote. Pay per request.

This model has no enabled route right now, so the request below is refused with model_unavailable until a route is enabled. Nothing is charged for a refused request.

curl https://api.usdf.fi/v1/chat/completions \
  -H "Authorization: Bearer $USDF_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "kimi-k2.7-code", "messages": [{"role": "user", "content": "Hello"}]}'