Kimi K3.1 Pro (2026): Specs, Cost and API Options
Unicorn API Team · · 10 min read
If you searched for “kimi k3 1 pro”, you are looking for Kimi K3.1 Pro, the October 2026 upgrade to Moonshot AI’s Kimi K3 line. It is a very large open-weight model built for coding, long documents and agent work. This post covers what the model is, how it differs from Kimi K3, whether you can run it yourself, what API access costs in real numbers, and how to call the Kimi family from code today.
What is Kimi K3.1 Pro?
Kimi K3.1 Pro is a large language model (LLM) from Moonshot AI, the Beijing company behind the Kimi chatbot. Moonshot launched it on October 23, 2026, and it builds on Kimi K3, which arrived in July 2026. Moonshot pitches the release around four areas: complex coding projects, 3D creation, in-depth financial research and agentic workflows. “Agentic” means the model does more than answer one question: it plans, calls tools, reads the results and keeps going across many steps.
The headline specs, as published across model listings:
- Architecture: a mixture-of-experts (MoE) model. MoE splits the network into many “expert” sub-networks and only activates a few of them for each token, so a huge model can run with a fraction of its parameters doing work at any moment.
- Size: described as a 3T-class model. One listing gives 2.8 trillion total parameters with 104 billion active per token.
- Context window: 1 million tokens. A token is a chunk of text, roughly three quarters of an English word, so 1M tokens is enough for a large codebase or a stack of financial filings in one request.
- Inputs and outputs: listings describe it as multimodal on input (text and images, and in some listings video), with text as output.
- Weights: open-weight, meaning Moonshot publishes the trained model files.
Moonshot’s showcase examples lean hard on agentic coding. One demo has Kimi K3.1 Pro building a stylized 3D action-adventure game in the Godot engine, with five explorable regions, procedural terrain, roads and water. Treat demos like this as a signal of what the model is tuned for, not as a promise of what it will do on your codebase.
Kimi K3 vs Kimi K3.1 Pro: what changed
Search results mix “Kimi K3” and “Kimi K3.1 Pro” freely, which confuses people trying to pick a model. Here is the practical difference.
Kimi K3 is the base generation of the line. It established the open-weight MoE design and long context that the rest of the family inherits.
Kimi K3.1 Pro is a point release with a “Pro” tier name. Moonshot describes it as delivering substantial improvements in coding, 3D creation, financial research and other agentic capabilities. In plain terms: it is the same family, trained further, and tuned for long multi-step tasks rather than quick chat.
What this means for you:
- If you are building a coding agent or a research pipeline that runs for many steps, the K3.1 Pro tuning is what you want to evaluate.
- If your workload is shorter (summaries, classification, single-turn questions), the difference between K3 and Kimi K3.1 Pro will matter much less than price and latency.
- Model ids differ by provider. On Unicorn API the Kimi model in the catalog is Kimi K3 (id
kimi-k3). Check the full model catalog for the current list before you hard-code anything.

Is Kimi K3.1 Pro open source? Hugging Face, Ollama and local runs
Kimi K3.1 Pro is open-weight, which is not quite the same as open source. Open weights means you can download the trained model, run it on your own hardware and fine-tune it. Fully open source would also mean releasing training data and the full training code, which model labs rarely do. Moonshot publishes the Kimi series as open-weight models, and the files are distributed through Hugging Face, the main hub for model weights. We covered a similar pattern with Sber’s GigaChat 4 landing on Hugging Face as open weights.
Before building a product on the weights, read the license on the model card. Open-weight licenses can attach conditions (attribution, usage limits, scale thresholds) that a permissive license like Apache 2.0 would not.
Can you actually run it at home?
Technically yes, practically only with serious hardware. One home-lab user reported running the full Kimi K3.1 Pro on a cluster of 16 Nvidia Spark machines, with generation speeds of about 24, 30 and 40 tokens per second for prose, coding and structured output respectively. That is a real achievement and also a clear signal: the full model needs a rack of high-memory boxes, not a gaming PC.
Questions about running Kimi K3.1 Pro with Ollama or other local runners usually end in the same place. Local tools are great for small and medium models. For a model of this size you either use heavily quantized community builds (smaller, lossy versions of the weights that trade quality for memory) or you run it through a hosted API. For most teams, paying per token is far cheaper than buying the hardware.
Kimi K3.1 Pro pricing: what you actually pay
There are three ways to use the Kimi line, and each has a different cost shape:
- Moonshot’s chat app. The consumer route, with free and subscription options set by Moonshot. Good for trying the model, not for building on it.
- Self-hosting the weights. The weights are free; the hardware, power and engineering time are not.
- A pay-per-token API. You pay only for tokens used. This is the route most developers take.
On Unicorn API, Kimi K3 is billed in credits per million tokens. On a monthly plan (Starter $25, Creator $50, Studio $100, Pro $200), each credit costs $0.01. Top-up credits cost $0.015 each and never expire.
| Kimi K3 on Unicorn API | Credits per 1M tokens | On a plan ($0.01/credit) | On top-ups ($0.015/credit) |
|---|---|---|---|
| Input tokens | 480 | $4.80 | $7.20 |
| Output tokens | 2,400 | $24.00 | $36.00 |
| Cached input tokens | 48 | $0.48 | $0.72 |
The cost of each request is debited from the token usage the model reports, and you can get the exact price of a request before running it with POST /v1/models/price (see the API documentation for the request body). For a broader look at how Kimi token bills behave, see our Kimi AI API pricing breakdown.
Worked example: a coding agent session
Say you run a coding agent for one task. It makes 50 model calls. Each call sends 30,000 input tokens (the repo context, the conversation and tool results) and gets back 1,500 output tokens. Because agents resend most of the same context every turn, assume 25,000 of those input tokens are reported as cached.
Per call, with caching:
- Uncached input: 5,000 × 480 / 1,000,000 = 2.4 credits
- Cached input: 25,000 × 48 / 1,000,000 = 1.2 credits
- Output: 1,500 × 2,400 / 1,000,000 = 3.6 credits
- Total: 7.2 credits per call
Across 50 calls that is 360 credits: $3.60 on a plan, $5.40 on top-ups.
The same session with no cache hits: 30,000 × 480 / 1,000,000 = 14.4 credits of input plus 3.6 of output, so 18 credits per call and 900 credits for the session. Caching cuts this bill by 60%. If you are asking why Kimi K3 feels expensive, this is usually the reason: long agent loops that resend context without getting cache hits, plus output tokens that cost five times as much as input.

