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:
Kunal Shah
2025-11-17 09:22:36 +08:00
committed by GitHub
parent 7581142104
commit 1305e48672
8 changed files with 26 additions and 26 deletions

View File

@@ -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):