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

# How to Use Gemini 3.7 Flash in Grok

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 Grok

- Use Gemini 3.7 Flash to compare the two reports I supplied. List changed figures and conclusions, cite the relevant passages, and flag comparisons that use different definitions.
- Use Gemini 3.7 Flash to explain the code pasted above. Describe its inputs, outputs, and failure cases, then suggest three concrete checks.
- Use Gemini 3.7 Flash to extract decisions and action items from the meeting transcript above. Include owners and deadlines only when stated, and quote the evidence.
- Use Gemini 3.7 Flash to review this 20-minute training video with audio. Produce a timestamped procedure and identify steps that need clearer instructions.
- Use Gemini 3.7 Flash with high thinking effort to compare the proposals above against my stated requirements. Show the supporting evidence for each judgment and list unanswered questions.

## How to set up Gemini 3.7 Flash in Grok

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

### Use the Grok connector

1. **Add a custom connector**: In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

3. **Check that it is connected**: Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

### Use the Spiral skill

1. **Send Grok 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: Grok finds Gemini 3.7 Flash on Spiral, shows the price and runs it.

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

## 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 Grok?

Turn dense material into comparisons, explanations, and structured records with Gemini 3.7 Flash. Supply the evidence and specify the result you need, including how to handle missing information.

### 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 Grok guides](https://spiral.ai/integrations/grok)

## 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)
- [Cline](https://spiral.ai/integrations/cline/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 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 Grok guides

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

## Questions about Gemini 3.7 Flash in Grok

**Can Grok use Gemini 3.7 Flash?**

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

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

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

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

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

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

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

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