How to call Kimi K3 from code
Unicorn API’s chat endpoint is OpenAI-compatible, so any client that speaks the OpenAI chat completions format works. You need an API key from the keys page; store it in an environment variable called UNICORN_API_KEY.
Quick test with curl
curl https://api.unicornapi.net/v1/chat/completions \
-H "Authorization: Bearer $UNICORN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kimi-k3",
"messages": [
{"role": "user", "content": "Write one sentence about unicorns."}
],
"max_tokens": 200
}'
Python with the OpenAI SDK
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["UNICORN_API_KEY"],
base_url="https://api.unicornapi.net/v1",
)
resp = client.chat.completions.create(
model="kimi-k3",
messages=[
{"role": "system", "content": "You are a senior Python reviewer. Be concise."},
{"role": "user", "content": "Review this function:\n\ndef add(a, b):\n return a - b"},
],
max_tokens=800,
temperature=0.2,
)
print(resp.choices[0].message.content)
print("usage:", resp.usage)
The request accepts the usual fields: tools and tool_choice for function calling, stream for token-by-token output, response_format for structured JSON, stop, top_p and reasoning_effort. Check the docs for the accepted reasoning_effort values before you set it.
If you would rather not write code first, open the browser playground and paste your real prompts in. If you work inside Cursor or Claude Code, the agents setup connects the same key over MCP.
Kimi K3.1 Pro benchmarks: how to read them and test your own
Independent analysis sites place Kimi K3.1 Pro among the leading models on their intelligence rankings, and that matches what you would expect from a 3T-class model tuned for agents. But aggregate scores answer “is this model generally strong?”, not “is it best for my task?”. Three things to keep in mind:
- Benchmarks measure narrow skills. A coding benchmark tests small, well-defined problems. Your repo has odd conventions, old dependencies and missing docs.
- Agent results depend on the harness. The same model scores differently depending on the tools, prompts and retry logic around it.
- Cost is part of the score. A model that is slightly better but uses three times the output tokens may lose on value.
The fix is a small private eval: 10 to 30 real prompts from your own work, run through several models, graded by you. The script below sends one prompt to three models on the same key and estimates the credit cost of each answer from the reported usage.
import os
import requests
URL = "https://api.unicornapi.net/v1/chat/completions"
HEADERS = {
"Authorization": f"Bearer {os.environ['UNICORN_API_KEY']}",
"Content-Type": "application/json",
}
# credits per 1M tokens: (input, output), uncached
PRICES = {
"kimi-k3": (480, 2400),
"gemini-4-neon": (240, 1200),
"gpt-6-2-sol": (120, 600),
}
PROMPT = (
"Write a Python function that parses ISO 8601 durations like "
"'P3DT4H12M' into total seconds. Include tests."
)
for model, (p_in, p_out) in PRICES.items():
r = requests.post(
URL,
headers=HEADERS,
json={
"model": model,
"messages": [{"role": "user", "content": PROMPT}],
"max_tokens": 1500,
"temperature": 0.2,
},
timeout=300,
)
r.raise_for_status()
data = r.json()
usage = data.get("usage", {})
tin = usage.get("prompt_tokens", 0)
tout = usage.get("completion_tokens", 0)
credits = tin * p_in / 1_000_000 + tout * p_out / 1_000_000
print(f"=== {model}: {tin} in, {tout} out, ~{credits:.2f} credits")
print(data["choices"][0]["message"]["content"][:600])
print()
The estimate ignores cache discounts, so real costs on repeated prompts will be lower. Run it on prompts you already know the right answer to, and you will learn more in an afternoon than any leaderboard can tell you.
Kimi K3 alternatives on the same key
If you are evaluating Kimi K3.1 Pro, you are probably also weighing the other frontier models released this month. Here is how they compare on Unicorn API pricing, using the same 50-call agent session from the worked example (5,000 uncached input, 25,000 cached input and 1,500 output tokens per call).
| Model | Input / output (credits per 1M) | Cached input (per 1M) | 50-call session | Good fit |
|---|---|---|---|---|
| Kimi K3 | 480 / 2,400 | 48 | 360 credits | Open-weight family, coding and agents |
| GPT 6.2 Astra | 480 / 2,400 | 24 (cache writes 600) | Depends on cache writes | OpenAI’s top tier at the same list rates |
| Gemini 4 Neon | 240 / 1,200 | 12 | 165 credits | 1M-context reasoning, four thinking levels up to xhigh |
| GPT 6.2 Sol | 120 / 600 | 6 (cache writes 150) | About 83 credits plus cache writes | High-volume, routine tasks |
A few notes on reading this table. GPT 6.2 Astra and GPT 6.2 Sol also bill cache writes, so their session cost depends on how often new context gets written to cache; the Sol figure above covers reads only. Gemini 4 Neon is also available as Gemini 4 Neon OpenAI, an OpenAI-compatible variant with streaming, tools and Google Search grounding at the same rates.
A common, sensible setup is routing: send hard planning and debugging steps to Kimi K3 or GPT 6.2 Astra, and send bulk work (summaries, test generation, formatting) to GPT 6.2 Sol. With one key and one bill, that is just a change to the model string. Plan sizes and credit prices are on the pricing page.
Common mistakes with Kimi K3.1 Pro
- Assuming “open weights” means “free to use”. The download is free. Running a 3T-class MoE model is not, and the license may restrict some uses.
- Filling the 1M-token context because you can. Every input token is billed on every call. Send the files the model needs, not the whole repo, and keep stable content (system prompt, docs) at the start of the prompt so it can be cached.
- Leaving
max_tokensunset in agent loops. Output costs five times input. Cap it, and raise it only for steps that genuinely need long answers. - Trusting demo videos as benchmarks. The Godot game demo shows the model’s ceiling with a well-built harness. Test on your own tasks.
- Hard-coding a model id from another provider. Ids differ between platforms. On Unicorn API, the Kimi id is
kimi-k3; confirm the current catalog before deploying. - Comparing list prices instead of task costs. A model with cheaper tokens can cost more if it needs more turns or longer outputs. Measure credits per finished task, as in the eval script above.
- Treating tool output as trusted. Agents read web pages and files that can contain prompt injection, hidden instructions meant to hijack the model. Limit what tools can do and review actions that change data.
The short version: Kimi K3.1 Pro is a strong open-weight option for coding and agent work, the weights are free but the hardware is not, and the cheapest way to find out if it suits you is to run your own prompts through Kimi K3 and a couple of alternatives on a single key, then compare quality against credits spent.
Frequently asked questions
How much does Kimi K3 cost?
Through Unicorn API, Kimi K3 costs 480 credits per million input tokens, 2,400 credits per million output tokens and 48 credits per million cached input tokens. On a monthly plan a credit is $0.01, so that works out to $4.80, $24 and $0.48 per million. Top-up credits cost $0.015 each and never expire. You can check the exact price of any request before running it.
Is Kimi K3 actually free?
The weights are free to download because Moonshot publishes the Kimi series as open-weight models, and Moonshot's own chat app is the usual way to try it at no cost. Running the full model yourself is not free in practice: it is a trillion-parameter-class mixture-of-experts model that needs a cluster of high-memory machines. For most developers, paying per token through an API is far cheaper than buying that hardware.
Why is Kimi K3 so expensive?
It is a very large model, and output tokens cost five times as much as input tokens. Reasoning-heavy work such as coding agents produces long outputs and resends large contexts on every turn, so bills grow quickly. Cached input helps a lot: on Unicorn API, cached Kimi K3 input costs 48 credits per million instead of 480, which can cut an agent session's cost by more than half.
Is Kimi K3.1 Pro open source?
It is open-weight rather than fully open source. Moonshot publishes the model weights so you can download, run and fine-tune them, but open weights do not automatically include training data or the full training code. Read the license on the model card before shipping a commercial product, since open-weight licenses can carry conditions that a permissive open source license would not.
Is Kimi K3 the best AI model?
It is among the strongest open-weight models, especially for coding and long agent tasks, but no single model is best at everything. Closed models such as GPT 6.2 Astra and Gemini 4 Neon compete closely, and cheaper models like GPT 6.2 Sol often handle routine work well. The reliable answer comes from running your own prompts through several models and comparing quality and cost.