---
title: "Kimi K3 Pricing: K3.1 Pro, K3, Fast & K2.6 API Rates | Inference.net"
description: "Live Kimi K3 and Kimi K3.1 Pro API pricing per 1M tokens on Inference.net, with 1M-context specs, 40-turn prompt-cache math, and SDK quickstarts."
url: "https://inference.net/guides/kimi-k3-pricing/"
---

Guide Published December 06, 2026 7 min read

# Kimi K3 Pricing: K3.1 Pro, K3, Fast & K2.6 API Rates

Live Kimi K3 and Kimi K3.1 Pro API pricing per 1M tokens on Inference.net, with 1M-context specs, 40-turn prompt-cache math, and SDK quickstarts.

[**Inference.net**](https://inference.net/company/)

## Run Kimi K3.1 Pro with 1M Context

Call moonshotai/kimi-k3.1-pro with $1.80/1M input, $0.198/1M cached reads, $9.00/1M output, native /v1/messages, and hosted ZDR.

## Live Kimi K3 and Kimi K3.1 Pro API pricing

On Inference.net, Kimi K3 API pricing starts at **`$0.245` per 1M fresh input tokens**, **`$0.224` per 1M cached reads**, and **`$15.00` per 1M output tokens** on [`moonshotai/kimi-k3`](https://inference.net/models/kimi-k3/), while [`moonshotai/kimi-k3.1-pro`](https://inference.net/models/kimi-k3-1-pro/) is **`$1.80` fresh input**, **`$0.198` cached input reads** (an 89.0% discount), and **`$9.00` output per 1M tokens**. Every Kimi K3 and K3.1 model supports a **1,048,576-token context window** (1M), **1,048,576 max output tokens**, vision (`text` + `image`), tool calling, and both OpenAI `/v1/chat/completions` and native Anthropic `/v1/messages` with one API key.

All model IDs, context limits, and per-1M-token rates below were verified directly from `GET https://api.inference.net/v1/models` on **2026-12-06** (the API returns per-token prices; multiply by `1,000,000` for per-1M rates):

| Model ID | Context / max output | Fresh input ($/1M) | Cached read ($/1M) | Output ($/1M) | Tools & modalities | Hosting & ZDR scope | Model page |
| --- | --- | --- | --- | --- | --- | --- | --- |
| `moonshotai/kimi-k3.1-pro` | 1,048,576 / 1,048,576 | `$1.80` | `$0.198` | `$9.00` | Tools, text + image | Inference.net-hosted (US, ZDR) | [Kimi K3.1 Pro](https://inference.net/models/kimi-k3-1-pro/) |
| `moonshotai/kimi-k3.1-pro-fast` | 1,048,576 / 1,048,576 | `$2.70` | `$0.27` | `$13.50` | Tools, text + image | Inference.net-hosted (US, ZDR) | [Kimi API Hub](https://inference.net/models/kimi/) |
| `moonshotai/kimi-k3` | 1,048,576 / 1,048,576 | `$0.245` | `$0.224` | `$15.00` | Tools, text + image | Inference.net-hosted (US, ZDR) | [Kimi K3](https://inference.net/models/kimi-k3/) |
| `moonshotai/kimi-k3-fast` | 1,048,576 / 1,048,576 | `$0.45` | `$0.40` | `$18.00` | Tools, text + image | Inference.net-hosted (US, ZDR) | [Kimi K3](https://inference.net/models/kimi-k3/) |
| `kimi-k2.6` | 262,144 / 262,144 | `$1.25` | `$0.21` | `$5.30` | Tools, text + image | External route (upstream terms) | [Kimi K2.6](https://inference.net/models/kimi-k2-6/) |
| `kimi-k2.5` | 262,144 / 262,144 | `$0.80` | `$0.13` | `$3.95` | Text + image (`supports_tools: false`) | External route (upstream terms) | [Kimi K2.5](https://inference.net/models/kimi-k2-5/) |

**Use the moonshotai/ prefix for hosted Kimi K3 and K3.1 routes**

Pass `moonshotai/kimi-k3`, `moonshotai/kimi-k3-fast`, `moonshotai/kimi-k3.1-pro`, or `moonshotai/kimi-k3.1-pro-fast` in new integrations to target Inference.net-hosted US infrastructure with default [Zero Data Retention](https://inference.net/zero-data-retention/). Unprefixed `kimi-k3-fast` is kept as a compatibility alias that resolves to the hosted `moonshotai/kimi-k3-fast` endpoint and bills at hosted fast rates (`$0.45` input / `$0.40` cached / `$18.00` output per 1M tokens).

## Which Kimi model should you pick?

- **Multi-turn coding agents and complex refactors:** [`moonshotai/kimi-k3.1-pro`](https://inference.net/models/kimi-k3-1-pro/) (`$1.80` / `$0.198` cached / `$9.00` output). Its lower cached-read rate (`$0.198` vs `$0.224`) and lower output rate (`$9.00` vs `$15.00`) make it cheaper per multi-turn coding session than `moonshotai/kimi-k3` while giving full 1M context and reasoning controls (`none`, `low`, `high`, `max`).
- **Single-turn, input-heavy document or repo analysis:** [`moonshotai/kimi-k3`](https://inference.net/models/kimi-k3/) (`$0.245` / `$0.224` cached / `$15.00` output). When each request sends hundreds of thousands of fresh input tokens and produces a short summary or structured decision, Kimi K3's `$0.245/1M` fresh input rate beats Kimi K3.1 Pro by more than 5x on total request cost.
- **Latency-sensitive interactive coding:** `moonshotai/kimi-k3.1-pro-fast` (`$2.70` / `$0.27` cached / `$13.50` output) or `moonshotai/kimi-k3-fast` (`$0.45` / `$0.40` cached / `$18.00` output) for faster decode tiers on Inference.net-hosted US GPUs.
- **Smaller 262K-context workflows:** [`kimi-k2.6`](https://inference.net/models/kimi-k2-6/) (`$1.25` / `$0.21` cached / `$5.30` output) supports tool calling and vision within a 262,144-token window, though it is externally routed rather than covered by Inference.net-hosted ZDR.

Browse all live Moonshot AI models on the [Kimi API hub](https://inference.net/models/kimi/), or compare [`moonshotai/kimi-k3.1-pro` against Claude Opus 5](https://inference.net/compare/kimi-k3-1-pro-vs-claude-opus-5/) and [`moonshotai/kimi-k3` against GLM-5.3](https://inference.net/compare/kimi-k3-vs-glm-5-3/).

## 40-turn coding-agent prompt-cache math

Multi-turn coding agents (Claude Code, OpenCode, Cursor, Cline) replay system prompts, tool schemas, and opened files on every turn. Using our standard [Coding Agent workload shape](https://inference.net/tools/llm-pricing-calculator/?preset=coding-agent): **40 turns per session**, **14,000 average input tokens per turn** (`560K` total input = `84K` fresh + `476K` cached reads at an **85% cache hit rate**), and **900 average output tokens per turn** (`36K` total output). Monthly spend scales to **750,000 requests/month** (18,750 sessions).

| Model ID | Fresh input (84K) | Cached read (476K) | Output (36K) | 40-turn session (85% cache) | Session without cache | Monthly (750K reqs) |
| --- | --- | --- | --- | --- | --- | --- |
| `kimi-k2.6` | `$0.1050` | `$0.1000` | `$0.1908` | **`$0.3958`** | `$0.8908` | `$7,420.50` |
| `moonshotai/kimi-k3.1-pro` | `$0.1512` | `$0.0942` | `$0.3240` | **`$0.5694`** | `$1.3320` | `$10,677.15` |
| `moonshotai/kimi-k3` | `$0.0206` | `$0.1066` | `$0.5400` | **`$0.6672`** | `$0.6772` | `$12,510.08` |
| `moonshotai/kimi-k3.1-pro-fast` | `$0.2268` | `$0.1285` | `$0.4860` | **`$0.8413`** | `$1.9980` | `$15,774.75` |
| `moonshotai/kimi-k3-fast` | `$0.0378` | `$0.1904` | `$0.6480` | **`$0.8762`** | `$0.9000` | `$16,428.75` |

Two takeaways stand out from the exact math:

1. **Prompt caching cuts Kimi K3.1 Pro session spend by 57.2%:** Dropping `476K` repeated prompt tokens from `$1.80/1M` to `$0.198/1M` lowers a 40-turn session from `$1.3320` to `$0.5694`.
2. **K3.1 Pro beats K3 on long coding loops, while K3 wins on fresh-input synthesis:** On a single-turn **500K fresh input + 4K output** repository audit with zero cache hits, `moonshotai/kimi-k3` costs **`$0.1825`** (`$0.1225` input + `$0.0600` output) compared to **`$0.9360`** on `moonshotai/kimi-k3.1-pro` (`$0.9000` input + `$0.0360` output).

Model your exact prefix length, turn count, and hit rate in the [Prompt Cache Calculator](https://inference.net/tools/prompt-cache-calculator/) or compare Kimi against peer open-weight models in the [LLM Pricing Calculator](https://inference.net/tools/llm-pricing-calculator/).

## How prompt caching works on Kimi models

Prompt caching mechanics on Inference.net depend on the Kimi generation:

- **`moonshotai/kimi-k3`, `moonshotai/kimi-k3-fast`, `moonshotai/kimi-k3.1-pro`, `moonshotai/kimi-k3.1-pro-fast`, and `kimi-k2.6`:** Automatic (implicit) prefix caching. No special request field is required. Keep your system prompt, tool definitions, and stable context byte-identical at the start of every request.
- **`kimi-k2.5`:** Requires a stable `session_id` string alongside byte-identical leading messages to maintain routing stickiness.
- **Verify hits in every response:** Read `usage.prompt_tokens_details.cached_tokens` on OpenAI responses (with `stream_options: { "include_usage": true }` when streaming) or cache-read usage fields on Anthropic `/v1/messages` responses.

## Quickstart: OpenAI SDK and native Anthropic `/v1/messages`

Create a free account at [/register](https://inference.net/register/?model=kimi-k3-1-pro) and generate a key in [API keys](https://inference.net/dashboard/api-keys/). Export `INFERENCE_API_KEY` before running either snippet:

bash

```bash
export INFERENCE_API_KEY="inf_sk_..."
```

### OpenAI Python SDK (`/v1/chat/completions`)

python

```python
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.inference.net/v1",  # or https://us.api.inference.net/v1
    api_key=os.environ["INFERENCE_API_KEY"],
)

stream = client.chat.completions.create(
    model="moonshotai/kimi-k3.1-pro",
    stream=True,
    stream_options={"include_usage": True},
    reasoning_effort="high",
    messages=[
        {"role": "system", "content": "You are a senior systems engineer. Return concise, runnable code."},
        {"role": "user", "content": "Design a lock-free ring buffer interface in Rust."},
    ],
)

for chunk in stream:
    if chunk.choices and chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="", flush=True)
    if chunk.usage:
        cached = getattr(chunk.usage.prompt_tokens_details, "cached_tokens", 0) or 0
        print(f"\n[usage] prompt={chunk.usage.prompt_tokens} cached={cached} output={chunk.usage.completion_tokens}")
```

### Native Anthropic SDK (`/v1/messages`) and Claude Code

Inference.net serves native Anthropic `/v1/messages` directly on all hosted Kimi K3 and K3.1 models. Omit `/v1` from `base_url` when using the official Anthropic SDK or Claude Code because those clients append `/v1/messages` automatically (see [Anthropic SDK docs](https://inference.net/docs/api/anthropic-sdk/) and [Claude Code setup](https://inference.net/docs/integrations/claude-code/)).

python

```python
import os
from anthropic import Anthropic

client = Anthropic(
    base_url="https://api.inference.net",
    auth_token=os.environ["INFERENCE_API_KEY"],
)

message = client.messages.create(
    model="moonshotai/kimi-k3.1-pro",
    max_tokens=2048,
    messages=[
        {"role": "user", "content": "Review this migration plan for zero-downtime Postgres schema changes."}
    ],
)

for block in message.content:
    if block.type == "text":
        print(block.text)
```

To wire Claude Code directly to Kimi K3.1 Pro, see the [Claude Code integration guide](https://inference.net/docs/integrations/claude-code/) or run `fast claude on --model moonshotai/kimi-k3.1-pro`.

## Privacy, Zero Data Retention, and US routing

Inference.net enables [Zero Data Retention](https://inference.net/zero-data-retention/) by default for new accounts under SOC 2 Type II controls on eligible Inference.net-hosted routes (`moonshotai/kimi-k3`, `moonshotai/kimi-k3-fast`, `moonshotai/kimi-k3.1-pro`, and `moonshotai/kimi-k3.1-pro-fast`). Those hosted Kimi routes also accept requests on the US-only endpoint `https://us.api.inference.net/v1`. Externally routed legacy K2 models (`kimi-k2.6`, `kimi-k2.5`) are excluded from Inference.net's ZDR policy and follow their upstream provider's retention terms.

## Frequently asked questions

### What is the difference between `moonshotai/kimi-k3` and `moonshotai/kimi-k3.1-pro`?

Both run on Inference.net-hosted US infrastructure with a 1,048,576-token context window, 1,048,576 max output tokens, vision, tool calling, and `none`/`low`/`high`/`max` reasoning efforts. `moonshotai/kimi-k3` charges `$0.245/1M` fresh input, `$0.224/1M` cached reads, and `$15.00/1M` output, making it best for input-heavy single-turn workloads. `moonshotai/kimi-k3.1-pro` charges `$1.80/1M` fresh input, `$0.198/1M` cached reads, and `$9.00/1M` output, making it cheaper and stronger for multi-turn coding agents.

### Do I need `prompt_cache_key` for Kimi K3 or Kimi K3.1 Pro?

No. `moonshotai/kimi-k3`, `moonshotai/kimi-k3-fast`, `moonshotai/kimi-k3.1-pro`, `moonshotai/kimi-k3.1-pro-fast`, and `kimi-k2.6` all use automatic implicit prefix caching. Keep your system prompt, tool definitions, and leading messages byte-identical across turns. Only `kimi-k2.5` uses an explicit `session_id` field for routing stickiness.

### What happens if I call bare `kimi-k3-fast` instead of `moonshotai/kimi-k3-fast`?

Unprefixed `kimi-k3-fast` is a compatibility alias that resolves to the hosted `moonshotai/kimi-k3-fast` endpoint before routing and billing, so requests run on the hosted US route at `$0.45` input / `$0.40` cached / `$18.00` output per 1M tokens. Use the canonical `moonshotai/kimi-k3-fast` (or `moonshotai/kimi-k3.1-pro-fast`) identifier in new integrations so your configuration matches the hosted catalog ID.

### Can I run Kimi K3.1 Pro inside Claude Code or OpenCode?

Yes. All hosted Kimi K3 and K3.1 models support native Anthropic `/v1/messages` for [Claude Code](https://inference.net/docs/integrations/claude-code/) and OpenAI `/v1/chat/completions` for [OpenCode](https://inference.net/docs/integrations/opencode/), [Cursor](https://inference.net/docs/integrations/cursor/), and [LiteLLM Proxy](https://inference.net/docs/integrations/litellm/).

## Related Kimi resources

- **Model hub & specs:** [Kimi API Hub](https://inference.net/models/kimi/) · [Kimi K3.1 Pro](https://inference.net/models/kimi-k3-1-pro/) · [Kimi K3](https://inference.net/models/kimi-k3/) · [Kimi K2.6](https://inference.net/models/kimi-k2-6/)
- **Calculators & comparisons:** [Prompt Cache Calculator](https://inference.net/tools/prompt-cache-calculator/) · [LLM Pricing Calculator](https://inference.net/tools/llm-pricing-calculator/) · [Kimi K3.1 Pro vs Claude Opus 5](https://inference.net/compare/kimi-k3-1-pro-vs-claude-opus-5/) · [Kimi K3 vs DeepSeek V4.1 Flash](https://inference.net/compare/kimi-k3-vs-deepseek-v4-1-flash/) · [Kimi K3 vs GLM-5.3](https://inference.net/compare/kimi-k3-vs-glm-5-3/)
- **Setup guides:** [Claude Code Integration](https://inference.net/docs/integrations/claude-code/) · [OpenCode DeepSeek & Kimi Setup](https://inference.net/guides/opencode-deepseek-kimi-setup/) · [GLM-5 Pricing Guide](https://inference.net/guides/glm-5-pricing/) · [DeepSeek API Pricing Guide](https://inference.net/guides/deepseek-api-pricing/)

### Start building with Kimi K3.1 Pro on 1M context

Create a free Inference.net API key to call moonshotai/kimi-k3.1-pro and moonshotai/kimi-k3 over OpenAI and native Anthropic /v1/messages with automatic prompt caching and hosted ZDR.

[Create API key](https://inference.net/register/?model=kimi-k3-1-pro)

Estimate Your Inference Bill

## Calculate your monthly LLM API & prompt-cache spend

Compare live input, cached-read, and output token pricing across every open-weight and frontier model on Inference.net with 0% markup.

[Open pricing calculator](https://inference.net/tools/llm-pricing-calculator/) [Explore model catalog](https://inference.net/models/)

## Related reading & models

[Back to all guides](https://inference.net/guides/)

[Guide December 05, 2026 **DeepSeek API Pricing: Live Rates, Caching Math, and Models** Live DeepSeek API pricing per 1M tokens for V4.1 Flash, V4 Pro, Cyber, and V3.2 on Inference.net, with prompt caching math and copy-paste code snippets. Read more](https://inference.net/guides/deepseek-api-pricing/) [Guide December 06, 2026 **GLM-5 Pricing: GLM-5.3, Flash & GLM-5.2 API Rates** Live GLM-5.3, GLM-5.3 Flash, and GLM-5.2 API pricing per 1M tokens on Inference.net, with prompt_cache_key rules, 40-turn session math, and SDK setup. Read more](https://inference.net/guides/glm-5-pricing/) [Article February 21, 2026 **LLM API Pricing Comparison 2026: Live Rates** Compare 2026 LLM API pricing across DeepSeek V4.1 Flash ($0.103/$0.60), Kimi K3.1 Pro, GLM-5.3, GPT, and Claude, plus $0.007/1M prompt cache savings. Read more](https://inference.net/content/llm-api-pricing-comparison/) [Guide December 06, 2026 **Cheapest LLM API in 2026: Verified Per-1M Rates & Cache Math** Compare the cheapest LLM API models per 1M fresh, cached, and output tokens on Inference.net with 40-turn coding-agent and extraction cost math. Read more](https://inference.net/guides/cheapest-llm-api/)

[**Explore serverless models** Compare open-weight and frontier models, context windows, and per-token pricing.](https://inference.net/models/) [**Inference Pass plans** Predictable monthly access for coding agents and high-volume OpenAI-compatible API workloads.](https://inference.net/subscription/)
