Use custom model using Openrouter

Hello @deanrie

I am new to Cursor and am just starting to explore it using the free plan. I want to use a custom model using an open router, but when I try to enable the API keys section,

I cannot find the verify button that is shown in various blog posts or setup processes.

Since I am currently on the free plan, could you please check and let me know what might be wrong? Am I able to use it on the free plan or not?

Thank you.

@deanrie any views?

Hey, unfortunately OpenRouter keys aren’t working at the moment. The team is working on a fix, and the Verify button has been removed. You just need to enter your key, that’s all.

Thanks for confirmation

@deanrie Is this still not resolved?

Describe the Bug

I’m trying to use openrouter with my business plan cursor. Here’s what I tried:

  • In cursor settings, I enabled OpenAI Key, Override OpenAI Base URL
  • I added a model anthropic/claude-sonnet-4
  • Verify succeeded

So I moved on to actually using it. With setting the anthropic/claude-sonnet-4, I sent a request and keep receiving the following error. It complains about claude-sonnet-4-20250514 model, but it’s not what I set nor added in cursor setting’s models:

Request ID: 237d0b9d-2c8d-4c60-93c3-79713c202da9
{“error”:“ERROR_OPENAI”,“details”:{“title”:“Unable to reach the model provider”,“detail”:“We encountered an issue when using your API key: Provider was unable to process your request\n\nAPI Error:\n\n\nRequest failed with status code 400: {\"error\":{\"message\":\"claude-sonnet-4-20250514 is not a valid model ID\",\"code\":400},\"user_id\":\"org_2xieMh0oafnhrsCDR0hXQVboNIQ\"}\n”,“additionalInfo”:{}},“isExpected”:true}
ConnectError: [invalid_argument] Error
at dTa.$endAiConnectTransportReportError (vscode-file://vscode-app/c:/Users/jaehoon13.ko/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:4248:218786)
at Xjs.S (vscode-file://vscode-app/c:/Users/jaehoon13.ko/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:494:17406)
at Xjs.Q (vscode-file://vscode-app/c:/Users/jaehoon13.ko/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:494:17184)
at Xjs.M (vscode-file://vscode-app/c:/Users/jaehoon13.ko/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:494:16272)
at Xjs.L (vscode-file://vscode-app/c:/Users/jaehoon13.ko/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:494:15373)
at Spt.value (vscode-file://vscode-app/c:/Users/jaehoon13.ko/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:494:14165)
at ye.B (vscode-file://vscode-app/c:/Users/jaehoon13.ko/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:46:2398)
at ye.fire (vscode-file://vscode-app/c:/Users/jaehoon13.ko/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:46:2617)
at NQe.fire (vscode-file://vscode-app/c:/Users/jaehoon13.ko/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:4230:10378)
at u.onmessage (vscode-file://vscode-app/c:/Users/jaehoon13.ko/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:6712:12344)

Steps to Reproduce

Sending a request with an openrouter’s anthropic/claude-sonnet-4

Expected Behavior

Request is sent successfully

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.1.5 (user setup)
VSCode Version: 1.96.2
Commit: ef5eeb47a684b4c217dfaf0463aa7ea952f8ab90
Date: 2025-06-21T05:31:17.701Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.19045

Does this stop you from using Cursor

No - Cursor works, but with this issue

Guys, some update about this issue?

Also same problem.

Supports emailed me today and instructed me to click the “Verify” button as one of their solutions. I have only see this button the first time I created a key. Since it has been is missing. I am an Ultra user, so free account does not have any bearing on this problem.

Free plan. Почему не могу использовать бесплатные модели openrouter? Решение будет или просто не пользоваться Cursor?

@deanrie Any updates?

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