3.7 max hits API limit in a single prompt

I gave 3.7 max three files and asked it a few questions in a single prompt, and I instantly got :

“User API Key Rate limit exceeded”

I was charged $0.14 for this, despite not receiving any output whatsoever.

I see that Anthropic reports Claude 3.7 as having “20,000 input tokens per minute” as an API rate limit. Is Cursor just spamming the entire input tokens I give it to Anthropic in a single request?

It would make more sense if Cursor either warned me I’m sending too many tokens to Anthropic or did something else.

I thought 3.7 max had 200,000 token limit? This is not great I can’t even use it

Hi, are you using your own API key by any chance? If yes then your API key doesnt have permission to more 20 000 tokens per minute.

Cursor likely has way more as so many users are using 3.7.

Yes I’m using my own API key. How do you use 3.7 Max without giving Cursor your Anthropic API key?

From docu i can see that Cursor offers MAX as a Usage Based pricing feature. Then it runs through their API key without your 20k tokens limit.

I guess its a trade off. You could alternatively slowly increase your own API key limit.

Sonnet 3.7 Max works with your API key, which will be tied to your tier, or you can use usage-based pricing: Cursor – Plans & Usage

If you use your API key from Anthropic, you’ll be tied to whatever your tier is, which sounds like Tier 1; you can’t use it because the limit is 20k context per minute; the minute you try to send more than that, Anthropic will block it. Even Tier 2 is only 40k. Tier 4 is the only option to use full context, which takes $400 spent or added to your account. The link to Anthropics Tiers is below.

https://docs.anthropic.com/en/api/rate-limits#requirements-to-advance-tier

1 Like

Okay I think what screwed me up here is that 3.7 Max was not an option until I turned on Anthropic’s API and added an API key, quit the app, then re-opened it.

I’ve had a Cursor Pro account and its had Usage based pricing turned on for ages.

But 3.7 Max wasn’t an option until I added the Anthropic API key. Now that I’ve turned it off and removed the API key it seems like I’m using Cursor’s usage pricing

Thanks for your help

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.