Spiral gives your agent every tool with one account. Browse the tools →

Windsurf · LLMReleased 2025-10-15

How to Use Claude Haiku 4.5 in Windsurf

Claude Haiku 4.5 suits focused coding, quick support replies, and parallel subtasks. Anthropic reports coding performance similar to Claude Sonnet 4, with more than twice the speed.

Prompts to try with Claude Haiku 4.5 in Windsurf

Copy an example into Windsurf, or ask in your own words.

Use Claude Haiku 4.5 to investigate the failing test in this project. Explain the cause, make the smallest fix that restores the expected behavior, and run the relevant tests.

Claude Haiku 4.5Windsurf
Try asking
  • Use Claude Haiku 4.5 to add keyboard submission to the search form in this project. Preserve existing mouse behavior, prevent empty searches, and verify both paths.

  • Use Claude Haiku 4.5 to refactor the duplicated validation logic in this project into one shared function. Preserve existing behavior and run the affected tests.

  • Use Claude Haiku 4.5 to review this project's diff for incorrect boundary handling. Report each finding with a file location, a concrete failing input, and a proposed correction.

  • Use Claude Haiku 4.5 to implement the next bounded task in this project's written plan. Follow its acceptance criteria, test the change, and report what remains unresolved.

How to set up Claude Haiku 4.5 in Windsurf

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

Use Spiral's MCP server

  1. 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"
        }
      }
    }
  2. 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
  3. Check it

    Spiral is listed under This computer in Customize › MCPs. From the terminal:

    devin mcp list

Use the Spiral skill

  1. Send Windsurf 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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Claude Haiku 4.5

    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": "anthropic",
        "model": "anthropic/claude-haiku-4.5",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

Then paste one of the prompts above: Windsurf finds Claude Haiku 4.5 on Spiral, shows the price and runs it.

Claude Haiku 4.5 providers and prices

Spiral runs Claude Haiku 4.5 through Anthropic. Open a card for today's price, with every fee included.

AnthropicLLM
Claude Haiku 4.5
anthropic/claude-haiku-4.5

Settings you can ask for

Ask Windsurf for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Top p0 to 1
Max tokens1 to 64000

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).

Temperature0 to 1
Parallel tool callson or off

Every API field of Claude Haiku 4.5 is on its tool page: open its card above.

What can you do with Claude Haiku 4.5 in Windsurf?

Claude Haiku 4.5 can turn a defined bug or small feature into a patch you can test. Give it the relevant project files, expected behavior, and a clear stopping point.

Fix a specific bug

Give Claude Haiku 4.5 a reproducible failure and expected behavior. Ask for a focused patch and a regression check.

Prototype a small feature

Use Claude Haiku 4.5 to implement one defined interaction, such as form validation, with explicit acceptance criteria.

Draft support replies

Provide the customer's question and relevant policy text. Request a short answer that quotes the policy and flags missing information.

Prepare a daily digest

Turn supplied updates into decisions, blockers, and next actions. Require a source reference for each item.

Translate support messages

Specify the source language, target language, and terms to preserve. Review the result against your terminology guide.

Extract details from text

Request dates, owners, and commitments from supplied correspondence. Include an output example and require null for missing details.

Answer questions from reference text

Supply the relevant documentation and require supporting quotes. Ask Claude Haiku 4.5 to say when the text does not answer the question.

Delegate a bounded coding task

Assign one defined change from a larger implementation plan, with its scope and completion criteria written out.

Claude Haiku 4.5 success rate and speed on Spiral

Success and speed over the last 24 hours, across every run of these tools on Spiral.

Success rate
100.0%
Fastest median run time
799ms
Runs, last 24 hours
10,074
ToolSuccessMedian timeRuns
Claude Haiku 4.5100.0%799ms10,074

Questions about Claude Haiku 4.5 in Windsurf

Can Windsurf use Claude Haiku 4.5?

Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run Claude Haiku 4.5 like any built-in tool.

How much does Claude Haiku 4.5 cost in Windsurf?

Up to $0.026715 per run at the default inputs. $1.30 per 1M input tokens, $0.13 per 1M cached input tokens, $1.625 per 1M cache write tokens, $2.60 per 1M 1-hour cache write tokens, $6.50 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 Anthropic account to use Claude Haiku 4.5 in Windsurf?

No. Spiral runs Claude Haiku 4.5 on its own Anthropic account. You sign in to Spiral once and never paste a key.

How long does it take to set up Claude Haiku 4.5 in Windsurf?

About two minutes: add the server, then sign in, then check it.

Does Windsurf wait while Claude Haiku 4.5 runs?

Claude Haiku 4.5 runs in the background. Windsurf starts the run, checks on it and gives you the text, json when it's ready.

What is Claude Haiku 4.5 good at?

Claude Haiku 4.5 is a practical choice for focused coding, pair programming, and short customer support exchanges. Anthropic reports coding performance similar to Claude Sonnet 4, with more than twice the speed.

How much text can Claude Haiku 4.5 handle?

Claude Haiku 4.5 has a 200,000-token context window and can generate up to 64,000 output tokens. Treat those as limits, and request the length your task needs.

Does Claude Haiku 4.5 know about recent events?

Its reliable knowledge cutoff is February 2025. For later events, supply current source material and ask it to base its answer on that evidence.

Can Claude Haiku 4.5 work in languages other than English?

Yes. Name the source and target languages explicitly, and test the language pairs and terminology your task needs.

How should I prompt Claude Haiku 4.5?

State the task, constraints, and required output format directly. Add representative examples when consistent formatting or tone matters.

Get started

Start using Claude Haiku 4.5 in Windsurf

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Windsurf:

Set up Windsurf

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options