OpenAI Models in Grok Build: How to Use GPT-6.2 Astra and Sol

OpenAI and SpaceX agreed on December 2, 2026 to keep OpenAI models in Grok Build, the tool formerly called Cursor. Here's which GPT-6.2 models you can pick, which plans include them, what they cost and how to switch in the editor and the terminal.

INEZA Felin-Michel

INEZA Felin-Michel

3 December 2026

OpenAI Models in Grok Build: How to Use GPT-6.2 Astra and Sol

Apidog for Enterprise

On-Premises Deploy

SSO & RBAC

SOC 2 Compliant

Explore Apidog Enterprise

Quick answer: OpenAI models are back in Grok Build, the coding tool formerly called Cursor. On December 2, 2026, OpenAI and SpaceX agreed to keep them in the app, and Grok Build now lists GPT-6.2 Astra and GPT-6.2 Sol in its model list. You need Premium or a higher plan, and you pay the OpenAI API list price ($8/$40 per million tokens for Astra, $2/$10 for Sol) from prepaid credit.

In August, OpenAI said it would stop supplying Cursor after SpaceX bought it. Now OpenAI models stay in Grok Build, next to Claude, Gemini and Grok. This guide covers what happened, which models you can pick, what they cost and how to switch.

What happened between OpenAI, Cursor and Grok Build?

OpenAI had planned to cut Cursor off after SpaceX bought it, then signed a new agreement on December 2, 2026 that keeps its models in the renamed product, Grok Build. The deal adds GPT-6.2 Astra and Sol and ties continued access to stronger rules on how OpenAI outputs can be used.

Here is the order of events, based on Unite.AI’s report and Tesla North’s coverage:

  1. August 2026: SpaceX completes its purchase of Cursor, after OpenAI had worked with Cursor for nearly four years.
  2. August 28: OpenAI tells SpaceX it will end the contract and proposes a November 12 shutoff. It cites a lack of confidence that SpaceX would use its models within the terms of service.
  3. November 12: OpenAI extends access past the deadline on a temporary basis.
  4. Late November: Cursor becomes Grok Build. The desktop IDE, agent sessions and third-party models carry over.
  5. December 2: OpenAI and SpaceX announce a new agreement. Grok Build posts on X that the GPT-6 family, including Astra and Sol 6.2, is available.
Sequence: SpaceX buys Cursor in August 2026, OpenAI gives notice on August 28 with a November 12 shutoff, extends access on November 12, Cursor becomes Grok Build, and on December 2 a new agreement keeps OpenAI models including GPT-6.2 Astra and Sol

OpenAI’s stated worry was distillation: using a model’s outputs to train a rival without the same safeguards. For GPT-6.2 Astra and Sol, protected reasoning is now tied to the conversation that produced it. Per Unite.AI, OpenAI says its internal tests show the success rate for pulling protected reasoning out of an earlier request fell from 54.0% on GPT-6 Astra to 0.2% on GPT-6.2 Astra. Neither company published the contract terms.

Which OpenAI models can you use in Grok Build?

Grok Build’s Models & pricing page lists seven OpenAI models as of December 3, 2026. All of them are billed as third-party models:

Model Input / 1M Cached input / 1M Output / 1M Best for
GPT-6.2 Astra $8 $0.40 $40 Hardest multi-file work, long agent runs
GPT-6.2 Sol $2 $0.10 $10 Everyday coding at a lower price
GPT-6 Astra $10 $1 $50 Older Astra; 6.2 is cheaper
GPT-6.1 Sol $2 $0.10 $10 Previous Sol
GPT-6 Sol $2 $0.20 $10 Older Sol
GPT-6.1 Terra $1 $0.05 $5 Mid-tier between Sol and Luna
GPT-6 Luna $0.10 $0.01 $0.50 Cheap, fast edits

The two new ones are GPT-6.2 Astra and GPT-6.2 Sol. Both have their own model pages in the Grok Build docs, with a 272K standard context window, up to 1M tokens in long context, image input and five reasoning effort levels: low, medium (the default), high, xhigh and max. Both get the full agent toolset in the Agents Window, including shell commands, file edits, web search and the browser.

The prices match OpenAI’s own GPT-6.2 Astra model page. For more on the models, read what GPT-6.2 Astra and Sol are and the full GPT-6.2 Astra pricing breakdown.

Which Grok Build plans include OpenAI models?

OpenAI models need Premium or higher. Grok Build is sold as part of The X Subscription, and its docs split the plans like this:

Schema: Free and Plus plans are blocked from OpenAI models; Premium, Super and Ultra reach GPT-6.2 Astra and Sol at API list price from prepaid credit; Teams and Enterprise pay list price plus a 0.25 dollar per million token rate

Early reports didn’t agree on plans, so trust the Grok Build pricing page: Premium and above.

A few billing details from the same page can change your bill:

What does one agent session cost?

Say an agent task reads 400,000 input tokens across its requests (none over 272K, no cache hits) and writes 30,000 output tokens:

Cache hits pull those numbers down fast, because cached input costs 5% of the normal rate. If you want to try Astra without a subscription, see whether GPT-6.2 Astra is free anywhere.

How to select GPT-6.2 Astra or Sol in Grok Build

In the editor (Agents Window):

  1. Make sure you’re on Premium or higher and have prepaid credit.
  2. Open the model picker in the agent panel.
  3. Choose GPT-6.2 Astra for hard tasks or GPT-6.2 Sol for routine ones.

In the terminal UI:

grok models                     # list the models your account can use
grok -m gpt-6.2-sol             # start a session on Sol

Inside a running session, switch with /model (alias /m) and set the effort with /effort, as listed in the Terminal UI commands reference:

/model gpt-6.2-astra
/effort high

