# Link Cursor to Grok: Enable Grok 4.5 and Unify Accounts

> Source: https://www.layer3labs.io/guides/cursor-grok-4-5
> Summary: How to link Cursor to Grok: pick Grok 4.5 in Cursor settings or unify accounts at cursor.com/unify. Mode-fit matrix and when Claude Sonnet stays default.

By  [Layer3Labs Research Desk](https://www.layer3labs.io/editorial-policy) · Reviewed by [Jonathan Teplitsky, MBA](https://www.layer3labs.io/about/jonathan-teplitsky) · Updated Nov 21, 2026  · [How we review](https://www.layer3labs.io/editorial-policy)

# Cursor + Grok 4.5: How to Enable It and When to Use It

A practical setup guide for using Grok 4.5 inside Cursor — Ask, Edit, Agent, and Composer — with a mode-fit matrix and cost caveats.

By  [Layer3Labs Research Desk](https://www.layer3labs.io/editorial-policy) · Reviewed by [Jonathan Teplitsky, MBA](https://www.layer3labs.io/about/jonathan-teplitsky) · Updated Nov 21, 2026  · [How we review](https://www.layer3labs.io/editorial-policy)

[Grok](https://grok.com/refer/bot?code=5XVA3E8FKMME) 4.5 is available in [Cursor](https://cursor.com/referral?code=BSMSK4ZEODFY) on the Plus plan and above. You can select it directly from the model picker. Because xAI and Cursor co-trained the release, it feels like a built-in option, not a bring-your-own-key experiment.

This guide explains how to enable Grok 4.5, choose the right Cursor mode, and decide when [Claude](https://claude.ai/referral/4kASfUF7lw?s=claude_ai) Sonnet should remain your default. We rely on information published by xAI and Cursor, and we flag any figures you should verify on the vendor&#x27;s site.

If your team is considering a model switch across an engineering organization, start with workflow trade-offs before comparing prices. Cost matters, but the switch will only stick if the model fits how your team works.

## Linking Cursor and Grok Accounts

You do not need to link anything to use Grok models in Cursor. Pick one from the model picker, and no xAI key is required. To put your Cursor and Grok accounts on one plan and one bill, unify them at cursor.com/unify. You can also start from Grok at accounts.x.ai/unify or Settings > Billing on grok.com. The [xAI unification steps](https://docs.x.ai/x-subscription/unify-accounts) list each step.

Unifying is optional, and the switch is permanent. [Cursor&#x27;s help center](https://cursor.com/help/the-x-subscription/overview) says the switch cannot be undone, and Cursor Support cannot undo it for you. After you confirm, your old Cursor, Grok and X Premium subscriptions are cancelled automatically. Refunds for unused time are sent separately. If you skip unifying, your current plan, price and features continue.

Cursor comes with a Grok subscription when you are on The X Subscription, which brings Grok, Cursor and X together. Its paid plans (Plus, Premium, Super and Ultra) include a weekly usage pool shared across Grok and Cursor, and billing and settings are managed at grok.com/dashboard. The Grok API is billed separately and does not draw from the pool. [Cursor pricing](https://www.layer3labs.io/guides/cursor-pricing) has the plan detail.

Grok 4.6 is available in Cursor. The [Cursor models page](https://cursor.com/docs/models) lists Grok 4.6 and Grok 4.6 (Fast), both served by Cursor, and the Plus plan includes Grok 4.6.

## How to Enable Grok 4.5 in Cursor

Open Cursor Settings, go to the Models tab, and toggle Grok 4.5 on in the list of available models. Cursor&#x27;s models page lists it on the Plus plan and above, so you do not need to paste an xAI API key or configure a custom base URL to try it.

If Grok 4.5 does not appear, update Cursor to the latest version. Restart the editor after enabling the model so the picker in the chat sidebar refreshes.

One known gotcha: if you have an [OpenAI](https://openai.com) custom API key or a custom base URL configured under Settings > Models > OpenAI, community reports suggest disabling those while using Grok 4.5, then re-enabling them when you switch back to a custom-provider model.

Once enabled, Grok 4.5 shows up in the model dropdown at the top of the chat panel, in inline edits (Cmd+K), and in Composer. Pick it per-request rather than as a global default until you have run it against your own repo.

 Sources
[Cursor blog: Introducing Grok 4.5 ↗](https://cursor.com/blog/grok-4-5)[Cursor Grok landing page ↗](https://cursor.com/grok)

## Cursor Mode-fit Matrix for Grok 4.5

Cursor exposes four main ways to invoke a model: Ask (chat), Edit (Cmd+K inline), Agent (autonomous multi-step), and Composer (multi-file). Grok 4.5 is not equally strong in all four, and picking the wrong mode is the most common reason a new model feels worse than your default.

Use Grok 4.5 in Agent and Composer first. xAI positioned the release around multi-step software engineering and agentic tool use, and Cursor&#x27;s own launch post frames it the same way. That is where the joint training shows up.

Use Grok 4.5 in Ask when you need a longer reasoning pass over a wide slice of code — xAI publishes a 500K context window for the model, which is roughly two to four times what most default coding models carry. Verify the current context limit on docs.x.ai before you plan a workflow around it.

Keep your existing default for tight inline Edits (Cmd+K on a selection). Inline edits reward latency and predictability more than raw capability, and switching models mid-flow adds friction without a clear payoff.

 Sources
[xAI docs (verify context window and limits) ↗](https://docs.x.ai/)

## Prompt Patterns That Work in Cursor with Grok 4.5

Give it the whole problem, not a slice. Grok 4.5&#x27;s large context window means you can drop in a failing test, the module under test, the shared types file, and the README section that describes intended behavior — all in one Agent turn. Small, keyhole prompts underuse the model.

Ask for a plan before code on any change touching more than one file. In Composer, prompt with: state the goal, list the files involved, propose the sequence of edits, then produce them. This mirrors how xAI trained the model for multi-step engineering tasks.

For Agent runs, name the exit condition. &#x27;Run until the test suite passes and no lint errors remain&#x27; beats &#x27;fix the bug&#x27; because it gives the model a stopping rule and something to check against. Grok 4.5 will keep pulling tools if you leave the goal open.

When you switch back to a different model inside the same conversation, start a new chat. Cursor keeps context per thread, and mixing model outputs in one thread makes it hard to tell which model wrote what.

## Cost and Latency Versus Cursor&#x27;s Claude Sonnet Default

xAI publishes Grok 4.5 pricing at $2 per million input tokens and $6 per million output tokens, served at roughly 80 tokens per second, per the Cursor launch post and third-party coverage. Confirm the current rate on the xAI console before you budget against it — model prices move.

[Anthropic](https://www.anthropic.com) publishes Claude Sonnet pricing on its own site, and the effective per-request cost inside Cursor depends on whether you are on a Pro plan (included usage) or usage-based billing. Compare the numbers on the vendor pages the day you decide.

Latency-wise, Grok 4.5 at 80 tokens per second is competitive for chat and Composer but noticeable on long generations. If your team lives inside inline Cmd+K edits all day, a small per-edit latency delta compounds fast — measure before you switch defaults org-wide.

xAI&#x27;s pitch is &#x27;highest intelligence per unit of time and cost&#x27; driven partly by fewer output tokens per task. That claim is worth testing on your own three or four representative tickets rather than taking on faith.

 Sources
[Cursor blog: Introducing Grok 4.5 (pricing and speed context) ↗](https://cursor.com/blog/grok-4-5)[xAI console (verify current pricing) ↗](https://console.x.ai/)

## When to Keep Claude Sonnet as Your Cursor Default

Keep Sonnet as the default for teams whose work is mostly inline edits, small refactors, and short chat exchanges. That is where a familiar model with predictable behavior beats a marginal capability upgrade.

Keep Sonnet where your codebase is heavily regulated or has strict output-review workflows. Introducing a new model changes the shape of diffs your reviewers see, and the first two weeks of adoption always add review overhead. Do that intentionally, not on a whim.

Keep Sonnet if you are in the EU. Coverage at launch flagged that Grok 4.5 was not yet available in the EU — check the xAI availability page before rolling it out to European engineers.

Switch to Grok 4.5 as the default only after a two-week bake-off on real tickets, measured against your own quality bar. Vendor benchmark scores are a starting point, not the decision.

## Grok 4.5 Inside a Cursor Workflow Audit

A new model launch usually follows the same arc: three weeks of hype, then a real answer about where it belongs in the stack. Grok 4.5 has been available since July 2026, so the hype phase is over.

At Layer3Labs we treat model selection the way we treat any procurement call for a client — start with the jobs the model actually needs to do, then map each job to the cheapest model that clears the quality bar. Cursor makes that easy because the picker is per-request.

Our default recommendation for engineering teams evaluating Grok 4.5 today is to enable it, route Agent and Composer runs to it for a sprint, and keep Cmd+K on your incumbent. Revisit after real reviews of real diffs.

This is the same pattern we use inside the AI Workflow Audit — pick one workflow, measure the current tool, test the challenger, decide with data.

## Where to Verify Anything in This Guide

Every number that moves — price, context window, rate limit, availability by region — should be checked on the primary source before you budget or plan around it. Vendors update these pages without release notes.

For Grok 4.5 pricing and rate limits, check the xAI console and docs.x.ai. For Cursor-side behavior (which modes support the model, plan availability, any pricing markup inside Cursor), check the Cursor blog and the Cursor Models settings page.

For benchmark claims, do not rely on any single blog post — including this one. Cross-check against the model card xAI publishes and, where possible, an independent evaluation.

 Sources
[xAI docs ↗](https://docs.x.ai/)[Cursor blog ↗](https://cursor.com/blog/grok-4-5)

## Frequently Asked Questions

- Is Grok 4.5 free to use in Cursor? Cursor&#x27;s models page lists Grok 4.5 on the Plus plan and above and does not list it for Free. Usage still counts against your Cursor plan&#x27;s request limits, and the underlying token cost that Cursor pays xAI is $2 input and $6 output per million tokens at the rates published on the xAI console. Verify the current pricing on x.ai before budgeting.
- Which Cursor mode should I use Grok 4.5 in first? Start with Agent and Composer. xAI and Cursor jointly trained the release for multi-step software engineering and agentic tool use, which is exactly what those two modes exercise. Keep your existing model for tight inline Cmd+K edits until you have data that says otherwise.
- How do I add Grok 4.5 to Cursor if it does not appear in the model picker? Update Cursor to the latest version, then open Settings, go to Models, and enable Grok 4.5 in the list. Restart Cursor so the chat sidebar refreshes. If you use a custom OpenAI API key or base URL, community reports suggest temporarily disabling those while you use Grok 4.5.
- What is Grok 4.5&#x27;s context window inside Cursor? xAI positions Grok 4.5 with a 500K token context window per its launch coverage, which is meaningfully larger than most default coding models. The effective usable context inside Cursor can be lower depending on how Cursor packages your files. Check docs.x.ai for the current limit before planning a workflow around it.
- When should I keep Claude Sonnet as my Cursor default instead? Keep Sonnet as the default if your team lives in inline edits, ships small refactors, or works in the EU where Grok 4.5 availability was still limited at launch. Also keep it where diff-review overhead matters, and only switch defaults after a two-week bake-off on real tickets measured against your own quality bar.
- Can I use Grok 4.5 in Cursor without an xAI account? Yes. Cursor serves Grok 4.5 natively through its own backend on the plans that include it, so you do not need an xAI API key or console account to try it inside the editor. You would only need an xAI account if you are calling Grok 4.5 outside Cursor — for example, from your own agent stack via the xAI API.

### Not sure whether to switch your team from Claude Sonnet to Grok 4.5 in Cursor?

We run a structured bake-off across your real tickets and tell you which model to default to, per Cursor mode, with the cost math shown.

[Book an AI Workflow Audit](https://www.layer3labs.io/ai-workflow-audit)

### Related Resources

[Guide #### Grok 4.5 on Bedrock? Where to Use It and What It Costs Amazon Bedrock lists Grok 4.3, 4.6 and 4.7, not Grok 4.5. See where Grok 4.5 runs and its xAI API price: $2 input, $6 output per 1M tokens.](https://www.layer3labs.io/guides/how-to-use-grok-4-5)[Comparison #### Grok Alternatives 2026: Prices and Picks for 6 AI Tools Grok&#x27;s API costs $2 in / $6 out per 1M tokens. See how ChatGPT, Claude, Gemini, Copilot, Perplexity and Mistral compare on price, fit and integrations.](https://www.layer3labs.io/comparisons/grok-alternatives)[Guide #### Grok 4.5 explained Plain-English overview of what Grok 4.5 is and where it fits.](https://www.layer3labs.io/guides/grok-4-5-explained)[Guide #### Grok 4.5 for coding How Grok 4.5 performs on real engineering tasks and where Claude still wins.](https://www.layer3labs.io/guides/grok-4-5-for-coding)[Comparison #### Grok 4.5 vs Claude Head-to-head on coding, reasoning, price, and where each model belongs.](https://www.layer3labs.io/comparisons/grok-4-5-vs-claude)[Guide #### Grok 4.5 pricing Current per-token pricing, plan availability, and how to check the vendor page.](https://www.layer3labs.io/guides/grok-4-5-pricing)[Service #### AI Workflow Audit We map the right model to each workflow inside your stack and give you a per-mode default.](https://www.layer3labs.io/ai-workflow-audit)
 See  4  more
