Skip to content

Kimi K2.7 API — unlimited & flat-rate access

Kimi K2.7 (also written “Kimi 2.7”) is Moonshot’s flagship agentic and coding model. CheapestInference serves it through an OpenAI- and Anthropic-compatible API on unlimited, flat-rate time-block subscriptions — so your cost does not scale with tokens.

ModelKimi K2.7
Model IDkimi-k2.7
Context window256K tokens
Cost basis$0.45 / $2.25 per 1M tokens (in / out)
Endpoints/v1/chat/completions (OpenAI), /anthropic/v1/messages (Anthropic)
PricingFrom $52/mo — reserve an 8-hour daily time block, up to full 24/7
from openai import OpenAI
client = OpenAI(
base_url="https://api.cheapestinference.com/v1",
api_key="sk-..." # your subscriber key
)
response = client.chat.completions.create(
model="kimi-k2.7",
messages=[{"role": "user", "content": "Refactor this function..."}],
)
Terminal window
curl https://api.cheapestinference.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "kimi-k2.7", "messages": [{"role": "user", "content": "Hello"}]}'

CheapestInference’s Frontier Pool lets you use Kimi K2.7 through a standard OpenAI-compatible endpoint with no token caps — a flat monthly fee instead of per-token billing. Because it is OpenAI-compatible, it works in Cline, Roo Code, Continue, and any client that accepts a custom base URL, making it a direct alternative to Claude Code and Cursor for unlimited AI coding.

What is the cheapest way to use Kimi K2 / Kimi K2.7? An unlimited time-block subscription. From $52/month ($44.20/mo billed annually) you reserve an 8-hour daily window and use Kimi K2.7 with no token caps — for predictable, high-volume work this is cheaper than per-token providers because the price does not rise with token count.

Is there an unlimited Kimi K2.7 API? Yes. The CheapestInference Frontier Pool gives uncapped Kimi K2.7 usage for one flat monthly fee, alongside Kimi K2.6, GLM 5.2, and MiniMax M3. Its predecessor Kimi K2.6 remains served in the same pool.

Is Kimi K2.7 OpenAI-compatible? Yes. Use model id kimi-k2.7 against https://api.cheapestinference.com/v1 with the OpenAI SDK, or the /anthropic endpoint with the Anthropic SDK.

Is there a Kimi coding plan? Yes — a Frontier Pool subscription works as a Kimi coding plan: unlimited Kimi K2.7 and K2.6 through Claude Code, Cline, Roo Code or any OpenAI-compatible coding agent, with GLM 5.2 and MiniMax M3 included on the same subscription.