← All playgrounds
AI model playground

Kimi K2 0711 API

The original K2 instruct release for coding, reasoning, and tool use.

Kimi K2 0711 is an LLM / chat model from Moonshot AI, available on OttoPort's OpenAI-compatible API as the model ID kimi-k2 at $0.598 / $2.42 per 1M tokens as of 2026-10-14.

Provider

Moonshot AI

Price

$0.598 / $2.42 per 1M tokens

Model ID

kimi-k2

Type

LLM / chat model

ReasoningWritingDeveloper workflows

Create with Kimi K2 0711

chat
ExampleSelect to edit

Your result appears here

Start with the example prompt or make it your own. Your OttoPort account is used securely for generation.

Pricing

Kimi K2 0711 API pricing

What OttoPort bills for Kimi K2 0711, and what that works out to per unit. Rates are read from the same catalog the gateway meters against, and were current on 2026-10-14.

Input$0.598 / 1M tokens
Output$2.42 / 1M tokens
Typical request$0.0031,000 input + 1,000 output tokens
Requests per $1331at that same 1K in / 1K out shape
Context window131,000 tokensa full-context request costs $0.0783 in input alone

No subscription and no minimum — OttoPort bills prepaid credits against usage. See the full rate card.

Quickstart

Call Kimi K2 0711 in three lines

Send "model": "kimi-k2" to POST https://ottoport.ai/api/v1/chat/completions with an OttoPort key. No Moonshot AI account, no waitlist, no separate SDK.

curl https://ottoport.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OTTOPORT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "kimi-k2",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'

Before you start

  1. 1. Create a key at /api-keys.
  2. 2. Top up credits — the smallest pack is $25.
  3. 3. Paste the request. It returns on the same request.

Full reference at /docs, or drive it from an agent with the MCP server and CLI.

Reference

Request parameters

The body POST https://ottoport.ai/api/v1/chat/completions accepts for Kimi K2 0711.

FieldTypeRequiredNotes
modelstringYesAlways kimi-k2 for Kimi K2 0711.
messagesarrayYesOpenAI chat message objects: role and content.
streambooleanNoServer-sent events, same frame shape as OpenAI.
temperaturenumberNoSampling temperature, passed through to the provider.
Comparison

Kimi K2 0711 direct vs through OttoPort

Kimi K2 0711 is the same model either way — what changes is how many accounts, keys, and integrations you carry to reach it.

Moonshot AI directVia OttoPort
Accounts and keysA Moonshot AI account, plus one more for every other model you addOne OttoPort account and one key for the whole catalog
Request shapeMoonshot AI's own SDK and response formatOpenAI-compatible — point baseURL at OttoPort and change the model string
Switching modelsA new integration per providerReplace kimi-k2 with any other model ID in the catalog
BillingA separate invoice and contract per providerPrepaid credits, no subscription, one usage ledger
Provider outagesYour call failsConfigured backup routes are tried in order on provider failure
01

Give the model a role and goal.

02

State the intended output format.

03

Add relevant context before constraints.

FAQ

Kimi K2 0711 API questions

Cost, keys, and model IDs for Kimi K2 0711 on OttoPort.

How much does the Kimi K2 0711 API cost?

On OttoPort, Kimi K2 0711 costs $0.598 / $2.42 per 1M tokens as of 2026-10-14. For scale, typical request: $0.003. Billing is prepaid usage with no subscription and no minimum, and the current rate is always published at ottoport.ai/pricing.

How do I get a Kimi K2 0711 API key?

You do not need a Moonshot AI key. Create an OttoPort account, generate a key at ottoport.ai/api-keys, and send it as "Authorization: Bearer <key>" to POST https://ottoport.ai/api/v1/chat/completions with "model": "kimi-k2". The same key reaches every other model in the catalog.

What is the model ID for Kimi K2 0711?

The OttoPort model ID for Kimi K2 0711 is kimi-k2. Pass it as the model field on POST https://ottoport.ai/api/v1/chat/completions, or list it programmatically from GET https://ottoport.ai/api/v1/models.

Can I call Kimi K2 0711 with the OpenAI SDK?

Yes. Set the OpenAI SDK's base URL to https://ottoport.ai/api/v1, use an OttoPort API key, and pass kimi-k2 as the model. Chat completions, streaming, and model listing follow the OpenAI request and response shapes, so existing code works after changing two lines.

What is Kimi K2 0711's context window?

Kimi K2 0711 accepts up to 131,000 tokens of context on OttoPort, the same window Moonshot AI exposes on its own API.

Do I need a Moonshot AI account to use Kimi K2 0711?

No. OttoPort connects to Moonshot AI on your behalf, so one OttoPort account covers Kimi K2 0711 and every other model in the catalog — no per-provider contracts, keys, or invoices.