[Integrations](https://spiral.ai/integrations) › [goose](https://spiral.ai/integrations/goose) › [Kimi K2 0711](https://spiral.ai/integrations/goose/kimi-k2-0711)

# How to Use Kimi K2 0711 in goose

Use Kimi K2 0711 for code fixes, tool-based tasks, and text questions. Its documented 128K context window is half the size of Kimi K2 0905's.

|  |  |
| --- | --- |
| Model | Kimi K2 0711 |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.012274 per run at the default inputs. $0.741 per 1M input tokens, $2.99 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Kimi K2 0711 in goose

- Use Kimi K2 0711 to investigate the failing tests in this project. Reproduce one failure, make the smallest justified fix, and rerun the relevant tests.
- Use Kimi K2 0711 to refactor the duplicated validation logic in this repository. Preserve existing behavior and verify each change before moving to the next caller.
- Use Kimi K2 0711 to investigate why this project's analysis script produces different totals on repeated runs. Trace the calculation, test the suspected cause, and explain the verified fix.
- Ask Kimi K2 0711 through Spiral to review the diff on this branch and list the three riskiest changes. Save the result in ./assets.
- Get a second opinion from Kimi K2 0711 on this function, then tell me what the call cost.

## How to set up Kimi K2 0711 in goose

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the extension**: In goose Desktop, open the sidebar, click Extensions, then Add custom extension. Enter:

2. **Sign in**: When goose first connects to Spiral, your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key. If the browser does not open, goose prints the link to open yourself.

### Use the Spiral skill

1. **Send goose this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Kimi K2 0711**: One request; the result comes back by polling or a webhook.

```bash
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",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: goose finds Kimi K2 0711 on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/goose

## Kimi K2 0711 tools and prices

- [MoonshotAI: Kimi K2 0711](https://spiral.ai/tools/openrouter/moonshotai/kimi-k2) (OpenRouter): Up to $0.012274 per run at the default inputs. $0.741 per 1M input tokens, $2.99 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed |  | — |  |
| stop |  | — |  |
| tools |  | — |  |
| top_k | 0 to … | — |  |
| top_p | 0 to 1 | — |  |
| max_tokens | 1 to 98304 | — | The most output tokens to generate. |

## What can you do with Kimi K2 0711 in goose?

Turn a bug report into a tested patch with Kimi K2. Have your agent inspect the code, make one change, and use test results to guide revisions.

### Fix a reproducible bug

Provide the failing behavior and expected result. Ask for a small patch, run the relevant checks, and use the failures to guide revisions.

### Build a frontend feature

Describe the interface in text, including empty states and interactions. Implement one component at a time; Kimi K2 0905 has documented frontend improvements.

### Refactor existing code

Specify the behavior that must stay the same, make a bounded change, and compare test results before continuing.

### Develop a data analysis script

Ask for code that calculates a defined metric, inspect the execution results, and request an explanation tied to those results.

### Investigate a technical question

Set one question, gather relevant text through available tools, and ask for a brief that separates evidence from unresolved points.

### Draft English or Chinese responses

Supply the facts, audience, and desired language. Request a short draft with technical terms and names preserved.

### Prepare support replies

Have the agent retrieve the relevant policy or product information, then draft a reply based on the returned evidence.

### Turn a specification into tested code

Break the specification into observable behaviors. Implement and check each behavior before combining the pieces.

## Overview

- [OpenRouter](https://spiral.ai/providers/openrouter)
- [All goose guides](https://spiral.ai/integrations/goose)

## Kimi K2 0711 in other agents

- [Amp](https://spiral.ai/integrations/amp/kimi-k2-0711)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/kimi-k2-0711)
- [Claude](https://spiral.ai/integrations/claude-desktop/kimi-k2-0711)
- [Claude Code](https://spiral.ai/integrations/claude-code/kimi-k2-0711)
- [Cline](https://spiral.ai/integrations/cline/kimi-k2-0711)
- [Codex](https://spiral.ai/integrations/codex/kimi-k2-0711)
- [Cursor](https://spiral.ai/integrations/cursor/kimi-k2-0711)
- [Devin](https://spiral.ai/integrations/devin/kimi-k2-0711)
- [dots](https://spiral.ai/integrations/dots/kimi-k2-0711)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/kimi-k2-0711)
- [Gemini](https://spiral.ai/integrations/gemini/kimi-k2-0711)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/kimi-k2-0711)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/kimi-k2-0711)
- [Grok](https://spiral.ai/integrations/grok/kimi-k2-0711)
- [Grok Build](https://spiral.ai/integrations/grok-build/kimi-k2-0711)
- [Hermes](https://spiral.ai/integrations/hermes/kimi-k2-0711)
- [Instinct](https://spiral.ai/integrations/instinct/kimi-k2-0711)
- [Manus](https://spiral.ai/integrations/manus/kimi-k2-0711)
- [Muse](https://spiral.ai/integrations/muse/kimi-k2-0711)
- [Muse Code](https://spiral.ai/integrations/muse-code/kimi-k2-0711)
- [n8n](https://spiral.ai/integrations/n8n/kimi-k2-0711)
- [Notion](https://spiral.ai/integrations/notion/kimi-k2-0711)
- [OpenClaw](https://spiral.ai/integrations/openclaw/kimi-k2-0711)
- [opencode](https://spiral.ai/integrations/opencode/kimi-k2-0711)
- [Perplexity](https://spiral.ai/integrations/perplexity/kimi-k2-0711)
- [Raycast](https://spiral.ai/integrations/raycast/kimi-k2-0711)
- [VS Code](https://spiral.ai/integrations/vscode/kimi-k2-0711)
- [Windsurf](https://spiral.ai/integrations/windsurf/kimi-k2-0711)
- [Zapier](https://spiral.ai/integrations/zapier/kimi-k2-0711)

## More goose guides

- [Inkling Small (batch)](https://spiral.ai/integrations/goose/inkling-small-batch)
- [Kimi K2 0905](https://spiral.ai/integrations/goose/kimi-k2-0905)
- [Inkling Small](https://spiral.ai/integrations/goose/inkling-small)
- [Kimi K2 Thinking](https://spiral.ai/integrations/goose/kimi-k2-thinking)
- [Inkling 2 Small](https://spiral.ai/integrations/goose/inkling-2-small)
- [Kimi K2.5](https://spiral.ai/integrations/goose/kimi-k2-5)

## Questions about Kimi K2 0711 in goose

**Can goose use Kimi K2 0711?**

Yes. Add Spiral to goose as an MCP server, and goose can find and run Kimi K2 0711 like any built-in tool.

**How much does Kimi K2 0711 cost in goose?**

Up to $0.012274 per run at the default inputs. $0.741 per 1M input tokens, $2.99 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your goose plan is separate.

**Do I need an OpenRouter account to use Kimi K2 0711 in goose?**

No. Spiral runs Kimi K2 0711 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 0711 in goose?**

About two minutes: add the extension, then sign in.

**Does goose wait while Kimi K2 0711 runs?**

Kimi K2 0711 runs in the background. goose starts the run, checks on it and gives you the text, json when it's ready.

**What is Kimi K2 good for?**

Coding, tool-assisted problem solving, and text questions are useful starting points. For software work, ask for a change, test it, and return the results for another pass.

**Can Kimi K2 understand screenshots or images?**

Kimi K2 does not support native vision. Provide extracted text or a written description when asking about visual material.

**Does Kimi K2 use extended thinking?**

Kimi K2 0711 and Kimi K2 0905 are non-thinking models. They can solve reasoning tasks, but they do not provide the extended thinking behavior of Kimi K2 Thinking.

**What temperature should I start with?**

Moonshot recommends 0.6 for Kimi K2 0711 and Kimi K2 0905. Use that as a starting point, then compare results on your actual task.

**How should I prompt Kimi K2 for coding?**

Give it a specific behavior to change and a way to check success. For larger projects, work through small changes with test feedback instead of requesting the entire application in one answer.

