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

Gemini CLI · LLMReleased 2026-09-22

How to Use GPT-6 Luna Pro in Gemini CLI

GPT-6 Luna Pro suits difficult questions that benefit from extra model work. It uses the same underlying model as Luna, served with pro reasoning for higher-quality responses on complex tasks.

Prompts to try with GPT-6 Luna Pro in Gemini CLI

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

Use GPT-6 Luna Pro to investigate this intermittent transaction failure. Compare competing causes against the logs and code, then propose a reproducible test.

GPT-6 Luna ProGemini CLI
Try asking
  • Ask GPT-6 Luna Pro through Spiral to review the diff on this branch and list the three riskiest changes. Save the result in ./assets.

  • Get a second opinion from GPT-6 Luna Pro on this function, then tell me what the call cost.

  • Summarize these release notes with GPT-6 Luna Pro in five bullet points.

  • Ask GPT-6 Luna Pro to write unit tests for the file I have open and explain each case.

How to set up GPT-6 Luna Pro in Gemini CLI

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

Use Spiral's MCP server

  1. Add the server

    Or add it to ~/.gemini/settings.json yourself:

    gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start gemini and run:

    /mcp auth spiral
  3. Check it

    In Gemini CLI, run /mcp. From your shell:

    gemini mcp list

Use the Spiral skill

  1. Send Gemini CLI 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 GPT-6 Luna Pro

    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": "openrouter",
        "model": "openai/gpt-6-luna-pro",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

Then paste one of the prompts above: Gemini CLI finds GPT-6 Luna Pro on Spiral, shows the price and runs it.

GPT-6 Luna Pro providers and prices

Spiral runs GPT-6 Luna Pro through OpenRouter. Open a card for today's price, with every fee included.

OpenRouterLLM
OpenAI: GPT-6 Luna Pro
openai/gpt-6-luna-pro

Settings you can ask for

Ask Gemini CLI for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number
Max tokens1 to 128000

The most output tokens to generate.

Reasoning effortnone, low, medium, high, xhigh, or maxmedium

How much the model reasons.

Every API field of OpenAI: GPT-6 Luna Pro is on its tool page: open its card above.

What can you do with GPT-6 Luna Pro in Gemini CLI?

Turn project files into focused explanations, patches, and testable debugging hypotheses. Use Luna for bounded tasks and Luna Pro when the problem needs closer examination.

Extract facts from repeated documents

Use Luna to pull dates, commitments, and named parties from a set of documents. Request a supporting passage for each extracted item and mark missing information explicitly.

Turn long material into a focused brief

Ask Luna to summarize decisions, unresolved questions, and next actions. Specify the audience and a word limit so the result answers a concrete need.

Investigate a difficult software defect

Use Luna Pro to examine competing explanations for a failing test. Request a reproducible case, a proposed fix, and evidence that distinguishes the explanations.

Review a complicated plan

Ask Luna Pro to inspect a migration or rollout plan for conflicting assumptions, missing dependencies, and failure cases. Require each finding to reference the supplied plan.

Read information from an image

Give Luna an image containing useful text or visual information. Ask for a bounded extraction and have it flag anything it cannot read confidently.

Prepare recurring operational summaries

Have a scheduled agent send Luna the latest updates and request a short summary of changes, unresolved issues, and questions requiring human attention.

Questions about GPT-6 Luna Pro in Gemini CLI

Can Gemini CLI use GPT-6 Luna Pro?

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run GPT-6 Luna Pro like any built-in tool.

How much does GPT-6 Luna Pro cost in Gemini CLI?

Up to $0.002668 per run at the default inputs. $0.13 per 1M input tokens, $0.65 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.

Do I need an OpenRouter account to use GPT-6 Luna Pro in Gemini CLI?

No. Spiral runs GPT-6 Luna Pro on its own OpenRouter account. You sign in to Spiral once and never paste a key.

How long does it take to set up GPT-6 Luna Pro in Gemini CLI?

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

Does Gemini CLI wait while GPT-6 Luna Pro runs?

GPT-6 Luna Pro runs in the background. Gemini CLI starts the run, checks on it and gives you the text, json when it's ready.

What is GPT-6 Luna best used for?

Start with repeatable work: document summaries, extracting information, and answering focused questions. It also produces code and can tackle software engineering tasks.

How is GPT-6 Luna Pro different from Luna?

Both use the same underlying model. Luna Pro enables pro reasoning for complex tasks, making it a candidate for difficult debugging or reviewing a complicated plan.

How much text can GPT-6 Luna handle and generate?

Luna has a 1,050,000-token context window and a maximum output of 128,000 tokens. Reasoning also consumes the generation budget, so leave room for it when requesting a long answer.

Can GPT-6 Luna understand images?

Yes. It accepts images and text and produces text, including code, so you can ask it to extract information from an image or explain what it shows.

How should I prompt GPT-6 Luna?

Give it a clear task, the relevant source material, and a specific definition of a successful answer. OpenAI recommends brief, direct instructions for reasoning models; asking for step-by-step internal reasoning is unnecessary.

Get started

Start using GPT-6 Luna Pro in Gemini CLI

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

Paste this into Gemini CLI:

Set up Gemini CLI

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