Anthropic / News

Cursor vs Claude Code: we gave both the same coding jobs

We gave Cursor and Claude Code the same three coding jobs. With the same model, Sonnet 5.5, both passed every secret check in about the same time, but Claude Code read about 3.9 times as much text per job.

Table of our test: Claude Code with Sonnet 5.5 186 of 186 secret checks, Cursor with Sonnet 5.5 186 of 186, Cursor with Composer 2.5 181 of 186, Cursor Auto 181 of 186, with the middle time per job
Our own test on 10 October 2026: three coding jobs, three tries per setup. Chart by Not an AI App.

Cursor and Claude Code are two of the best-known AI helpers for programmers. So we gave both the same three coding jobs from our secret test. To make it fair, we also let Cursor use the same AI model as Claude Code: Claude Sonnet 5.5. With the same model, both tools passed every secret check and were about as fast. The big difference was how much text they sent to the model: Claude Code read about 3.9 times as much per job.

What are Cursor and Claude Code?

Screenshot of Cursor's blog post of 14 August 2026, Cursor is now a part of SpaceX: Cursor has officially been acquired by SpaceX
Cursor's own blog. Screenshot from 10 October 2026; the date and title are joined to the first lines of the post.

Both are tools that let an AI write and change code for you. You give a job, like "fix this bug". The AI reads your files, makes changes and runs tests until it thinks the job is done.

  • Claude Code is made by Anthropic. It works in a terminal, the text window programmers type commands in, and also in apps and code editors. It uses Anthropic's Claude models.
  • Cursor is a code editor with AI built in, and it also has a command line tool. You can pick from many AI models, from Anthropic, OpenAI, Google and others, plus Cursor's own model, Composer.

Since August, Cursor belongs to SpaceX, Elon Musk's company. "Cursor has officially been acquired by SpaceX," Cursor wrote on its blog on 14 August 2026.

Our test: same jobs, four setups

Diagram of our test: the same three coding jobs, four setups (Claude Code with Sonnet 5.5, and Cursor with Sonnet 5.5, Composer 2.5 and Auto), and the same secret checks after every job
Diagram by Not an AI App.

We used the three jobs from our private coding test, the same ones as in our Claude Haiku 5.5 test. The tests in our public test kit are known by now, so these stay secret:

  • D. Fix a money reader: code that turns "€ 1.234,56" into cents, with several bugs. 28 secret checks.
  • E. Split a restaurant bill: shared dishes and a tip, with cents that must add up exactly. 17 checks.
  • F. Read a CSV file: a spreadsheet saved as text, where commas, quotes and line breaks can hide inside a field. 17 checks.

Each tool got the job text and worked on its own: reading files, changing code and running tests. Nobody helped. Only after it was done did we run our secret checks. We tested four setups, each job three times:

1. Claude Code with Sonnet 5.5, effort "medium". 2. Cursor with Sonnet 5.5, also "medium". Same model, different tool. 3. Cursor with Composer 2.5, Cursor's own model. 4. Cursor with Auto, where Cursor picks the model. This is what you get for free.

Who did the better job?

Table of secret checks per job: Claude Code and Cursor with Sonnet 5.5 passed all of them; Composer 2.5 181 of 186 and Auto 181 of 186 in total
Our own test on 10 October 2026, three tries per job added up.

With the same model, there was no winner. Claude Code and Cursor both passed all 186 secret checks with Sonnet 5.5, in every try.

Cursor's own model, Composer 2.5, passed 181 of 186. Auto passed 181 of 186, exactly the same. Their misses were small but real:

  • Composer 2.5 twice rejected "1234,5", an amount without a thousands dot, and once "€ 0,5". In one CSV try it got two rules about line breaks wrong.
  • Auto twice did not accept "12" as an amount, and twice rejected "€1.000", which means one thousand euros. Once it treated a special line-break character the wrong way.

So in our test, the model mattered more than the tool. Give Cursor and Claude Code the same model, and you get the same quality.

Which one was faster?

Bar chart of the middle time per job: Claude Code with Sonnet 5.5 38 seconds, Cursor with Sonnet 5.5 33 seconds, Cursor with Composer 2.5 35 seconds, Cursor Auto 76 seconds
Our own test on 10 October 2026, nine jobs per setup. Chart by Not an AI App.

