From 81aa8a72c3aa64d872079a72c0163f9b79da5f8c Mon Sep 17 00:00:00 2001 From: yptse123 Date: Fri, 20 Feb 2026 15:37:31 +0800 Subject: [PATCH] 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. --- .cursor/rules/common-performance.md | 2 +- examples/statusline.json | 2 +- rules/common/performance.md | 2 +- skills/cost-aware-llm-pipeline/SKILL.md | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.cursor/rules/common-performance.md b/.cursor/rules/common-performance.md index 7ae29dc9..9d5511f8 100644 --- a/.cursor/rules/common-performance.md +++ b/.cursor/rules/common-performance.md @@ -12,7 +12,7 @@ alwaysApply: true - Pair programming and code generation - Worker agents in multi-agent systems -**Sonnet 4.5** (Best coding model): +**Sonnet 4.6** (Best coding model): - Main development work - Orchestrating multi-agent workflows - Complex coding tasks diff --git a/examples/statusline.json b/examples/statusline.json index 561b6424..4fa84e81 100644 --- a/examples/statusline.json +++ b/examples/statusline.json @@ -13,7 +13,7 @@ "C": "Cyan - username, todos", "T": "Gray - model name" }, - "output_example": "affoon:~/projects/myapp main* ctx:73% sonnet-4.5 14:30 todos:3", + "output_example": "affoon:~/projects/myapp main* ctx:73% sonnet-4.6 14:30 todos:3", "usage": "Copy the statusLine object to your ~/.claude/settings.json" } } diff --git a/rules/common/performance.md b/rules/common/performance.md index e3284a43..3ffff1b8 100644 --- a/rules/common/performance.md +++ b/rules/common/performance.md @@ -7,7 +7,7 @@ - Pair programming and code generation - Worker agents in multi-agent systems -**Sonnet 4.5** (Best coding model): +**Sonnet 4.6** (Best coding model): - Main development work - Orchestrating multi-agent workflows - Complex coding tasks diff --git a/skills/cost-aware-llm-pipeline/SKILL.md b/skills/cost-aware-llm-pipeline/SKILL.md index 25ec549c..b3ead27d 100644 --- a/skills/cost-aware-llm-pipeline/SKILL.md +++ b/skills/cost-aware-llm-pipeline/SKILL.md @@ -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