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

ChatGPT · LLMReleased 2026-02-19

How to Use Gemini 3.1 Pro Preview in ChatGPT

Gemini 3.1 Pro Preview suits complex coding, document synthesis, and tasks that require several reasoning steps. Its 1,048,576-token input limit makes it useful for examining large bodies of related material together.

Prompts to try with Gemini 3.1 Pro Preview in ChatGPT

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

Use Gemini 3.1 Pro Preview to compare the two proposals pasted above. Return a table of requirements met, missing evidence, and unresolved tradeoffs, with a supporting passage for each row.

Gemini 3.1 Pro PreviewChatGPT
Try asking
  • Use Gemini 3.1 Pro Preview to synthesize the research excerpts above into a 600-word brief. Separate agreed findings, disagreements, and questions the excerpts cannot answer.

  • Use Gemini 3.1 Pro Preview to explain the algorithm described above to a junior developer. Include a worked example, time and memory complexity, and three edge cases.

  • Use Gemini 3.1 Pro Preview to extract decisions, owners, and deadlines from the meeting transcript above. Return a table and write 'not stated' wherever the transcript omits a value.

  • Use Gemini 3.1 Pro Preview to write an animated SVG showing a cache hit and a cache miss. Label the browser, cache, and server, and make the full sequence last eight seconds.

How to set up Gemini 3.1 Pro Preview in ChatGPT

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

Use the ChatGPT connector

  1. Add a custom MCP server

    In ChatGPT open Plugins, then Add › Add custom MCP server. Name it Spiral, paste this URL and keep Authentication on OAuth. Tick I understand and want to continue, then click Create.

    https://api.spiral.ai/mcp
  2. Click Connect

    ChatGPT asks to connect Spiral. Connect takes you to Spiral in your browser.

  3. Sign in to Spiral and approve

    Sign in, pick the organization ChatGPT should use and click Authorize. Spiral gives the connection its own API key; ChatGPT never sees it, and you can remove the connection under Settings › Connected apps.

Use the Spiral skill

  1. Send ChatGPT 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.1 Pro Preview

    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.1-pro-preview",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

Then paste one of the prompts above: ChatGPT finds Gemini 3.1 Pro Preview on Spiral, shows the price and runs it.

Gemini 3.1 Pro Preview providers and prices

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

Vertex AILLM
Gemini 3.1 Pro Preview
google/gemini-3.1-pro-preview

Settings you can ask for

Ask ChatGPT for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number
Top p0 to 1
Max tokens1 to 65536

The most output tokens to generate.

Temperature0 to 2
Presence penaltya number from -2
Reasoning effortlow, medium, or highhigh

How much the model reasons.

Frequency penaltya number from -2

Every API field of Gemini 3.1 Pro Preview is on its tool page: open its card above.

What can you do with Gemini 3.1 Pro Preview in ChatGPT?

Gemini 3.1 Pro can turn lengthy source material into a comparison, explanation, or decision brief. Supply the evidence in the conversation and ask for supporting passages alongside the conclusions.

Trace bugs across a codebase

Use Gemini 3.1 Pro Preview to follow a failing behavior through related modules, propose a focused fix, and identify tests that would confirm it.

Plan a software migration

Compare existing code with supplied migration documentation. Ask for dependencies, likely breaking changes, and a staged implementation plan.

Compare lengthy specifications

Review several specifications together to identify conflicting requirements, missing definitions, and decisions that need an owner.

Build an evidence-based research brief

Synthesize supplied source text into findings, disagreements, and unanswered questions. Require a supporting passage for each finding.

Extract records from unstructured text

Turn support messages or operational notes into structured records. Define how missing values should appear and validate the extracted values against the source.

Develop and compare algorithms

Describe the constraints and representative inputs, then ask for candidate algorithms, complexity analysis, and edge cases to test.

Create animated SVG explanations

Generate an animated SVG that explains a process, such as a queue draining or a request passing through a cache. Specify labels, timing, and the intended audience.

Summarize recurring operational changes

Compare supplied current and previous reports to produce a brief of new issues, resolved issues, and contradictions that need review.

Questions about Gemini 3.1 Pro Preview in ChatGPT

Can ChatGPT use Gemini 3.1 Pro Preview?

Yes. Add Spiral to ChatGPT as an MCP server, and ChatGPT can find and run Gemini 3.1 Pro Preview like any built-in tool.

How much does Gemini 3.1 Pro Preview cost in ChatGPT?

Up to $0.063989 per run at the default inputs. $2.60 per 1M input tokens, $0.26 per 1M cached input tokens, $0.4875 per 1M cache write tokens, $15.60 per 1M output tokens; for a prompt above 200,000 tokens, $5.20 per 1M input tokens, $0.52 per 1M cached input tokens, $0.975 per 1M cache write tokens, $23.40 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your ChatGPT plan is separate.

Do I need a Vertex AI account to use Gemini 3.1 Pro Preview in ChatGPT?

No. Spiral runs Gemini 3.1 Pro Preview 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.1 Pro Preview in ChatGPT?

About two minutes: add a custom MCP server, then click Connect, then sign in to Spiral and approve.

Does ChatGPT wait while Gemini 3.1 Pro Preview runs?

Gemini 3.1 Pro Preview runs in the background. ChatGPT starts the run, checks on it and gives you the text, json when it's ready.

What is Gemini 3.1 Pro best suited for?

Use it for complex coding, algorithm development, and questions that require comparing substantial supporting material. Give it the relevant evidence and define the result you need.

How much can Gemini 3.1 Pro read and write?

Gemini 3.1 Pro Preview accepts up to 1,048,576 input tokens and generates up to 65,536 output tokens. Treat these as token limits, not fixed page or word counts.

Will Gemini 3.1 Pro find every detail in a long document?

A large context window does not guarantee complete recall. Google reports lower retrieval accuracy when a request asks for multiple specific details, so ask focused questions and verify the cited passages.

How should I structure a long prompt?

Put the supporting material first and your question at the end. Ask for a concrete deliverable, such as a comparison table with evidence for each conclusion.

Should I lower the temperature for analytical work?

Start with the default sampling settings. Google warns that changing these defaults on earlier Gemini 3 models can degrade reasoning performance.

Get started

Start using Gemini 3.1 Pro Preview in ChatGPT

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

Paste this into ChatGPT:

Set up ChatGPT

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