Skip to content

Commit e747996

Browse files
committed
Add another mapping for sonnet 4
1 parent be86356 commit e747996

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

common/src/constants/claude-oauth.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ export const OPENROUTER_TO_ANTHROPIC_MODEL_MAP: Record<string, string> = {
6868
// Claude 4.x Sonnet models
6969
'anthropic/claude-sonnet-4.5': 'claude-sonnet-4-5-20250929',
7070
'anthropic/claude-sonnet-4': 'claude-sonnet-4-20250514',
71+
'anthropic/claude-4-sonnet-20250522': 'claude-sonnet-4-20250514',
72+
'anthropic/claude-4-sonnet': 'claude-sonnet-4-20250514',
7173

7274
// Claude 4.x Opus models
7375
'anthropic/claude-opus-4.5': 'claude-opus-4-5-20251101',

0 commit comments

Comments
 (0)