Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
This still doesn’t work. I would REALLY like to use ANY model from OpenRouter, but I’m stuck with models that aren’t natively supported in Cursor. If I want to use Claude or gpt-5 in OpenRouter, I should be able to, but I can’t.
When I try use anthropic/claude-sonnet-4
Request failed with status code 400: {"error":{"message":"claude-sonnet-4-20250514 is not a valid model ID","code":400},"user_id":"user_2ynPkXHodSLILILPRBIxGmYMH40"}
So disappointing.
It seems like it’s falling back onto the native model ID which doesn’t work with OpenRouter.
Steps to Reproduce
Turn on Openai api key and put in openrouter information
add models anthropic/claude-sonnet-4, openai/gpt-5
Expected Behavior
They EFFFING WORK
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
1.5.11
2f2737de9aa376933d975ae30290447c910fdf40
x64
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor