Kimi K3.1 Pro Launches: Claude Code Setup Guide, How It Differs from K3, and Choosing Highspeed

Kimi released K3.1 Pro and K3.1 Pro Highspeed at 01:15 Beijing time on October 24. This post covers the key points from the official announcement, how K3.1 Pro differs from K3, the Claude Code settings.json configuration (the official K3.1 Pro model ID and the kimi-k3 model currently available on our platform), and a coding task run with kimi-k3 inside Claude Code.

5 分钟阅读
Kimi K3.1 Pro Launches: Claude Code Setup Guide, How It Differs from K3, and Choosing Highspeed

At 01:15 Beijing time on October 24, 2026, Kimi announced on its official X account that it has released Kimi K3.1 Pro, along with K3.1 Pro Highspeed. The short version:

  • K3.1 Pro is K3 with more post-training compute behind it: 2.8T total parameters, 104B active (MoE), a 1M-token context window, and multimodal support.
  • Kimi says the Highspeed version is 2–3x faster than K3.1 Pro.
  • The official API model IDs are kimi-k3.1-pro and kimi-k3.1-pro-highspeed.
  • Our platform (aicodewith) currently supports kimi-k3, and K3.1 Pro is not live yet. The Claude Code guide and hands-on test below both use kimi-k3 , which works end to end. Once K3.1 Pro is live, you only need to swap the model ID.

Create an API Key →

Key Points from the Launch

Everything below comes from the Kimi tech blog and the official post:

ItemOfficial statement
Release time01:15 Beijing time on October 24 (time of the main post)
PositioningOriginal: "our most capable 3T-class open-weight model to date"
ParametersOriginal: "2.8T total / 104B active params (MoE), Multimodal"
ContextOriginal: "a 1-million-token context window"
HighspeedOriginal: "delivers 2-3× the speed of K3.1 Pro"
AvailabilityOriginal: "available today on Kimi.ai, Kimi Work, Kimi Code, and the Kimi API"
Open weightsOriginal: "Full model weights will be released by Nov 4, 2026."
API model IDOriginal: "select kimi-k3.1-pro / kimi-k3.1-pro-highspeed"
Enterprise note: the announcement states that Kimi Enterprise admins must manually enable K3.1 Pro for their organization. The original reads "access is off by default at launch".

Official Self-Reported Benchmarks

All scores below are self-reported in the official Kimi blog. K3.1 Pro's coding results were measured under the Claude Code harness with reasoning effort set to max:

BenchmarkK3.1 ProComparison
Terminal-Bench 4.065.7%GPT-6 Astra 58.2%, Claude Opus 5.5 66.4%
Kimi Code Bench 3.0 Long-horizon (Kimi internal benchmark)61.2%K3 55.95%
BenchCAD (with tools)92.7%Claude Opus 5.5 96.2%, GPT-6 Astra 95.9%

How K3.1 Pro Differs from K3

ItemKimi K3Kimi K3.1 Pro
RelationshipBase modelOfficial text: "a post-trained version of Kimi K3, with substantially larger post-training compute"
API model IDkimi-k3kimi-k3.1-pro / kimi-k3.1-pro-highspeed
Kimi Code Bench 3.0 Long-horizon (self-reported)55.95%61.2%
Hallucination rate (Kimi Hallu Bench Hard, self-reported, claim-level)23.4%8.3%
Available on our platform (aicodewith)?Yes, verified with a key from our platformNot live yet
Kimi's own caveat on the hallucination numbers is that this is a stress test built around error-prone scenarios: "The reported rates do not represent overall error rates in daily use."

For how Codex users can connect K3, see Connecting Kimi K3 to Codex. This post only covers Claude Code.

Connecting Claude Code

1. Create an API Key on our platform

After signing in, create an API Key in the console. Refer to the model list for the models currently available.

Create an API Key →

2. Write to the global settings.json

Open ~/.claude/settings.json(on Windows, %USERPROFILE%\.claude\settings.json), and in env add the base URL, key, and model name. Note that ANTHROPIC_BASE_URL mustnot have /v1at the end.

The setup that works on our platform today (the model is kimi-k3):

json
{
  "env": {
    "ANTHROPIC_BASE_URL": "https://api.aicodewith.ai",
    "ANTHROPIC_AUTH_TOKEN": "<你的 API Key>",
    "ANTHROPIC_MODEL": "kimi-k3",
    "ANTHROPIC_DEFAULT_SONNET_MODEL": "kimi-k3",
    "ANTHROPIC_DEFAULT_OPUS_MODEL": "kimi-k3",
    "ANTHROPIC_DEFAULT_HAIKU_MODEL": "kimi-k3",
    "CLAUDE_CODE_SUBAGENT_MODEL": "kimi-k3"
  }
}

For K3.1 Pro, just swap in the official model ID kimi-k3.1-pro(for Highspeed, use kimi-k3.1-pro-highspeed). The model IDs come from the Kimi tech blog , which says "select kimi-k3.1-pro / kimi-k3.1-pro-highspeed":

json
"ANTHROPIC_MODEL": "kimi-k3.1-pro"
K3.1 Pro update: Our platform doesn't have K3.1 Pro yet, so using kimi-k3.1-pro will return the error described in the "model not found" section below. We'll update the test results here once it's live.

3. Switch with /model

After launching Claude Code, type /model to switch models. The config above points the default models for Sonnet, Opus, Haiku, and subagents all to kimi-k3, so after switching, or when Claude Code launches a subagent, it never lands on a model our platform doesn't have.

4. Verify the connection

Claude Code shows this prompt on startup:

text
Claude Code doesn't recognize the model "kimi-k3", so it assumes a context window of 200k tokens.

