mirror of
https://github.com/wshobson/agents.git
synced 2026-03-18 09:37:15 +00:00
Replace GPT and Claude models to latest, better and cheaper models (#118)
* Updated GPT and Claude models to latest, better and cheaper models * updated more files to use GPT-5 and Sonnet/Haiku 4.5 because theu are the latest, cheaper and better models
This commit is contained in:
@@ -132,9 +132,9 @@ class CostOptimizer:
|
||||
self.token_budget = 100000 # Monthly budget
|
||||
self.token_usage = 0
|
||||
self.model_costs = {
|
||||
'gpt-4': 0.03,
|
||||
'claude-3-sonnet': 0.015,
|
||||
'claude-3-haiku': 0.0025
|
||||
'gpt-5': 0.03,
|
||||
'claude-4-sonnet': 0.015,
|
||||
'claude-4-haiku': 0.0025
|
||||
}
|
||||
|
||||
def select_optimal_model(self, complexity):
|
||||
|
||||
Reference in New Issue
Block a user