With Sonnet 5.5, Cursor was a little faster, but the difference was small. In the middle, one job took:

  • Claude Code + Sonnet 5.5: 38 seconds.
  • Cursor + Sonnet 5.5: 33 seconds.
  • Cursor + Composer 2.5: 35 seconds.
  • Cursor + Auto: 76 seconds.

Auto was the slowest by far: about twice as long as Sonnet 5.5 in either tool. The slowest Auto job took 98 seconds. Our Claude Code ran on a Windows PC and Cursor in a Linux sandbox. But the AI itself runs in the cloud either way, so we think that made little difference.

Same model, but Claude Code read much more

Bar chart: with the same model, Sonnet 5.5, Claude Code read about 360,000 tokens per job and Cursor about 92,000; about $0.25 and $0.11 per job at Anthropic's API prices
Token counts reported by both tools in our test of 10 October 2026, at Anthropic's list prices of 8 October 2026. Chart by Not an AI App.

Here the tools really differed. Every time an AI tool takes a step, it sends the model your instructions, the files and everything done so far. That is counted in tokens, small pieces of text.

With the same model, Claude Code read about 360,000 tokens per job. Cursor read about 92,000. That is about 3.9 times less. Most of it is the same text, read again and again from a cheap cache, a kind of short-term memory.

At Anthropic's API prices, those tokens are worth about $0.25 per job in Claude Code and $0.11 in Cursor. You do not pay this per job with a subscription. But it shows that Cursor used the model more sparingly. One note: Cursor did not report any tokens written to the cache, while Claude Code did. If Cursor leaves those out, its real number is somewhat higher.

What does Cursor cost?

Screenshot of Cursor's price list: Hobby free with limited Agent requests, Individual Pro $20 a month, Teams $40 per user a month, Enterprise custom
Cursor's price list in the US. Screenshot from 10 October 2026, cropped.

Cursor's price list on 10 October 2026:

  • Hobby: free, with "limited Agent requests".
  • Individual (Pro): $20 a month, with more use and "access to frontier models", the newest top models.
  • Teams: $40 per person a month.
  • Enterprise: price on request.

Claude Code has no separate price. It comes with Claude's paid plans, starting with Pro at $20 a month. We explain those plans and limits in our Claude Code pricing test. So for one person, both start at $20 a month.

What you can do on Cursor's free plan

The message Cursor's command line tool gave on the free plan: Named models unavailable. Free plans can only use Auto. Switch to Auto or upgrade plans to continue.
The real message from our test on 10 October 2026, typed out as an image by Not an AI App.

We started our test with a free Cursor account. Cursor's command line tool refused to use Sonnet 5.5. The message said: "Free plans can only use Auto."

So on the free plan you cannot choose your model. Auto still did the jobs, with 181 of 186 checks passed. But it was the slowest setup, and you do not know which model did the work. Cursor's usage page only says "auto".

For Sonnet 5.5 and Composer 2.5, the owner of this site took Cursor Pro for $20.

What we saw on Cursor's usage page

Crop of Cursor's usage page for our test account: two Auto jobs on the free plan cost $0.07 and $0.10 and were included; later Auto jobs on Pro only say Included
Cursor's usage page for the account we tested with, 10 October 2026. Cropped to the rows of our test only.

Cursor shows every job on a usage page. On the free plan, it showed a price per job, even though we did not pay it. Our first two Auto jobs used about 100,000 tokens each. Cursor valued them at $0.07 and $0.10.

After the switch to Pro, the page only said "Included" for each job, with no price. That was the same for the Sonnet 5.5 jobs, which used about 83,000 to 116,000 tokens each there. That fits the numbers Cursor's command line tool gave us. For the whole day, the page counted about 860,000 tokens for our 9 Sonnet 5.5 jobs and about 1.1 million for the 9 Composer jobs. So with Pro you see how many tokens you use, but not what each job would cost.

Does SuperGrok include Cursor?

Screenshot of Cursor's help page: Does linking SuperGrok change my Cursor plan? No. Your existing Cursor plan stays in place. If you had no Cursor plan before linking, you still don't.
Cursor's help page about SuperGrok. Screenshot from 10 October 2026, cropped.

No. Many people may think so, because Cursor now belongs to SpaceX, just like Grok. And Cursor Pro now includes Grok Bot, the agent we wrote about in our Grok article.

