How to Use Kimi K2.6 in Windsurf
Kimi K2.6 suits extended coding jobs, interface building, and research that takes several tool calls. Moonshot reports stronger end-to-end coding results than Kimi K2.5, including work in Rust, Go, and Python.
Prompts to try with Kimi K2.6 in Windsurf
Copy an example into Windsurf, or ask in your own words.
Use Kimi K2.6 to investigate the failing tests in this repository. Trace the cause, make a focused fix, run the relevant tests, and report any remaining failures.
Use Kimi K2.6 to profile this project's slowest request path. Record a baseline, change one bottleneck at a time, and report measured results.
Use Kimi K2.6 to build a searchable, sortable table using this project's existing components. Include loading, empty, and error states, then check keyboard navigation.
Use Kimi K2.6 to review the Go service's cancellation handling. Trace request contexts through downstream calls, fix leaks, and verify cancellation behavior.
Use Kimi K2.6 to add session history to this application using its existing database patterns. Include creation, listing, and deletion, then verify the complete workflow.
How to set up Kimi K2.6 in Windsurf
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: ~/.config/devin/mcp_config.json on macOS and Linux, %APPDATA%\devin\mcp_config.json on Windows. Add this:
{ "mcpServers": { "spiral": { "url": "https://api.spiral.ai/mcp" } } } - Sign in
Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.
devin mcp login spiral
- Check it
Spiral is listed under This computer in Customize › MCPs. From the terminal:
devin mcp list
Use the Spiral skill
- Send Windsurf 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 K2.6
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-k2.6", "input": { "messages": [ { "role": "system" } ] } }'
Then paste one of the prompts above: Windsurf finds Kimi K2.6 on Spiral, shows the price and runs it.
Kimi K2.6 providers and prices
Spiral runs Kimi K2.6 through OpenRouter. Open a card for today's price, with every fee included.
Up to $0.018189 per run at the default inputs. $0.845 per 1M input tokens, $4.433 per 1M output tokens.
Settings you can ask for
Ask Windsurf 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 235929 | The most output tokens to generate. | |
| Temperature | 0 to 2 | ||
| Top logprobs | 0 to 20 | ||
| Presence penalty | -2 to 2 | ||
| Frequency penalty | -2 to 2 | ||
| Repetition penalty | 0 to 2 | ||
| Parallel tool calls | on or off |
Every API field of MoonshotAI: Kimi K2.6 is on its tool page: open its card above.
What can you do with Kimi K2.6 in Windsurf?
Kimi K2.6 can carry a coding task through investigation, implementation, and checks across a project. Use it for bugs spanning several modules, performance work, or interfaces with specific interactions.
Fix a bug across several modules
Use Kimi K2.6 to trace a failing behavior through related code, implement a focused fix, and run the relevant checks.
Investigate a performance bottleneck
Ask Kimi K2.6 to examine profiling evidence, propose a measurable change, and compare results before and after.
Build an interactive interface
Give Kimi K2.6 a written brief covering layout, interactions, and acceptance criteria for a working frontend.
Prototype a lightweight web application
Use Kimi K2.6 for a small workflow with user interactions and database operations, such as session tracking or transaction logging.
Prepare a sourced research comparison
Have Kimi K2.6 combine retrieved evidence into a comparison that links each conclusion to its source.
Triage recurring operational alerts
Use Kimi K2.6 to examine monitoring results, investigate related signals, and produce an incident brief with unresolved questions.
Extract structured research notes
Ask Kimi K2.6 for a bounded JSON object containing findings, evidence, and missing information, with an example defining the format.
More on Kimi K2.6 and Windsurf
Overview
Kimi K2.6 in other agents
More Windsurf guides
Questions about Kimi K2.6 in Windsurf
Can Windsurf use Kimi K2.6?
Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run Kimi K2.6 like any built-in tool.
How much does Kimi K2.6 cost in Windsurf?
Up to $0.018189 per run at the default inputs. $0.845 per 1M input tokens, $4.433 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Windsurf plan is separate.
Do I need an OpenRouter account to use Kimi K2.6 in Windsurf?
No. Spiral runs Kimi K2.6 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 K2.6 in Windsurf?
About two minutes: add the server, then sign in, then check it.
Does Windsurf wait while Kimi K2.6 runs?
Kimi K2.6 runs in the background. Windsurf starts the run, checks on it and gives you the text, json when it's ready.
What is Kimi K2.6 good at?
Extended coding tasks, frontend interfaces, and work that requires repeated reasoning and tool calls. Moonshot also demonstrates research and persistent monitoring workflows.
How much context can Kimi K2.6 handle?
Its documented context window is 262,144 tokens. Treat that as a context limit, rather than a promise about the length of a single answer.
Which programming languages does Kimi K2.6 handle?
Moonshot specifically highlights Rust, Go, and Python. Its examples span frontend development, DevOps, and performance optimization.
Where does Kimi K2.6 need checking?
Difficult reasoning still needs verification. Moonshot reports 36.4% accuracy without tools and 55.5% with tools on the text-only subset of Humanity's Last Exam, so ask for supporting evidence and check consequential conclusions.
What sampling settings does Moonshot recommend?
Moonshot recommends temperature 1.0 with Thinking mode and 0.6 with Instant mode, plus top-p 0.95. These are fixed values on Moonshot's own API.
Start using Kimi K2.6 in Windsurf
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Windsurf:
set up https://spiral.ai/SKILL.md


