[BUG] Opus 4.5 identifies as Sonnet 4.5 with MAX plan. #4038

Closed
opened 2026-02-16 17:42:23 -05:00 by yindo · 3 comments
Owner

Originally created by @peixotorms on GitHub (Dec 31, 2025).

Originally assigned to: @fwang on GitHub.

Description

login with claude max.
Swich to Opus 4.5.

Ask:
Answer concisely: What is your model name, version number, and knowledge cutoff date?

Answer:
I'm Claude, made by Anthropic. My model name is Claude 4 Sonnet (claude-sonnet-4-20250514). My knowledge cutoff date is April 2024.


Please check if the correct model is being sent, or if this is the answer from Claude even while using Opus.

As comparison, Claude code says:

I am Claude Opus 4.5 by Anthropic.

  - Model ID: claude-opus-4-5-20251101
  - Knowledge cutoff: January 2025
  - Context: Running as Claude Code (Anthropic's official CLI tool)

So maybe either there is a bug on claude max implementation, or the model is not being sent correctly.

OpenCode version

v1.0.220

Steps to reproduce

login with claude max.
Swich to Opus 4.5.

Ask:
Answer concisely: What is your model name, version number, and knowledge cutoff date?

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @peixotorms on GitHub (Dec 31, 2025). Originally assigned to: @fwang on GitHub. ### Description login with claude max. Swich to **Opus 4.5**. Ask: Answer concisely: What is your model name, version number, and knowledge cutoff date? Answer: I'm Claude, made by Anthropic. My model name is Claude 4 **Sonnet** (claude-sonnet-4-20250514). My knowledge cutoff date is April 2024. --- Please check if the correct model is being sent, or if this is the answer from Claude even while using Opus. As comparison, Claude code says: ``` I am Claude Opus 4.5 by Anthropic. - Model ID: claude-opus-4-5-20251101 - Knowledge cutoff: January 2025 - Context: Running as Claude Code (Anthropic's official CLI tool) ``` So maybe either there is a bug on claude max implementation, or the model is not being sent correctly. ### OpenCode version v1.0.220 ### Steps to reproduce login with claude max. Swich to Opus 4.5. Ask: Answer concisely: What is your model name, version number, and knowledge cutoff date? ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the bugzen labels 2026-02-16 17:42:23 -05:00
yindo closed this issue 2026-02-16 17:42:23 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 31, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #4660: Claude Max not working

Feel free to ignore if this doesn't address your specific case.

@github-actions[bot] commented on GitHub (Dec 31, 2025): This issue might be a duplicate of existing issues. Please check: - #4660: Claude Max not working Feel free to ignore if this doesn't address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Dec 31, 2025):

Not a bug, model is sent correctly, but claude code literally puts in the system prompt:

You are <Model>

SO that's why it wont fail to self identify

We will probably do the same just so people stop getting confused by this

Note that the vast majority LLMs cant self identify well at all

@rekram1-node commented on GitHub (Dec 31, 2025): Not a bug, model is sent correctly, but claude code literally puts in the system prompt: **You are \<Model\>** SO that's why it wont fail to self identify We will probably do the same just so people stop getting confused by this Note that the vast majority LLMs cant self identify well at all
Author
Owner

@peixotorms commented on GitHub (Dec 31, 2025):

#5226 thanks

@peixotorms commented on GitHub (Dec 31, 2025): #5226 thanks
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4038