mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 13:18:18 +00:00
Update gemini 2.5 to stable model pricing from preview pricing
This commit is contained in:
@@ -69,8 +69,8 @@ model_to_prompt_size = {
|
||||
"o3-pro": 30000,
|
||||
"o4-mini": 90000,
|
||||
# Google Models
|
||||
"gemini-2.5-flash-preview-05-20": 120000,
|
||||
"gemini-2.5-pro-preview-06-05": 60000,
|
||||
"gemini-2.5-flash": 120000,
|
||||
"gemini-2.5-pro": 60000,
|
||||
"gemini-2.0-flash": 120000,
|
||||
"gemini-2.0-flash-lite": 120000,
|
||||
"gemini-1.5-flash": 120000,
|
||||
|
||||
@@ -54,8 +54,8 @@ model_to_cost: Dict[str, Dict[str, float]] = {
|
||||
"gemini-1.5-pro-002": {"input": 1.25, "output": 5.00},
|
||||
"gemini-2.0-flash": {"input": 0.10, "output": 0.40},
|
||||
"gemini-2.0-flash-lite": {"input": 0.0075, "output": 0.30},
|
||||
"gemini-2.5-flash-preview-05-20": {"input": 0.15, "output": 0.60, "thought": 3.50},
|
||||
"gemini-2.5-pro-preview-06-05": {"input": 1.25, "output": 10.0},
|
||||
"gemini-2.5-flash": {"input": 0.30, "output": 2.50},
|
||||
"gemini-2.5-pro": {"input": 1.25, "output": 10.0},
|
||||
# Anthropic Pricing: https://www.anthropic.com/pricing#anthropic-api
|
||||
"claude-3-5-haiku-20241022": {"input": 1.0, "output": 5.0, "cache_read": 0.08, "cache_write": 1.0},
|
||||
"claude-3-5-haiku@20241022": {"input": 1.0, "output": 5.0, "cache_read": 0.08, "cache_write": 1.0},
|
||||
|
||||
Reference in New Issue
Block a user