Kimi K3.1 Pro API

Model id: moonshotai/kimi-k3.1-pro.

A chat model with a context window of 1M tokens, called through Hyperouter's OpenAI-compatible API.

Native format: OpenAI Chat Completions. Also called as: Anthropic Messages, Gemini generateContent, OpenAI Responses. API formats

Price

Prices per 1M tokens: input / cached input / output.

ModelContextPrice
moonshotai/kimi-k3.1-pro1M$1.40 / $0.14 / $7.00

Web search $4 / 1K results

Call it with the OpenAI SDK

Set HYPEROUTER_API_KEY to an API key from the dashboard. Any OpenAI SDK works once its base URL is https://api.hyperouter.app/v1.

curl https://api.hyperouter.app/v1/chat/completions \
  -H "Authorization: Bearer $HYPEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "moonshotai/kimi-k3.1-pro",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Reference

Sign in with Google or GitHub, create an API key, and open a top-up ticket to add credits. You are charged at the provider's list price.