CodeBeast Audit Finding — P1 HIGH
Severity: P1 — High
Category: Correctness / Model Currency
Files: providers/anthropic.ts, providers/openai.ts, index.ts
Problem
The model catalog is stale and contains errors:
Missing Models
- Claude Haiku 4.5 (
claude-haiku-4-5-20251001)
- Claude Sonnet 4.5 (
claude-sonnet-4-5-20250514)
- Claude Sonnet 4.6 (
claude-sonnet-4-6-20250618)
- Claude Opus 4.6 (
claude-opus-4-6-20250618)
Incorrect Model IDs
claude-sonnet-3.7-20241120 is wrong — correct ID is claude-3-7-sonnet-20250219
Stale Pricing
- Claude 4 models have costs marked
// Estimated - actual pricing TBD
- These models have had published pricing for months
Deprecated Default
openai.ts:278: request.model || 'gpt-3.5-turbo' — GPT-3.5 Turbo is deprecated
- Should default to
gpt-4o-mini (cheaper, better, not deprecated)
Missing from MODELS Constants
index.ts MODELS object and MODEL_RECOMMENDATIONS need updating to include current-gen models
Fix
- Add Claude 4.5/4.6 model entries with correct pricing
- Fix
claude-sonnet-3.7 model ID
- Update Claude 4 pricing from published rates
- Change OpenAI default from
gpt-3.5-turbo to gpt-4o-mini
- Update
MODELS and MODEL_RECOMMENDATIONS in index.ts
🤖 Filed by CodeBeast audit
CodeBeast Audit Finding — P1 HIGH
Severity: P1 — High
Category: Correctness / Model Currency
Files:
providers/anthropic.ts,providers/openai.ts,index.tsProblem
The model catalog is stale and contains errors:
Missing Models
claude-haiku-4-5-20251001)claude-sonnet-4-5-20250514)claude-sonnet-4-6-20250618)claude-opus-4-6-20250618)Incorrect Model IDs
claude-sonnet-3.7-20241120is wrong — correct ID isclaude-3-7-sonnet-20250219Stale Pricing
// Estimated - actual pricing TBDDeprecated Default
openai.ts:278:request.model || 'gpt-3.5-turbo'— GPT-3.5 Turbo is deprecatedgpt-4o-mini(cheaper, better, not deprecated)Missing from MODELS Constants
index.tsMODELS object and MODEL_RECOMMENDATIONS need updating to include current-gen modelsFix
claude-sonnet-3.7model IDgpt-3.5-turbotogpt-4o-miniMODELSandMODEL_RECOMMENDATIONSinindex.ts🤖 Filed by CodeBeast audit