---
title: "Kimi K3.1 Pro API Pricing & Context | Inference.net"
description: "Run Kimi K3.1 Pro by Moonshot AI on Inference.net: $1.80/1M input, $9.00/1M output, 1M context. OpenAI-compatible API quickstart."
url: "https://inference.net/models/kimi-k3-1-pro/"
---

# Kimi K3.1 Pro

Run Kimi K3.1 Pro by Moonshot AI on Inference.net through a serverless, OpenAI-compatible API at $1.80 per 1M input tokens and $9.00 per 1M output tokens. Built on a 2.8T-parameter Mixture-of-Experts architecture with a 1M-token context window with reasoning, vision, and tool calling support, it streams low-latency responses with Zero Data Retention enabled by default.

Moonshot AI Reasoning Model Mixture-of-Experts 1M context US residency

[Get started](https://inference.net/register/) [Documentation](https://inference.net/docs/api/quickstart/)`moonshotai/kimi-k3.1-pro`

MODEL API PRICING

PER 1M TOKENS

Input

$1.80

Cache read

$0.198

Output

$9.00

[See all pricing](https://inference.net/subscription/)

LIVE PERFORMANCE LIVE

MEDIAN · LAST 15 MIN

Time to first token (p50)

377 ms

Output throughput (p50)

83.4 tok/s

[Live benchmarks](https://inference.net/benchmarks/)

MODEL SPEC

Developed by

Moonshot AI

Model family

Kimi K3.1 Pro

Size

2.8T parameters

Architecture

Mixture-of-Experts

Context window

1M tokens

Max output

1M tokens

License

Kimi K3 License

Overview

Kimi K3.1 Pro is a 2.8T-parameter reasoning model from Moonshot AI built on a Mixture-of-Experts architecture, available through the Inference.net serverless API. Use the same OpenAI-compatible request shape across the catalog and switch models by changing a single identifier.

The API supports streaming responses and project-scoped credentials. Usage, token volume, and spend appear in the dashboard automatically, so the model can move from evaluation to production without a second integration path.

QUICKSTART [Get API key](https://inference.net/dashboard/api-keys/)

```typescript
import OpenAI from 'openai'

const client = new OpenAI({
  baseURL: 'https://api.inference.net/v1',
  apiKey: process.env.INFERENCE_API_KEY,
})

const completion = await client.chat.completions.create({
  model: 'moonshotai/kimi-k3.1-pro',
  messages: [{ role: 'user', content: 'Hello' }],
})
```

```python
import os
from openai import OpenAI

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

completion = client.chat.completions.create(
    model="moonshotai/kimi-k3.1-pro",
    messages=[{"role": "user", "content": "Hello"}],
)
```

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

## PRICING & TOKEN RATES

USD per 1M tokens

| Token type | Rate (per 1M) | Details |
| --- | --- | --- |
| Input | $1.80 | Standard prompt tokens |
| Cache read | $0.198 | 89% savings vs. standard input |
| Output | $9.00 | Generated completion tokens |

## SPECIFICATIONS & CAPABILITIES

moonshotai/kimi-k3.1-pro

| Specification | Value |
| --- | --- |
| Maker | Moonshot AI |
| Architecture | Mixture-of-Experts |
| Parameters | 2.8T |
| Quantization | mxfp4 |
| Context window | 1M tokens (1,048,576) |
| Max output | 1M tokens (1,048,576) |
| Input modalities | Text, Image |
| Output modalities | Text |
| Tool calling | Supported |
| Structured outputs | Supported |
| JSON object mode | Supported |
| Logprobs | Not specified |
| Reasoning efforts | Supported (none, low, high, max) |
| Supported wire endpoints | `/v1/chat/completions``/v1/responses``/v1/messages` |
| Data residency | Global (`api.inference.net`) US in-region (`us.api.inference.net`) |
| License | Kimi K3 License |
| Hugging Face repository | [`moonshotai/Kimi-K3.1-Pro`](https://huggingface.co/moonshotai/Kimi-K3.1-Pro) |
| Release date | Nov 02, 2026 |

PROMPT CACHING

1. No special request field is needed. Keep the prompt prefix stable and byte-identical across calls.
2. Check usage.prompt_tokens_details.cached_tokens in the response to confirm cache reads.

Estimate monthly savings for your prefix length and hit rate in the [Prompt Cache Savings Calculator](https://inference.net/tools/prompt-cache-calculator/).

AGENT INTEGRATIONS [View all](https://inference.net/docs/integrations/overview/)

[### Claude Code Native Anthropic /v1/messages. Six model slots for every Claude Code workload. `fast claude on`](https://inference.net/docs/integrations/claude-code/) [### Codex OpenAI-compatible Responses API with a reversible Codex configuration. `fast codex on`](https://inference.net/docs/integrations/codex/) [### Grok Chat completions with a catalog-backed section for each supported alias. `fast grok on`](https://inference.net/docs/integrations/grok/) [### OpenCode Chat completions with Inference.net models registered as an OpenCode provider. `fast opencode on`](https://inference.net/docs/integrations/opencode/) [### Pi Chat completions with model and provider settings written for Pi Agent. `fast pi on`](https://inference.net/docs/integrations/pi/) [### Hermes Hermes provider configuration is documented while its CLI adapter is in preview. `CLI adapter in preview`](https://inference.net/docs/integrations/hermes/) [### OpenClaw OpenClaw provider routing is documented while its CLI adapter is in preview. `CLI adapter in preview`](https://inference.net/docs/integrations/openclaw/) [### Fx Fx gateway configuration is documented while its CLI adapter is in preview. `CLI adapter in preview`](https://inference.net/docs/integrations/fx/) [### Cursor Cursor base URL routing is documented while its CLI adapter is in preview. `CLI adapter in preview`](https://inference.net/docs/integrations/cursor/)

FAQ

## Frequently asked questions about Kimi K3.1 Pro

### How much does Kimi K3.1 Pro cost on Inference.net, and is prompt caching supported?

On Inference.net, Kimi K3.1 Pro is priced at $1.80 per 1M input tokens and $9.00 per 1M output tokens. Cached input reads are $0.198 per 1M tokens (89% less than standard input). Implicit prompt caching is enabled automatically when the prompt prefix stays byte-identical across calls.

### What are the context window and max output token limits for Kimi K3.1 Pro?

Kimi K3.1 Pro supports a 1M tokens (1,048,576) input context window and up to 1M tokens (1,048,576) output tokens per request. It accepts text and image input and produces text output.

### What capabilities and API endpoints does Kimi K3.1 Pro support?

Kimi K3.1 Pro supports tool calling, structured outputs (JSON Schema), JSON object mode, configurable reasoning (none, low, high, max effort levels), and image vision inputs. It is callable over /v1/chat/completions, /v1/responses, and /v1/messages on Inference.net.

### Does Inference.net offer Zero Data Retention and US data residency for Kimi K3.1 Pro?

Yes. Zero Data Retention (ZDR) is enabled by default for new accounts on Inference.net, so prompts and outputs sent to Kimi K3.1 Pro are not retained after processing. Inference.net is SOC 2 Type 2 compliant; see our [ZDR policy](https://inference.net/zero-data-retention/) for full details. For US data residency, send requests to the US-pinned endpoint at us.api.inference.net alongside the global api.inference.net host.

### Can I call Kimi K3.1 Pro with the standard OpenAI SDK?

Yes. Point the official OpenAI TypeScript or Python SDK (or any OpenAI-compatible coding agent) to https://api.inference.net/v1 with your Inference.net API key and set model to "moonshotai/kimi-k3.1-pro".

Head-to-head comparisons

[All comparisons](https://inference.net/compare/)

[**Kimi K3.1 Pro vs Claude Opus 5**Moonshot's Kimi K3.1 Pro vs Anthropic's Claude Opus 5 — live catalog pricing, prompt caching mechanics, and 15m speed telemetry. Live pricing & telemetry](https://inference.net/compare/kimi-k3-1-pro-vs-claude-opus-5/)

Related models

[See all models](https://inference.net/models/)

[**Kimi K3 Fast**Moonshot AI 1M context Vision Tools Reasoning In **$4.50** Out **$22.50**](https://inference.net/models/kimi-k3-fast/) [**Kimi K3**Moonshot AI 1M context Vision Tools Reasoning In **$0.245** Out **$15.00**](https://inference.net/models/kimi-k3/) [**Kimi K2.6**Moonshot AI 262K context Vision Tools In **$1.25** Out **$5.30**](https://inference.net/models/kimi-k2-6/) [**Kimi K2.5**Moonshot AI 262K context Vision In **$0.80** Out **$3.95**](https://inference.net/models/kimi-k2-5/)

Ready when you are

## Start building with Kimi K3.1 Pro today

Serverless, OpenAI-compatible, and billed per token. No commitments.

[Get started](https://inference.net/register/) [Read the docs](https://inference.net/docs/api/quickstart/)
