Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

(models): Add chatgpt-4o-latest.

David Manouchehri9617e578f3d2
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json
index 455fe1e3c59..e31e6b3f4f6 100644
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@ -57,6 +57,18 @@
"supports_parallel_function_calling": true,
"supports_vision": true
},
+ "chatgpt-4o-latest": {
+ "max_tokens": 4096,
+ "max_input_tokens": 128000,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 0.000005,
+ "output_cost_per_token": 0.000015,
+ "litellm_provider": "openai",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_parallel_function_calling": true,
+ "supports_vision": true
+ },
"gpt-4o-2024-05-13": {
"max_tokens": 4096,
"max_input_tokens": 128000,
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index 455fe1e3c59..e31e6b3f4f6 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -57,6 +57,18 @@
"supports_parallel_function_calling": true,
"supports_vision": true
},
+ "chatgpt-4o-latest": {
+ "max_tokens": 4096,
+ "max_input_tokens": 128000,
+ "max_output_tokens": 4096,
+ "input_cost_per_token": 0.000005,
+ "output_cost_per_token": 0.000015,
+ "litellm_provider": "openai",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_parallel_function_calling": true,
+ "supports_vision": true
+ },
"gpt-4o-2024-05-13": {
"max_tokens": 4096,
"max_input_tokens": 128000,