[Integrations](https://spiral.ai/integrations) › [Cline](https://spiral.ai/integrations/cline) › [Gemini 3.7 Flash](https://spiral.ai/integrations/cline/gemini-3-7-flash)

# How to Use Gemini 3.7 Flash in Cline

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.

|  |  |
| --- | --- |
| Model | Gemini 3.7 Flash |
| Available through | Vertex AI |
| Category | LLM |
| Price | 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. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Gemini 3.7 Flash in Cline

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

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

### Use Spiral's MCP server

1. **Add the server**: In the Cline panel, click the MCP Servers icon and open the Remote Servers tab. Enter:

```bash
cline mcp add spiral https://api.spiral.ai/mcp --transport http --yes
```

2. **Sign in**: Open the Configure tab and click Authenticate on the Spiral server. Sign in to Spiral, pick the organization and click Authorize. No API key.

3. **Check it**: Spiral shows as connected on the Configure tab. In the CLI:

```bash
cline config mcp
```

### Use the Spiral skill

1. **Send Cline 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 Gemini 3.7 Flash**: 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": "vertex",
    "model": "google/gemini-3.7-flash",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

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

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

## Gemini 3.7 Flash tools and prices

- [Gemini 3.7 Flash](https://spiral.ai/tools/vertex/google/gemini-3.7-flash) (Vertex AI): 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.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed |  | — |  |
| stop |  | — |  |
| tools |  | — |  |
| reasoning |  | — | Reasoning effort; reasoning tokens count toward max_tokens. |
| max_tokens | 1 to 65536 | — | The most output tokens to generate. |
| tool_choice |  | — |  |

## What can you do with Gemini 3.7 Flash in Cline?

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.

## Overview

- [Google Vertex AI](https://spiral.ai/providers/vertex)
- [All Cline guides](https://spiral.ai/integrations/cline)

## Gemini 3.7 Flash in other agents

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

## More Cline guides

- [Gemini 3.5 Flash-Lite](https://spiral.ai/integrations/cline/gemini-3-5-flash-lite)
- [Gemini 3.8 Flash](https://spiral.ai/integrations/cline/gemini-3-8-flash)
- [Gemini 3.5 Flash](https://spiral.ai/integrations/cline/gemini-3-5-flash)
- [Gemini 4 Argon](https://spiral.ai/integrations/cline/gemini-4-argon)
- [Gemini 3.1 Pro Preview](https://spiral.ai/integrations/cline/gemini-3-1-pro-preview)
- [Gemini 4 Carbon](https://spiral.ai/integrations/cline/gemini-4-carbon)

## Questions about Gemini 3.7 Flash in Cline

**Can Cline use Gemini 3.7 Flash?**

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

**How much does Gemini 3.7 Flash cost in Cline?**

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 Cline plan is separate.

**Do I need a Vertex AI account to use Gemini 3.7 Flash in Cline?**

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 Cline?**

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

**Does Cline wait while Gemini 3.7 Flash runs?**

Gemini 3.7 Flash runs in the background. Cline 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.

