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

Grok · LLMReleased 2026-09-22

How to Use GPT-6 Luna in Grok

GPT-6 Luna suits repeatable document summaries, information extraction, and focused coding tasks. Choose it for everyday work; Luna Pro uses the same model with pro reasoning for harder problems.

Prompts to try with GPT-6 Luna in Grok

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

Use GPT-6 Luna to summarize the discussion above in 200 words. Separate decisions, unresolved questions, and actions with explicitly named owners.

GPT-6 LunaGrok
Try asking
  • Use GPT-6 Luna to extract dates, obligations, and named parties from the text above. Include a supporting passage for each item and flag missing details.

  • Use GPT-6 Luna to read the image in this conversation and list its visible labels and values. Mark unreadable entries instead of filling them in.

  • Use GPT-6 Luna with high reasoning effort to check the argument above for unsupported assumptions. Return the three most consequential issues with supporting passages.

  • Ask GPT-6 Luna through Spiral to review the diff on this branch and list the three riskiest changes.

How to set up GPT-6 Luna 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.

    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.

    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

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

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

GPT-6 Luna providers and prices

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

OpenAILLM
GPT-6 Luna
openai/gpt-6-luna

Settings you can ask for

Ask Grok for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number
Top pa number up to 1

Taken only with reasoning effort "none".

Logprobson or off

Taken only with reasoning effort "none".

Max tokens16 to 128000

The most output tokens to generate.

Temperature0 to 2

Taken only with reasoning effort "none".

Top logprobs0 to 20

Taken only with reasoning effort "none".

Presence penalty-2 to 2

Taken only with reasoning effort "none".

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

How much the model reasons.

Frequency penalty-2 to 2

Taken only with reasoning effort "none".

Parallel tool callson or off

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

What can you do with GPT-6 Luna in Grok?

Turn supplied text and images into summaries, extracted facts, and focused answers. Bring newer source material into the conversation when the question depends on events after the model's knowledge cutoff.

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 in Grok

Can Grok use GPT-6 Luna?

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

How much does GPT-6 Luna cost in Grok?

Up to $0.002669 per run at the default inputs. $0.13 per 1M input tokens, $0.013 per 1M cached input tokens, $0.1625 per 1M cache write 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 Grok plan is separate.

Do I need an OpenAI account to use GPT-6 Luna in Grok?

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

How long does it take to set up GPT-6 Luna 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 GPT-6 Luna runs?

GPT-6 Luna runs in the background. Grok 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 in Grok

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

Paste this into Grok:

Set up Grok

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