mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-09 02:43:29 +08:00
chore: update Sonnet model references from 4.5 to 4.6
Update MODEL_SONNET constant and all documentation references to reflect the new claude-sonnet-4-6 model version.
This commit is contained in:
@@ -21,7 +21,7 @@ Patterns for controlling LLM API costs while maintaining quality. Combines model
|
||||
Automatically select cheaper models for simple tasks, reserving expensive models for complex ones.
|
||||
|
||||
```python
|
||||
MODEL_SONNET = "claude-sonnet-4-5-20250929"
|
||||
MODEL_SONNET = "claude-sonnet-4-6"
|
||||
MODEL_HAIKU = "claude-haiku-4-5-20251001"
|
||||
|
||||
_SONNET_TEXT_THRESHOLD = 10_000 # chars
|
||||
@@ -155,7 +155,7 @@ def process(text: str, config: Config, tracker: CostTracker) -> tuple[Result, Co
|
||||
| Model | Input ($/1M tokens) | Output ($/1M tokens) | Relative Cost |
|
||||
|-------|---------------------|----------------------|---------------|
|
||||
| Haiku 4.5 | $0.80 | $4.00 | 1x |
|
||||
| Sonnet 4.5 | $3.00 | $15.00 | ~4x |
|
||||
| Sonnet 4.6 | $3.00 | $15.00 | ~4x |
|
||||
| Opus 4.5 | $15.00 | $75.00 | ~19x |
|
||||
|
||||
## Best Practices
|
||||
|
||||
Reference in New Issue
Block a user