In scripts and CI:

grok -p "Add input validation to POST /orders and update the tests" \
  -m gpt-6.2-sol --effort medium --output-format json

If a model is missing, grok models shows what your account can use right now.

Astra or Sol: which one should you use?

Use Sol by default and switch to Astra when a task is long, spans many files or has already failed once on Sol. Sol costs a quarter of Astra and handles most single-feature work.

Astra earns its price on large refactors and long agent runs with many tool calls. To compare it with other models in the picker, read GPT-6.2 Astra vs Claude Fable 5.2; for the editor side, see the Cursor vs Codex comparison.

Let your Grok Build agent test the API with Apidog CLI

Once Astra or Sol writes an endpoint or a service that calls the OpenAI API, don’t test it by hand. The agent already runs shell commands, so it can drive Apidog CLI to write the test, run it and read the result. Set it up once:

npm install -g apidog-cli@latest
apidog login --with-token <YOUR_TOKEN>

Or tell the agent: “Read https://apidog.com/apidog-cli-installation-guide.md and set up Apidog CLI.” The guide is written for agents and covers install and login. Then give it one prompt:

In Apidog project <PROJECT_ID>, create a test scenario called "GPT-6.2 Astra and Sol route check".
Add one POST step per route my code calls: /v1/responses with gpt-6.2-astra,
/v1/responses with gpt-6.2-sol and /v1/chat/completions with gpt-6.2-sol.
Send each with no API key and assert a 401 plus a body that asks for a key.
Validate the payload against the CLI schema, run the scenario and tell me which steps fail.

The agent reads the payload shape, validates it, creates the scenario and runs it:

apidog cli-schema get test-scenario-create
apidog cli-schema validate test-scenario-create --file scenario.json
apidog test-scenario create --project <PROJECT_ID> --file scenario.json
apidog run -t <SCENARIO_ID> --project <PROJECT_ID> -e <ENV_ID> -r cli
Apidog CLI running the GPT-6.2 Astra and Sol route check on a sandbox project: three keyless POSTs to the OpenAI Responses and Chat Completions routes return 401, 6 of 6 assertions pass

The keyless check proves each route answers and refuses a call without a key. Add a real key with --env-var later, or point the scenario at your own endpoints. The same apidog run with -r junit drops into CI; the Apidog CLI CI/CD guide shows the pipeline, and the apidog run reference lists every flag.

Sequence: you give the Grok Build agent one prompt, the agent on GPT-6.2 Astra validates and creates a test scenario with Apidog CLI, runs it, the CLI sends keyless POSTs to the OpenAI Responses and Chat Completions routes, gets 401s, and reports pass or fail per step

What we still don’t know

A few questions are still open as of December 3, 2026:

Conclusion

OpenAI models stayed in Grok Build, and the deal added the newest pair: GPT-6.2 Astra at $8/$40 and Sol at $2/$10 per million tokens, on Premium and above, paid from prepaid credit. Start on Sol, keep Astra for the hard tasks, and switch with /model in the terminal or the picker in the editor.

When the agent writes an API, let it test the API too with Apidog CLI. And if your team wants to hand those agent runs out as tasks, Sharkly is a board where you assign work to coding agents running on your own computers with your own Claude Code, Codex or Gemini CLI plan, then review what they ship before it merges. It’s free to start.

FAQ

Are OpenAI models back in Cursor? Yes. Cursor is now Grok Build, and since the December 2, 2026 agreement between OpenAI and SpaceX, its model list includes seven OpenAI models, led by GPT-6.2 Astra and GPT-6.2 Sol.

Can I use GPT-6.2 Astra on the Grok Build Free or Plus plan? No. Third-party models, OpenAI included, need Premium, Super, Ultra, Teams or Enterprise. Free and Plus only get Grok Build’s own models.

How much does GPT-6.2 Astra cost in Grok Build? $8 per million input tokens, $0.40 cached, $10 for cache writes and $40 output, the same as OpenAI’s API list price. Teams and Enterprise add a $0.25 per million token rate.

How do I switch to GPT-6.2 Sol in the Grok Build terminal? Type /model gpt-6.2-sol in a session, or start one with grok -m gpt-6.2-sol. Run grok models to see every model your account can use.

Why did OpenAI almost pull its models from Cursor? After SpaceX bought Cursor, OpenAI said it wasn’t confident SpaceX would use its models within the terms of service. The new deal ties access to stronger protections on how OpenAI outputs can be used.

Explore more

Is Your API Post-Quantum Ready? How to Test It in 5 Minutes

Is Your API Post-Quantum Ready? How to Test It in 5 Minutes

A TLS 1.3 API is post-quantum only if its handshake negotiates X25519MLKEM768. Here's how to check one endpoint with OpenSSL, which client libraries offer the hybrid group, and how your coding agent can test every environment with Apidog CLI.

3 December 2026

Git MCP Server: Setup and Use With Coding Agents

Git MCP Server: Setup and Use With Coding Agents

Set up the official Git MCP server (mcp-server-git) in Claude Code, Codex or any MCP client, see all 14 tools it exposes, follow a real agent commit session, and lock it to one repository.

3 December 2026

How to Access GPT-6.2 Cyber: API, Codex and Amazon Bedrock

How to Access GPT-6.2 Cyber: API, Codex and Amazon Bedrock

GPT-6.2 Cyber is in early access through the OpenAI API, Codex and Amazon Bedrock, all gated by Daybreak Red. Here's how each route works and how to apply for OpenAI's $25M AWS cyber credits.

2 December 2026

Practice API Design-first in Apidog

Discover an easier way to build and use APIs

OpenAI Models in Grok Build: How to Use GPT-6.2 Astra and Sol