mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-30 03:00:41 -04:00
perf(copilot): switch default model from Opus to Sonnet
Opus at $15/$75 per M tokens is unsustainable for agentic sessions (1M+ context after 30+ turns = $7+/turn). Sonnet at $3/$15 per M is 5x cheaper with comparable quality for most tasks. Override via CHAT_MODEL=anthropic/claude-opus-4.6 for premium tier.
This commit is contained in:
@@ -22,8 +22,10 @@ class ChatConfig(BaseSettings):
|
||||
|
||||
# OpenAI API Configuration
|
||||
model: str = Field(
|
||||
default="anthropic/claude-opus-4.6",
|
||||
description="Default model for extended thinking mode",
|
||||
default="anthropic/claude-sonnet-4",
|
||||
description="Default model for extended thinking mode. "
|
||||
"Changed from Opus ($15/$75 per M) to Sonnet ($3/$15 per M) — "
|
||||
"5x cheaper. Override via CHAT_MODEL env var for Opus.",
|
||||
)
|
||||
fast_model: str = Field(
|
||||
default="anthropic/claude-sonnet-4",
|
||||
|
||||
Reference in New Issue
Block a user