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 min read
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 →

Related articles

What is the UI SDK, and how do you use it? Vercel and shadcn's behavior library for agents, installed and tested in Claude Code / Codex / Cursor (0.1.0-beta.1)

What is the UI SDK, and how do you use it? Vercel and shadcn's behavior library for agents, installed and tested in Claude Code / Codex / Cursor (0.1.0-beta.1)

The UI SDK is Vercel's behavior library for agents, released on 12 November 2026 as 0.1.0-beta.1. Behaviors live in the framework-free @ui-sdk/core package and are rendered by adapters for React, Vue, Svelte, Solid, and Web Components. This guide follows the official docs on what it is, how to install it, and how to add the skill for Claude Code, Codex, and Cursor, and it records the commands, timings, and output from our test machine.

What Is AWS Emulator and How Do You Install It? Test AWS Apps Locally with Claude Code and Codex (Tested on 1.0.322)

What Is AWS Emulator and How Do You Install It? Test AWS Apps Locally with Claude Code and Codex (Tested on 1.0.322)

AWS Emulator is AWS's official local emulator of its service APIs, generally available since November 11, 2026 (US time). It has no additional service fee, its source is open, it needs no AWS account, and it covers more than 200 services. We tested version 1.0.322 on Debian 13. This guide covers the install commands, pointing the AWS CLI at the local endpoint to create an S3 bucket and a DynamoDB table, the errors we hit, and how to let Claude Code, Codex and Cursor write and test code against the emulator.

What Is T3 Code and How Do You Install It? Connect Claude Code and Codex, Use a Third-Party API Key, Fix Common Errors (Tested on 0.1.9)

What Is T3 Code and How Do You Install It? Connect Claude Code and Codex, Use a Third-Party API Key, Fix Common Errors (Tested on 0.1.9)

T3 Code is pingdotgg's open-source control surface for coding agents. It ships no model of its own; it drives the Claude Code, Codex, Cursor and other CLIs already on your machine. We tested T3 Code 0.1.9 on Linux. This guide covers the install commands, how to point Claude Code and Codex at an AICodeWith API Key so T3 Code can drive them, a full run of both agents with the t3 thread command, and the errors we hit along the way with their fixes.