BUG: Claude Opus 4 - AI_APICallError: system: Invalid model name #837

Closed
opened 2026-02-16 17:28:30 -05:00 by yindo · 2 comments
Owner

Originally created by @Zelkreps on GitHub (Jul 21, 2025).

I use Claude Pro and I get this error when selecting Claude Opus 4. The Sonnet model works fine.

Image
Originally created by @Zelkreps on GitHub (Jul 21, 2025). I use Claude Pro and I get this error when selecting Claude Opus 4. The Sonnet model works fine. <img width="363" height="71" alt="Image" src="https://github.com/user-attachments/assets/c435d875-4216-4fd3-a90c-48270455411c" />
yindo closed this issue 2026-02-16 17:28:30 -05:00
Author
Owner

@RomainMorlevat commented on GitHub (Jul 21, 2025):

Hello,
You can't use Opus with Claude code pro.

@RomainMorlevat commented on GitHub (Jul 21, 2025): Hello, You can't use Opus with Claude code pro.
Author
Owner

@Zelkreps commented on GitHub (Jul 21, 2025):

I understand, thanks a lot, my mistake.. I thought that if it's possible to use it on the web app with PRO that it would work in the CLI.

@Zelkreps commented on GitHub (Jul 21, 2025): I understand, thanks a lot, my mistake.. I thought that if it's possible to use it on the web app with PRO that it would work in the CLI.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#837