Customer Api Key Error, The model xxx does not work with your current plan or api key

Describe the Bug

When I use cursor to configure the custom api key, this problem(The model xxx does not work with your current plan or api key)is happend.

By calling the tool, the request for verification of the model is acceptable. When i send the context, js reports an error ({“error”:“ERROR_BAD_MODEL_NAME”,“details”:{“title”:“AI Model Not Found”,“detail”:“Model name is not valid: google/gemma-2-9b-it:free”,“isRetryable”:false,“showRequestId”:false},“isExpected”:true}).

Perhaps there are no synchronous model results?

I’m sure there is no problem with the name of the model.

Hope it can be repaired as soon as possible.

Steps to Reproduce

the same describe bug.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

版本: 1.0.0 (user setup)
提交: 1.96.2
日期: 53b99ce608cba35127ae3a050c1738a959750860
Electron: 2025-06-04T19:44:25.253Z
ElectronBuildId: 34.5.1
Chromium: undefined
Node.js: 132.0.6834.210
V8: 20.19.0
OS: 13.2.152.41-electron.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, could you let me know if you have a Pro subscription?

It’s the same problem. Looking at the error message in the picture, it’s a problem with the model name.