This is Claude Code's notice for non-Claude model IDs and doesn't affect calls. To verify, give it a small task and check the response.

Hands-on test: writing a function and running tests with kimi-k3 in Claude Code

This test used kimi-k3, not K3.1 Pro. It ran in the early morning of October 24 Beijing time, on Claude Code version 2.1.309, with the settings.json above.

Task: in an empty directory, write a Python function slugify(s)(lowercase, convert spaces and underscores to hyphens, strip other characters, collapse repeated hyphens, trim leading and trailing hyphens), then write unittest tests and run them.

Result:

  • It took about 72 seconds over 5 turns, and the model reported in the response was kimi-k3.
  • It generated slugify.py and test_slugify.py, with 8 test cases in total. We re-ran them locally and got Ran 8 tests ... OK.

The core code it generated:

python
def slugify(s):
    s = s.lower()
    s = re.sub(r"[\s_]", "-", s)
    s = re.sub(r"[^a-z0-9-]", "", s)
    s = re.sub(r"-{2,}", "-", s)
    return s.strip("-")

How to Choose Between K3.1 Pro and Highspeed

The only difference the official docs call out is speed: Highspeed "delivers 2-3× the speed of K3.1 Pro for more responsive interactions." They don't say whether the two differ in capability, so here's one way to choose:

  • Interactive code edits and frequent back-and-forth: Try Highspeed first for shorter wait times.
  • Long tasks, cross-file refactors, and long-running unattended jobs: Use K3.1 Pro, and compare the results of both on your own tasks before you decide.

For pricing, go by the official Kimi pricing page or this site's model list as displayed on the day you check.

Common Errors

401: Invalid Key

First check that ANTHROPIC_AUTH_TOKEN was pasted in full, has no extra spaces, and isn't overridden by an environment variable of the same name that takes precedence over settings.json. Restart Claude Code after making changes.

429: Too Many Requests

This usually means too many requests in a short time. Wait a moment and retry, or reduce the number of parallel tasks and subagents.

model not found: Model Does Not Exist

If you use a key from this site to request a model that isn't live yet, Claude Code actually outputs:

text
API Error: 400 {"error":"模型 kimi-k3.1-pro 不存在或未上线,请前往 https://aicodewith.ai/zh/dashboard/pricing 查看可用模型列表 (request_id: ...)"}

When that happens, change the model name back to kimi-k3, and check whether ANTHROPIC_DEFAULT_*_MODEL and CLAUDE_CODE_SUBAGENT_MODEL are also set to models that are available.

FAQ

What is the API model ID for Kimi K3.1 Pro?

The official IDs are kimi-k3.1-pro and kimi-k3.1-pro-highspeed.

Can I use K3.1 Pro on this site right now?

Not yet. This site currently supports kimi-k3, and this article will be updated once K3.1 Pro goes live.

Should the base URL include /v1?

In Claude Code, set ANTHROPIC_BASE_URL to https://api.aicodewith.ai, without /v1.

Is the "doesn't recognize the model" message at startup a problem?

No, it doesn't affect calls. It's just Claude Code's notice for non-Claude model IDs.

When will the open weights for K3.1 Pro be released?

From the official statement: "Full model weights will be released by Nov 4, 2026."

How do I connect Kimi to Codex?

See Connecting Kimi K3 to Codex.

Further Reading

Create an API Key → View Pricing →

相关文章

Does AI-built web design scream AI at first glance? Install Hallmark v2 for Claude Code / Codex to build pages from 48 themes and self-check them (tested with a third-party API Key)

Does AI-built web design scream AI at first glance? Install Hallmark v2 for Claude Code / Codex to build pages from 48 themes and self-check them (tested with a third-party API Key)

Why does AI-generated web design give itself away at a glance? Hallmark v2 is a web design skill for Claude Code and Codex: it first picks 3 of its 48 themes for you to choose from, lays out the page around the landing page's job, then self-checks in a real browser at 8 widths. In this post we test installation with this site's API Key, build a landing page for an expense-tracking app, and run /hallmark audit and /hallmark redesign, with before-and-after comparisons and timing for each step.

What's New in Codex CLI 0.164? /presets Prompt Presets, One-Line Reasoning Effort Switching with /model, Windows Corporate Proxy (Tested with a Third-Party Key)

What's New in Codex CLI 0.164? /presets Prompt Presets, One-Line Reasoning Effort Switching with /model, Windows Corporate Proxy (Tested with a Third-Party Key)

Codex CLI 0.164.0 adds /presets with 10 numbered slots, inline arguments for /model and /permissions, a fix so resume restores session settings, and Negotiate/NTLM authentication for Windows corporate proxies. This post quotes the official release notes to explain each change, then uses a third-party API Key and a custom provider to test cache hits and resume after switching reasoning effort with /presets and /model.

How to Use Claude Code MCP Tasks: Run Long Jobs in the Background, Confirm Mid-Task with Elicitations, Supported Since 2.1.304 (Tested with a Third-Party API Key)

How to Use Claude Code MCP Tasks: Run Long Jobs in the Background, Confirm Mid-Task with Elicitations, Supported Since 2.1.304 (Tested with a Third-Party API Key)

Claude Code v2.1.304 introduces MCP Tasks in public beta: the MCP server takes over a long job and runs it itself, so Claude doesn't have to wait, and remote tasks keep running after you exit. This post follows the official docs to explain the requirements for enabling it, how to use /tasks, the two variables for waiting on results, and how it differs from "calls over 2 minutes automatically move to the background." We also tested auto-backgrounding, /tasks, and Elicitation mid-task confirmation on v2.1.309 with a third-party API Key.