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

Windsurf · LLMReleased 2026-08-13

How to Use Gemini 3.7 Flash in Windsurf

Gemini 3.7 Flash suits debugging, web development, and document-heavy tasks that take several steps. Google reports improvements over Gemini 3.6 Flash in software engineering, knowledge work, and web development.

Prompts to try with Gemini 3.7 Flash in Windsurf

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

Use Gemini 3.7 Flash to investigate the failing tests in this project. Trace the failure to the relevant code, make the smallest justified fix, and run the affected tests.

Gemini 3.7 FlashWindsurf
Try asking
  • Use Gemini 3.7 Flash to build a searchable table using this project's existing components. Include empty results, keyboard access, and a clear search reset; verify each behavior.

  • Use Gemini 3.7 Flash to review the current diff for behavior changes. Report each finding with its file, triggering conditions, and a concrete verification step.

  • Use Gemini 3.7 Flash to compare this project's README with its implementation. Fix instructions contradicted by the code and flag anything you cannot verify.

  • Use Gemini 3.7 Flash with high reasoning effort to investigate duplicate job execution in this project. Inspect retries and state transitions, propose a focused correction, and test the duplicate-delivery case.

How to set up Gemini 3.7 Flash 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 Gemini 3.7 Flash

    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": "vertex",
        "model": "google/gemini-3.7-flash",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

Then paste one of the prompts above: Windsurf finds Gemini 3.7 Flash on Spiral, shows the price and runs it.

Gemini 3.7 Flash providers and prices

Spiral runs Gemini 3.7 Flash through Vertex AI. Open a card for today's price, with every fee included.

Vertex AILLM
Gemini 3.7 Flash
google/gemini-3.7-flash

Settings you can ask for

Ask Windsurf for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number
Max tokens1 to 65536

The most output tokens to generate.

Reasoning effortlow, medium, or highmedium

How much the model reasons.

Every API field of Gemini 3.7 Flash is on its tool page: open its card above.

What can you do with Gemini 3.7 Flash in Windsurf?

Turn bug reports and feature briefs into code changes with Gemini 3.7 Flash. Have your coding agent inspect the relevant project files, make focused edits, and verify the requested behavior.

Investigate a failing feature

Ask Gemini 3.7 Flash to connect an error report with the relevant code, propose a focused fix, and identify how to verify it.

Build a web feature

Give Gemini 3.7 Flash a concrete feature brief with interaction rules and acceptance criteria. Ask for working code and a checklist of behaviors to test.

Compare lengthy reports

Have Gemini 3.7 Flash compare supplied reports, trace changed claims to their sources, and separate documented differences from interpretation.

Extract business records

Ask Gemini 3.7 Flash to turn supplied document text into structured records, using explicit rules for missing values and ambiguous entries.

Prepare an operations brief

Use Gemini 3.7 Flash to summarize supplied status updates into unresolved issues, dependencies, and proposed next actions with supporting evidence.

Review a training video

Ask Gemini 3.7 Flash to identify demonstrated steps and unclear instructions in a training recording. Keep video with audio under the approximate 45-minute limit.

Questions about Gemini 3.7 Flash in Windsurf

Can Windsurf use Gemini 3.7 Flash?

Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run Gemini 3.7 Flash like any built-in tool.

How much does Gemini 3.7 Flash cost in Windsurf?

Up to $0.040005 per run at the default inputs. $1.95 per 1M input tokens, $0.195 per 1M cached input tokens, $0.054166668 per 1M cache write tokens, $9.75 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 a Vertex AI account to use Gemini 3.7 Flash in Windsurf?

No. Spiral runs Gemini 3.7 Flash on its own Vertex AI account. You sign in to Spiral once and never paste a key.

How long does it take to set up Gemini 3.7 Flash in Windsurf?

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

Does Windsurf wait while Gemini 3.7 Flash runs?

Gemini 3.7 Flash runs in the background. Windsurf starts the run, checks on it and gives you the text, json when it's ready.

What is Gemini 3.7 Flash good at?

Coding, web development, and knowledge work are its main documented strengths. Use it for tasks such as investigating bugs, building web features, and comparing dense documents.

How much text can Gemini 3.7 Flash handle?

Google lists a 1,048,576-token context window and a maximum output of 65,536 tokens. Treat the output limit as a ceiling when planning long reports.

Can Gemini 3.7 Flash analyze long videos?

Yes. Google lists approximate limits of 45 minutes for video with audio and one hour for video without audio.

How should I prompt Gemini 3.7 Flash?

State the task, constraints, and required result directly. Include an example when you need a particular format, classification rule, or writing style.

Can Gemini 3.7 Flash return structured data?

Yes, it supports structured output with a response schema. This fits extraction and classification tasks where the result needs a predictable structure.

Get started

Start using Gemini 3.7 Flash 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