diff --git a/src/modelPricing.json b/src/modelPricing.json index 1ac987e7..1e8bef74 100644 --- a/src/modelPricing.json +++ b/src/modelPricing.json @@ -29,15 +29,45 @@ }, "pricing": { "gpt-5": { + "inputCostPerMillion": 1.25, + "outputCostPerMillion": 10.0, + "category": "GPT-5 models" + }, + "gpt-5-codex": { + "inputCostPerMillion": 1.25, + "outputCostPerMillion": 10.0, + "category": "GPT-5 models" + }, + "gpt-5-mini": { + "inputCostPerMillion": 0.25, + "outputCostPerMillion": 2.0, + "category": "GPT-5 models" + }, + "gpt-5.1": { + "inputCostPerMillion": 1.25, + "outputCostPerMillion": 10.0, + "category": "GPT-5 models" + }, + "gpt-5.1-codex": { + "inputCostPerMillion": 1.25, + "outputCostPerMillion": 10.0, + "category": "GPT-5 models" + }, + "gpt-5.1-codex-max": { "inputCostPerMillion": 1.75, "outputCostPerMillion": 14.0, "category": "GPT-5 models" }, - "gpt-5-mini": { + "gpt-5.1-codex-mini": { "inputCostPerMillion": 0.25, "outputCostPerMillion": 2.0, "category": "GPT-5 models" }, + "gpt-5.2": { + "inputCostPerMillion": 1.75, + "outputCostPerMillion": 14.0, + "category": "GPT-5 models" + }, "gpt-4": { "inputCostPerMillion": 3.0, "outputCostPerMillion": 12.0, @@ -78,11 +108,31 @@ "outputCostPerMillion": 15.0, "category": "Claude models (Anthropic)" }, + "claude-sonnet-4.5": { + "inputCostPerMillion": 3.0, + "outputCostPerMillion": 15.0, + "category": "Claude models (Anthropic)" + }, "claude-haiku": { "inputCostPerMillion": 0.25, "outputCostPerMillion": 1.25, "category": "Claude models (Anthropic)" }, + "claude-haiku-4.5": { + "inputCostPerMillion": 1.0, + "outputCostPerMillion": 5.0, + "category": "Claude models (Anthropic)" + }, + "claude-opus-4.1": { + "inputCostPerMillion": 15.0, + "outputCostPerMillion": 75.0, + "category": "Claude models (Anthropic)" + }, + "claude-opus-4.5": { + "inputCostPerMillion": 5.0, + "outputCostPerMillion": 25.0, + "category": "Claude models (Anthropic)" + }, "o3-mini": { "inputCostPerMillion": 4.0, "outputCostPerMillion": 16.0, @@ -112,6 +162,16 @@ "inputCostPerMillion": 2.0, "outputCostPerMillion": 12.0, "category": "Google Gemini models" + }, + "grok-code-fast-1": { + "inputCostPerMillion": 0.20, + "outputCostPerMillion": 1.50, + "category": "xAI Grok models" + }, + "raptor-mini": { + "inputCostPerMillion": 0.25, + "outputCostPerMillion": 2.0, + "category": "GitHub Copilot fine-tuned models" } } } diff --git a/src/tokenEstimators.json b/src/tokenEstimators.json index 05ba0309..c51380ea 100644 --- a/src/tokenEstimators.json +++ b/src/tokenEstimators.json @@ -8,13 +8,26 @@ "gpt-4o-mini": 0.25, "gpt-3.5-turbo": 0.25, "gpt-5": 0.25, + "gpt-5-codex": 0.25, + "gpt-5-mini": 0.25, + "gpt-5.1": 0.25, + "gpt-5.1-codex": 0.25, + "gpt-5.1-codex-max": 0.25, + "gpt-5.1-codex-mini": 0.25, + "gpt-5.2": 0.25, "claude-sonnet-3.5": 0.24, "claude-sonnet-3.7": 0.24, "claude-sonnet-4": 0.24, + "claude-sonnet-4.5": 0.24, "claude-haiku": 0.24, + "claude-haiku-4.5": 0.24, + "claude-opus-4.1": 0.24, + "claude-opus-4.5": 0.24, "gemini-2.5-pro": 0.25, "gemini-3-flash": 0.25, "gemini-3-pro": 0.25, + "grok-code-fast-1": 0.25, + "raptor-mini": 0.25, "o3-mini": 0.25, "o4-mini": 0.25 }