How to Use Kimi Latest in Claude Code
Use Kimi Latest for large-codebase work, research synthesis, and tasks that need several tool calls. Unlike the fixed Kimi K3 name, it follows a changing model target, currently Kimi K3.
Prompts to try with Kimi Latest in Claude Code
Copy an example into Claude Code, or ask in your own words.
Use Kimi Latest to trace the failing test through this repository, reproduce the failure, and make the smallest repair. Change only code needed for that failure and report the test result.
Use Kimi Latest to map the authentication flow across this project's files. Produce a dependency map and identify three places where error handling needs investigation, with file and line references.
Use Kimi Latest to plan a staged refactor of the data-access layer. Read the existing interfaces and tests, preserve public behavior, and give acceptance checks for each stage before editing.
Use Kimi Latest to compare the implementation in this repository with the equations in its research notes. List mismatches, propose validation cases, and separate confirmed errors from uncertain interpretations.
Use Kimi Latest to investigate this project's slowest benchmark. Profile before proposing changes, modify only the measured bottleneck, and report before-and-after results with correctness checks.
How to set up Kimi Latest in Claude Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
This adds Spiral to the current project. Add --scope user to use it in every project.
claude mcp add --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.
Use the Spiral skill
- Send Claude Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Kimi Latest
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "openrouter", "model": "~moonshotai/kimi-latest", "input": { "messages": [ { "role": "system" } ] } }'
Then paste one of the prompts above: Claude Code finds Kimi Latest on Spiral, shows the price and runs it.
Kimi Latest providers and prices
Spiral runs Kimi Latest through OpenRouter. Open a card for today's price, with every fee included.
Up to $0.058611 per run at the default inputs. $0.23465 per 1M input tokens, $14.30715 per 1M output tokens.
Settings you can ask for
Ask Claude Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Seed | a whole number | ||
| Min p | 0 to 1 | ||
| Top k | a whole number from 0 | ||
| Top p | 0 to 1 | ||
| Logprobs | on or off | ||
| Max tokens | 1 to 943718 | The most output tokens to generate. On a reasoning model the reasoning tokens count toward it: a cap too low for the effort can end with no answer (finish_reason length). | |
| Temperature | 0 to 2 | ||
| Top logprobs | 0 to 20 | ||
| Presence penalty | -2 to 2 | ||
| Reasoning effort | none, low, high, or max | max | How much the model reasons. |
| Frequency penalty | -2 to 2 | ||
| Repetition penalty | 0 to 2 |
Every API field of MoonshotAI: Kimi Latest is on its tool page: open its card above.
What can you do with Kimi Latest in Claude Code?
Kimi Latest can help carry an engineering task across a large repository, from tracing dependencies to checking a repair. Define the files and behavior in scope so its current Kimi K3 target has clear boundaries.
Fix bugs across a large repository
Ask Kimi Latest to trace a failure through the relevant code, reproduce it, and propose a focused repair. Specify the permitted scope and require test evidence.
Plan a cross-module refactor
Have Kimi Latest map dependencies and propose a staged refactor with acceptance checks. Define the behavior that each stage must preserve.
Turn research methods into code
Give Kimi Latest a paper's methods and equations as text, then request an implementation plan, executable code, and checks against the reported results.
Compare competing proposals
Supply proposal text and ask Kimi Latest to compare scope, assumptions, exclusions, and unanswered questions. Require supporting passages for each conclusion.
Prepare a research brief
Have Kimi Latest synthesize retrieved sources into a concise brief with dated evidence, disagreements, and open questions. Define the audience and decision the brief must support.
Explain Chinese and English material
Use Kimi Latest to explain supplied Chinese material in English, or English material in Chinese. Provide a terminology list and ask it to flag ambiguous passages.
Review operational incidents
Give Kimi Latest incident timelines, log excerpts, and investigation notes as text. Ask for a causal hypothesis, conflicting evidence, and the next checks to run.
Answer questions from reference material
Supply relevant policy or product documentation as text and ask Kimi Latest to answer with section references. Require it to identify questions the material does not resolve.
More on Kimi Latest and Claude Code
Overview
Kimi Latest in other agents
More Claude Code guides
Questions about Kimi Latest in Claude Code
Can Claude Code use Kimi Latest?
Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Kimi Latest like any built-in tool.
How much does Kimi Latest cost in Claude Code?
Up to $0.058611 per run at the default inputs. $0.23712 per 1M input tokens, $14.30715 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.
Do I need an OpenRouter account to use Kimi Latest in Claude Code?
No. Spiral runs Kimi Latest on its own OpenRouter account. You sign in to Spiral once and never paste a key.
How long does it take to set up Kimi Latest in Claude Code?
About two minutes: add the hosted server, then sign in.
Does Claude Code wait while Kimi Latest runs?
Kimi Latest runs in the background. Claude Code starts the run, checks on it and gives you the text, json when it's ready.
Does Kimi Latest always mean the same model?
No. Its target can change, and the current listing points to Kimi K3. Treat saved prompts as something to recheck when the target changes.
What is Kimi Latest best suited for?
With its current Kimi K3 target, it suits sustained coding tasks, research synthesis, and knowledge work that takes several steps. Give it a concrete deliverable and a clear definition of done.
How much context can Kimi Latest handle?
The alias can reach a 1,048,576-token context window, but the actual limit depends on its target. Use that capacity for relevant evidence, and ask for a bounded answer such as a comparison table or a short decision memo.
Can Kimi Latest answer questions about today's events?
Give it current source material or have the agent retrieve it first. Kimi's training knowledge alone cannot reliably answer time-sensitive questions.
Which languages are a sensible starting point?
Chinese and English are explicitly highlighted in Moonshot's example instructions. For bilingual work, specify the output language and supply a glossary for names and technical terms.
Start using Kimi Latest in Claude Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Claude Code:
set up https://spiral.ai/SKILL.md


