frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Ask HN: Cursor is using 269,738 tokens to edit 1200 token file

4•sarpdag•18h ago
I started to track my Cursor usage via https://cursor.com/dashboard?tab=usage.

The pricing and usage of tokens hugely changed recently. To test I gave a simple task to Cursor which would use a 192 line swift code, including comments. This file has 1213 tokens according to https://platform.openai.com/tokenizer .

Here is my prompt: "There is a bug when i click on a raw it plays the audio and it deletes it afterwards, even though without clicking the delete button."

The Cursor dashboard says it used 269,738 tokens, and records to usage accordingly. I am a pro plan user.

Is there anyone else having similar issues?

Comments

muzani•17h ago
All raw events > View > Tokens tab

Most of the tokens are cache read and cache write. It's possible that it's searching the whole codebase with these. My guess is they're embeddings tokens which are substantially cheaper.

Your 1213 should be somewhere in the input column. Probably less because of the caching. This is the magic where your $20 goes for more than $20 worth.

sarpdag•16h ago
Actually they are charging for 269000 tokens. Looks like they changed how they charge accounts.

The screenshot for my dashboard: https://ibb.co/2Vy5CRJ

Cursor Version: 1.2.4 (Universal)

muzani•15h ago
There's the Tokens tab on the mid-right, which is more detailed pricing. Not all tokens are the same price.

But the Usage at the top is a clear view too. On Claude sonnet-thinking, you've used $10 worth. 10k input (your prompt and code), 185k output (presumably written code, maybe thinking tokens too). ~900k cache write is probably it indexing the code and 14m cache read is it understanding/scanning your code.

bn-l•13h ago
I’ve noticed this as well. You’ll get the cache discount but it’s still a weirdly huge number and probably a bug.

It would be even sadder if the rug pull was because of a bug they didn’t even realise was churning through tokens.

I'm Peter Roberts, immigration attorney who does work for YC and startups. AMA

145•proberts•14h ago•249 comments

Ask HN: Any active COBOL devs here? What are you working on?

230•_false•16h ago•171 comments

Ask HN: Will AI models over time converge into the same system?

6•ThinkBeat•3h ago•6 comments

Ask HN: What Pocket alternatives did you move to?

112•ahmedfromtunis•1d ago•130 comments

Ask HN: OpenAI zero'd balance (actual money, not free credits) after inactivity

5•footempbar•10h ago•3 comments

Ask HN: Does anyone have OpenBSD projects looking for unpaid/paid help?

6•nhgiang•18h ago•1 comments

Ask HN: GCP Outage?

86•grilledchickenw•14h ago•40 comments

Ask HN: What's Your Useful Local LLM Stack?

77•Olshansky•3d ago•48 comments

Ask HN: Where do you guys find audiobooks?

24•niksmac•14h ago•54 comments

Ask HN: How did Soham Parekh get so many jobs?

319•jshchnz•2w ago•419 comments

Gmail's backup codes are useless to access account

99•Andrew_nenakhov•13h ago•95 comments

Tell HN: Notion Desktop is monitoring your audio and network

414•HoyaSaxa•1d ago•168 comments

Ask HN: Changing Developer Career Specialty

8•Rick76•1d ago•2 comments

Ask HN: Cursor is using 269,738 tokens to edit 1200 token file

4•sarpdag•18h ago•4 comments

Ask HN: Is it time to fork HN into AI/LLM and "Everything else/other?"

506•bookofjoe•3d ago•368 comments

Ask HN: How do you find free academic/scientific material?

5•codeful•1d ago•3 comments

Ask HN: What is the state of support for mutable torrents?

5•absurdistan•1d ago•1 comments

I just got banned by Immunefi for reporting a real replay attack on LayerZero V2

5•tangou•13h ago•1 comments

Ask HN: How are you tracking dev productivity without feeling micromanaging?

12•kimzhang•2d ago•10 comments

Ask HN: Is OpenAI Acquiring Cursor?

9•schappim•1d ago•6 comments

Ask HN: How do you stay on top of AI tech?

15•kleiba•3d ago•18 comments

Ask HN: What should we do about state ID legislation?

9•VerdisQuo5678•1d ago•8 comments

How big is carpooling market?

4•rutvik2601•1d ago•6 comments

Google raising Nest Aware Plus pricing by 25%

10•corywatilo•2d ago•7 comments

Ask HN: Developer-as-a-Service?

3•gerardojbaez•1d ago•13 comments

Ask HN: What is the best way to learn 3D modeling for 3D printing?

21•wand3r•3d ago•21 comments

AIHint an open standard for signed verifiable metadata readable by AI on the web

2•aihint•1d ago•1 comments

Tell HN: Humanloop acquired, sunsetting Sept 8th

12•BillinghamJ•1d ago•6 comments