But it does not work the other way around. The owner of this site has SuperGrok. Still, the Cursor account we tested with was on the free plan, and Cursor refused to use Sonnet 5.5. Cursor's help page confirms it: linking SuperGrok only gives you Grok Bot use in Cursor. "If you had no Cursor plan before linking, you still don't."

Which one should you pick?

Overview of which tool fits whom, based on our test: Claude Code if you already pay for Claude, Cursor if you want an editor, Cursor free if you want to pay nothing but can wait
Chart by Not an AI App, based on our test of 10 October 2026.

In our test, the tool mattered less than the model. With Sonnet 5.5, both did perfect work in about the same time. So pick the tool that fits how you work:

  • You already pay for Claude: Claude Code is included, and it did just as well. We compared it with OpenAI's tool in Codex vs Claude Code.
  • You want an editor with AI built in, and many models to choose from: Cursor. With Pro you can use the same Sonnet 5.5.
  • You want to pay nothing: Cursor's free plan works, but only with Auto, which was slower and made a few small mistakes.

This was a small test with three short jobs. Bigger projects, other languages and longer work may give other results.

Questions people ask

List of questions people ask Google about Cursor and Claude Code, with the 6 questions we answer marked
"People also ask" questions from Google (US), 10 October 2026, via DataForSEO. Chart by Not an AI App.

Which is better for coding, Claude Code or Cursor, in 2026?

In our test on 10 October 2026, neither was better when both used the same model. With Claude Sonnet 5.5, Claude Code and Cursor both passed all 186 secret checks, and took about the same time per job. Cursor sent much less text to the model. With Cursor's own model or with Auto, Cursor made a few small mistakes.

Should I get Claude Code or Cursor?

Pick the one that fits how you work. If you already pay for Claude, Claude Code is included, and it did just as well in our test. If you want a code editor with AI built in and many models to choose from, Cursor fits better. Cursor's free plan works too, but only with Auto, which was slower in our test.

Is Cursor owned by Elon Musk?

Cursor belongs to SpaceX, Elon Musk's company. Cursor wrote on its blog on 14 August 2026 that it "has officially been acquired by SpaceX". Since then, Cursor Pro also includes Grok Bot.

Is paying for Cursor worth it?

It depends on what you need. On the free plan, Cursor only let us use Auto. That passed 181 of 186 secret checks but was the slowest setup, about twice as slow. With Pro, at $20 a month, we could pick Sonnet 5.5, which passed every check. If you already pay for Claude, Claude Code did just as well in our test.

Is Claude Code Pro better than Cursor Pro?

Not in our test. Both cost $20 a month for one person. With the same model, Sonnet 5.5, both passed every secret check in about the same time. Cursor Pro also lets you pick models from other companies. Claude's Pro plan gives you Claude Code plus the Claude app.

How much does Cursor cost per month?

On 10 October 2026, Cursor's price list showed: Hobby for free, Pro for $20 a month, Teams for $40 per person a month, and Enterprise at a price on request. These are the US prices, before tax.

How we checked

Diagram: Claude Code ran on our Windows 11 PC; Cursor's command line tool ran in a Linux sandbox at Vercel, because Windows Smart App Control blocked part of it
Diagram by Not an AI App.

On 10 October 2026 we ran 36 coding jobs: 3 jobs, 3 tries, 4 setups. Claude Code ran on our Windows 11 PC with the site owner's Claude plan. Cursor's command line tool ran in a Linux sandbox at Vercel with a Cursor API key, as Cursor's docs describe. We did that because Windows Smart App Control blocked part of Cursor's tool on our PC. The secret checks never went into the sandbox: we copied the finished code back and checked it on our own PC.

The first 2 Auto jobs and our 2 failed tries with Sonnet 5.5 ran on the free plan. The failed tries do not count in the results. After that the site owner took Cursor Pro, so the rest of the Auto jobs and all Sonnet and Composer jobs ran on Pro. Times are measured from start to finish of each job. Token counts come from the tools themselves.

We read Cursor's price list, blog and help page on the same day. The screenshots are our own captures, cropped only. The usage page is from the account we tested with, cropped to our test rows. The charts were made by us. None of the images was made by AI.

Cursor vs Claude Code: Same Model, Same Test [2026]