# Invalid Model error when attempting to use "@web" tool with Anthropic API token

**URL:** <https://forum.cursor.com/t/invalid-model-error-when-attempting-to-use-web-tool-with-anthropic-api-token/103542>\
**Category:** Bug Reports\
**Created:** [June 13, 2025, 11:09am UTC](https://forum.cursor.com/t/invalid-model-error-when-attempting-to-use-web-tool-with-anthropic-api-token/103542 "2025-06-13T11:09:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DevZen](https://avatars.discourse-cdn.com/v4/letter/d/4da419/32.png) [@DevZen](https://forum.cursor.com/u/DevZen)\
**Post date:** [June 13, 2025, 11:09am UTC](https://forum.cursor.com/t/invalid-model-error-when-attempting-to-use-web-tool-with-anthropic-api-token/103542/1 "2025-06-13T11:09:47Z")

</div>

### Describe the Bug

When attempting to use the “@web” shortcut in Cursor with an Anthropic API key set, it blocks chat submission and displays an “Invalid Model” error modal.

### Steps to Reproduce

- Set a valid Anthropic API key with funds in the Cursor settings
- Select Agent mode in the Chat
- Select a Claude 4 model (Sonnet or Opus)
- Type something in the chat and include the “@web” shortcut in the message.
- Try to submit the chat message.

### Expected Behavior

I would expect the chat to use the web tool: [@ Mentions | Cursor Docs](https://docs.cursor.com/context/@-symbols/@-web)

### Operating System

MacOS

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

Version: 1.1.1  
VSCode Version: 1.96.2  
Commit: f81622395bb52bc30ed251a6299eeaf51ab49110  
Date: 2025-06-12T09:07:09.121Z (1 day ago)  
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

### Does this stop you from using Cursor

No - Cursor works, but with this issue

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [June 13, 2025, 1:08pm UTC](https://forum.cursor.com/t/invalid-model-error-when-attempting-to-use-web-tool-with-anthropic-api-token/103542/2 "2025-06-13T13:08:29Z")

</div>

Hey, thanks for the report. I confirm that this isn’t working. I’ll forward this to the team. As a workaround, you can add something like “Find on the internet” to your request, and it should trigger the search function.

---

<div class="post-metadata">

**Author:** ![DevZen](https://avatars.discourse-cdn.com/v4/letter/d/4da419/32.png) [@DevZen](https://forum.cursor.com/u/DevZen)\
**Post date:** [June 15, 2025, 1:39pm UTC](https://forum.cursor.com/t/invalid-model-error-when-attempting-to-use-web-tool-with-anthropic-api-token/103542/3 "2025-06-15T13:39:55Z")

</div>

Thanks! Another workaround I’ve used is to perform the web search through an MCP like Brave Search.

---

<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:** [July 15, 2025, 1:40pm UTC](https://forum.cursor.com/t/invalid-model-error-when-attempting-to-use-web-tool-with-anthropic-api-token/103542/4 "2025-07-15T13:40:28Z")

</div>

Closed on July 15, 2025, 1:40pm UTC

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