Moonshot (Kimi) · Flagship · 1M context window

Kimi K3 pricing for rag pipeline

$0.0405 per call at 6,000 input / 1,500 output tokens.

Per call

$0.0405

10K calls/mo

$405

Cache savings

90% off input

Batch savings

0% off all

Calculate your Kimi K3 costs

Adjust token counts, volume, and discount toggles to model your rag pipeline spend. Prices verified daily against provider pricing pages.

Configure your usage

6,000
100100K
1,500
5050K
10,000
1001M

Estimated cost

Monthly cost
$405
10,000 calls/month
Cost per call$0.0405
Daily cost$14
Input rate$3.00/MTok
Output rate$15.00/MTok
Analyze your real spend

Quick start

Call Kimi K3 with the OpenAI Python SDK pointed at api.moonshot.cn:

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.moonshot.cn/v1",
    api_key=os.environ["MOONSHOT_API_KEY"],
)
response = client.chat.completions.create(
    model="kimi-k3",
    max_tokens=1500,
    messages=[{"role": "user", "content": "Your prompt here"}]
)
# Cost: ~$0.0405 per call at standard rates
# Input:  $3.00/MTok
# Output: $15.00/MTok

What drives rag pipeline cost

Retrieval-augmented calls are dominated by the retrieved passages, not the question. Retrieving eight chunks instead of three roughly triples input cost for an answer that is often no better, so retrieval tuning is cost tuning. The system prompt and instructions are identical on every call, which makes cache reads the first thing to enable.

For Kimi K3 specifically, that means output tokens cost 5.0x more than input, at $15.00 vs $3.00 per MTok. At this use case’s 6,000/1,500 token split, output accounts for 56% of the $0.0405 per-call cost.

Complete Kimi K3 pricing breakdown

Standard token rates

Direction$/MTokTokens per call
Input$3.006,000
Output$15.001,500

Prompt caching: 90% off input tokens

Caching drops input cost from $3.00 to $0.30/MTok. For repeated system prompts, that saves $0.0162 per call.

Batch API: 0% off all tokens

Submit requests asynchronously and receive 0% off all token costs. This works best for offline pipelines where latency requirements are flexible.

Monthly cost projections

Monthly volumeCost per callStandard monthlyCached monthlyYou save with caching
10,000 calls$0.0405$405$243$162
50,000 calls$0.0405$2,025$1,215$810
100,000 calls$0.0405$4,050$2,430$1,620
500,000 calls$0.0405$20,250$12,150$8,100
1,000,000 calls$0.0405$40,500$24,300$16,200

Kimi K3 quality benchmarks for rag pipeline

Benchmark data for rag pipeline is pending for Kimi K3. Test against your own evaluation suite before moving to production.

Benchmark data is not yet available for Kimi K3. We recommend testing against your own evaluation criteria.

Alternative models for rag pipeline

12 models score 80+ on rag pipeline benchmarks, sorted by input rate. Cheapest: GPT 5.6 Luna (93% less, 85/100 quality).

ModelProviderInput $/MTokOutput $/MTokQualityPer callvs Kimi
GPT 5.6 LunaGPT$0.20$1.2085/100$0.00300093% cheaper
Claude Haiku 4.5Claude$1.00$5.0086/100$0.013567% cheaper
Gemini 3.5 FlashGemini$1.50$9.0084/100$0.022544% cheaper
Claude Sonnet 5Claude$2.00$10.0089/100$0.027033% cheaper
GPT 5.6 TerraGPT$2.00$12.0092/100$0.030026% cheaper
Gemini 3.1 ProGemini$2.00$12.0087/100$0.030026% cheaper
GPT 5.4GPT$2.50$15.0091/100$0.03757% cheaper
Claude Sonnet 4.6Claude$3.00$15.0088/100$0.0405same cost
GPT 5.6 SolGPT$4.00$20.0091/100$0.054033% more
Claude Opus 4.8Claude$5.00$25.0085/100$0.067567% more
GPT 5.5GPT$5.00$30.0090/100$0.075085% more
Claude Fable 5Claude$10.00$50.0088/100$0.1350233% more

About Kimi K3

Provider

Moonshot (Kimi)

Tier

Flagship

Context

1M tokens

Released

Not published

Prices from platform.kimi.ai (read 2026-10-11). Cache hit: $0.30/MTok input. Kimi K3 is a 2.8T-parameter open-weight MoE model. No batch discount published yet. Not yet benchmarked, so never recommended.

Other models from Moonshot (Kimi)

ModelTierInput $/MTokOutput $/MTokContext
Kimi K2Mid-tier$0.95$4.00256K

You can compare Kimi K3 head-to-head against any other model on our model comparison pages, or track how pricing has changed over time on the pricing history tracker.

Frequently asked questions

How much does Kimi K3 cost for rag pipeline per API call?

A typical rag pipeline call using Kimi K3 costs about $0.0405 per call. This estimate uses 6,000 input tokens and 1,500 output tokens at standard rates. Standard rates are $3.00 per million input tokens and $15.00 per million output tokens.

Is Kimi K3 the best model for rag pipeline?

Our benchmark data does not yet include a rag pipeline ranking for Kimi K3. We recommend testing it against your own evaluation criteria before production usage.

What is the cheapest model for rag pipeline with good quality?

The most affordable model for rag pipeline above 80/100 quality is GPT 5.6 Luna. It comes from GPT at $0.20 per million input tokens. Output costs $1.20 per million tokens with a quality score of 85/100. Switching from Kimi K3 to GPT 5.6 Luna saves about 93% per API call.

How can I reduce my Kimi K3 costs for rag pipeline?

Three strategies lower Kimi K3 costs for this task type effectively. Prompt caching gives a 90% discount on input tokens when reusing system prompts. The batch API gives 0% off all tokens for asynchronous processing workloads. Prompt optimization reduces token counts through more concise instructions and context windows. Combining caching with batching brings your cost from $0.0405 to about $0.004050 per call.

How does Kimi K3 pricing compare to other Moonshot (Kimi) models?

Moonshot (Kimi) has 1 other models alongside Kimi K3 today: Kimi K2 at $0.95/$4.00 per million tokens (mid-tier). The right choice depends on whether your rag pipeline workload prioritizes quality, cost, or speed.

What context window does Kimi K3 support?

Kimi K3 supports a context window of 1M tokens per API call. This sets the maximum combined length of your input prompt and generated response. For rag pipeline, typical calls use 6,000 input and 1,500 output tokens. That is well within this limit, leaving room for longer prompts or multi-turn conversations.

Track what you spend on AI

This calculator estimates costs based on published rates only. Connect your API usage to see where your money goes and which models drive your spend.