What is the Kimi API and how do I use it?
The Kimi API is Moonshot AI’s API for its Kimi models: a key is created at platform.kimi.ai/console/api-keys, and the base URL is https://api.moonshot.ai/v1. The same models are also served through MartLLM’s OpenAI-compatible API at https://api.martllm.com/v1: on November 20, 2026, 8 Kimi models were taking requests there. MoonshotAI: Kimi K3.1 Pro cost $0.2054 per million input tokens and $1.027 per million output tokens. A request that fails is not billed. Credit is prepaid, from $5, with no subscription.
Prices as of November 20, 2026, 11:00 UTC. This page is rebuilt every hour.