# Cursor is using old claude sonnet 4 model for openrouter

**URL:** <https://forum.cursor.com/t/cursor-is-using-old-claude-sonnet-4-model-for-openrouter/116284>\
**Category:** Bug Reports\
**Created:** [July 10, 2025, 12:44pm UTC](https://forum.cursor.com/t/cursor-is-using-old-claude-sonnet-4-model-for-openrouter/116284 "2025-07-10T12:44:41Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![arcoder](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/arcoder/32/947_2.png) [@arcoder](https://forum.cursor.com/u/arcoder)\
**Post date:** [July 10, 2025, 12:44pm UTC](https://forum.cursor.com/t/cursor-is-using-old-claude-sonnet-4-model-for-openrouter/116284/1 "2025-07-10T12:44:41Z")

</div>

### Describe the Bug

I’m using the OpenRouter API but encountering the following error. I added the latest model, anthropic/claude-sonnet-4, but the cursor is still trying to use claude-sonnet-4-20250514, which makes no sense.

We encountered an issue when using your API key: the provider was unable to process your request. API Error: `Request failed with status code 400: {"error":{"message":"claude-sonnet-4-20250514 is not a valid model ID","code":400},"user_id":"user_2f1CRrIvYAEw6todO9i9R09DMIy"}`

### Steps to Reproduce

enable openrouter  
add anthropic/claude-sonnet-4 model  
try with chat

### Expected Behavior

should work as like as normal model

### Operating System

MacOS

### Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.2.2 (Universal)  
VSCode Version: 1.99.3  
Commit: faa03b17cce93e8a80b7d62d57f5eda6bb6ab9f0  
Date: 2025-07-07T06:07:27.002Z  
Electron: 34.5.1  
Chromium: 132.0.6834.210  
Node.js: 20.19.0  
V8: 13.2.152.41-electron.0  
OS: Darwin arm64 24.5.0

---

<div class="post-metadata">

**Author:** ![Panda001](https://avatars.discourse-cdn.com/v4/letter/p/85f322/32.png) [@Panda001](https://forum.cursor.com/u/Panda001)\
**Post date:** [July 13, 2025, 11:34am UTC](https://forum.cursor.com/t/cursor-is-using-old-claude-sonnet-4-model-for-openrouter/116284/2 "2025-07-13T11:34:05Z")

</div>

I am having the same issue with Cursor on Windows 11 , using the latest build of cursor. Is there a fix for this?

---

<div class="post-metadata">

**Author:** ![12boxplay](https://avatars.discourse-cdn.com/v4/letter/1/e47774/32.png) [@12boxplay](https://forum.cursor.com/u/12boxplay)\
**Post date:** [July 13, 2025, 7:54pm UTC](https://forum.cursor.com/t/cursor-is-using-old-claude-sonnet-4-model-for-openrouter/116284/3 "2025-07-13T19:54:00Z")

</div>

anything update here? I also face this problem

---

<div class="post-metadata">

**Author:** ![12boxplay](https://avatars.discourse-cdn.com/v4/letter/1/e47774/32.png) [@12boxplay](https://forum.cursor.com/u/12boxplay)\
**Post date:** [July 13, 2025, 7:56pm UTC](https://forum.cursor.com/t/cursor-is-using-old-claude-sonnet-4-model-for-openrouter/116284/4 "2025-07-13T19:56:27Z")

</div>

I also can’t use Anthropic API Key need help key already correct try generate 5 times still got same error

Unauthorized User API key  
Request ID: 587701d7-4902-4b43-aa1f-1fc7dd3e0373

---

<div class="post-metadata">

**Author:** ![Alxbrondj](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@Alxbrondj](https://forum.cursor.com/u/Alxbrondj)\
**Post date:** [July 14, 2025, 9:31pm UTC](https://forum.cursor.com/t/cursor-is-using-old-claude-sonnet-4-model-for-openrouter/116284/5 "2025-07-14T21:31:48Z")

</div>

same problem

---

<div class="post-metadata">

**Author:** ![Brixyy](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/brixyy/32/70243_2.png) [@Brixyy](https://forum.cursor.com/u/Brixyy)\
**Post date:** [July 15, 2025, 11:28am UTC](https://forum.cursor.com/t/cursor-is-using-old-claude-sonnet-4-model-for-openrouter/116284/6 "2025-07-15T11:28:07Z")

</div>

Also same problem.

---

<div class="post-metadata">

**Author:** ![themonk911](https://avatars.discourse-cdn.com/v4/letter/t/91b2a8/32.png) [@themonk911](https://forum.cursor.com/u/themonk911)\
**Post date:** [July 23, 2025, 2:09pm UTC](https://forum.cursor.com/t/cursor-is-using-old-claude-sonnet-4-model-for-openrouter/116284/7 "2025-07-23T14:09:52Z")

</div>

this is still happening - can someone at Cursor please fix this!

"We encountered an issue when using your API key: Provider was unable to process your request API Error: `Request failed with status code 400: {"error":{"message":"claude-sonnet-4-20250514 is not a valid model ID","code":400} }`

---

<div class="post-metadata">

**Author:** ![12boxplay](https://avatars.discourse-cdn.com/v4/letter/1/e47774/32.png) [@12boxplay](https://forum.cursor.com/u/12boxplay)\
**Post date:** [July 24, 2025, 9:01pm UTC](https://forum.cursor.com/t/cursor-is-using-old-claude-sonnet-4-model-for-openrouter/116284/8 "2025-07-24T21:01:06Z")

</div>

please fix this

---

<div class="post-metadata">

**Author:** ![chernistry](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/chernistry/32/73382_2.png) [@chernistry](https://forum.cursor.com/u/chernistry)\
**Post date:** [July 27, 2025, 2:14pm UTC](https://forum.cursor.com/t/cursor-is-using-old-claude-sonnet-4-model-for-openrouter/116284/9 "2025-07-27T14:14:51Z")

</div>

Here’s the workaround that might help [Workaround to get Openrouter models working in Cursor](https://forum.cursor.com/t/workaround-to-get-openrouter-models-working-in-cursor/123235)

---

<div class="post-metadata">

**Author:** ![user396](https://avatars.discourse-cdn.com/v4/letter/u/4af34b/32.png) [@user396](https://forum.cursor.com/u/user396)\
**Post date:** [July 27, 2025, 5:09pm UTC](https://forum.cursor.com/t/cursor-is-using-old-claude-sonnet-4-model-for-openrouter/116284/10 "2025-07-27T17:09:13Z")

</div>

same problem

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [August 18, 2025, 5:10pm UTC](https://forum.cursor.com/t/cursor-is-using-old-claude-sonnet-4-model-for-openrouter/116284/11 "2025-08-18T17:10:09Z")

</div>

Closed on August 18, 2025, 5:10pm UTC

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