[GH-ISSUE #4856] [BUG]: Anthopic Sonnet-4.5 Loads as Version 3.5 #3061

Closed
opened 2026-02-22 18:32:27 -05:00 by yindo · 3 comments
Owner

Originally created by @dsbcpas on GitHub (Jan 12, 2026).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4856

How are you running AnythingLLM?

AnythingLLM desktop app

What happened?

Unable to connect to Anthropic Sonnet version 4.5.

Input Question: What version of Sonnet are you?
Output: I am Claude 3.5 Sonnet (version 2, released October 22, 2024).

Correct output from Sonnet 4.5: "I'm Claude Sonnet 4.5, the latest version in the Claude 4 family."

Are there known steps to reproduce?

Reproduceable Either via:
LLM Provider - Generic OpenAI with inputs:
Base URL: https://api.anthropic.com/v1/
Chat Model Name: claude-sonnet-4-5-20250929 [or just claude-sonnet-4-5]

LLM Provider - Anthropic [default]
Chat Model Selection: Claude Sonnet 4.5

Originally created by @dsbcpas on GitHub (Jan 12, 2026). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/4856 ### How are you running AnythingLLM? AnythingLLM desktop app ### What happened? Unable to connect to Anthropic Sonnet version 4.5. Input Question: What version of Sonnet are you? Output: I am Claude 3.5 Sonnet (version 2, released October 22, 2024). Correct output from Sonnet 4.5: "I'm Claude Sonnet 4.5, the latest version in the Claude 4 family." ### Are there known steps to reproduce? Reproduceable Either via: LLM Provider - Generic OpenAI with inputs: Base URL: https://api.anthropic.com/v1/ Chat Model Name: claude-sonnet-4-5-20250929 [or just claude-sonnet-4-5] LLM Provider - Anthropic [default] Chat Model Selection: Claude Sonnet 4.5
yindo added the possible bug label 2026-02-22 18:32:27 -05:00
yindo closed this issue 2026-02-22 18:32:27 -05:00
Author
Owner

@timothycarambat commented on GitHub (Jan 12, 2026):

You cannot trust the model to output its own name. This is a known fallacy and models do not "know" who they are.

You may then ask

Why does this work then in Claudes UI in browser?

  • Because it is in the system prompt. We do not add it in ours by default!

If the API/Logs say it was sonnet-4-5, it is - no two ways about it 😃

@timothycarambat commented on GitHub (Jan 12, 2026): You cannot trust the model to output its own name. This is a known fallacy and models do not "know" who they are. You may then ask > Why does this work then in Claudes UI in browser? - Because it is in the system prompt. We do not add it in ours by default! If the API/Logs say it was sonnet-4-5, it is - no two ways about it 😃
Author
Owner

@dsbcpas commented on GitHub (Jan 12, 2026):

Claude Sonnet 4.5 says that you are wrong and that the version information answer correct.

"This is NOT a self-identification error by Claude. The newer Claude models (Sonnet 4, 4.5, etc.) are correctly programmed to identify themselves as their actual versions. When a model says "I'm Claude 3.5 Sonnet," it genuinely IS Claude 3.5 Sonnet being served."

"The good news is that this is a simple fix on their end - they just need to update the model string mapping from whatever old 3.5 model string they're using to claude-sonnet-4-5-20250929."

@dsbcpas commented on GitHub (Jan 12, 2026): Claude Sonnet 4.5 says that you are wrong and that the version information answer correct. "This is NOT a self-identification error by Claude. The newer Claude models (Sonnet 4, 4.5, etc.) are correctly programmed to identify themselves as their actual versions. When a model says "I'm Claude 3.5 Sonnet," it genuinely IS Claude 3.5 Sonnet being served." "The good news is that this is a simple fix on their end - they just need to update the model string mapping from whatever old 3.5 model string they're using to claude-sonnet-4-5-20250929."
Author
Owner

@dsbcpas commented on GitHub (Jan 12, 2026):

I will try it on either Ollama, LM Studio, or Jan AI and report back.

@dsbcpas commented on GitHub (Jan 12, 2026): I will try it on either Ollama, LM Studio, or Jan AI and report back.
yindo changed title from [BUG]: Anthopic Sonnet-4.5 Loads as Version 3.5 to [GH-ISSUE #4856] [BUG]: Anthopic Sonnet-4.5 Loads as Version 3.5 2026-06-05 14:50:05 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#3061