diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json index 5f98c0e68b..99b49502c7 100644 --- a/litellm/model_prices_and_context_window_backup.json +++ b/litellm/model_prices_and_context_window_backup.json @@ -4671,6 +4671,22 @@ "litellm_provider": "openrouter", "mode": "chat" }, + "openrouter/openai/o1": { + "max_tokens": 100000, + "max_input_tokens": 200000, + "max_output_tokens": 100000, + "input_cost_per_token": 0.000015, + "output_cost_per_token": 0.00006, + "cache_read_input_token_cost": 0.0000075, + "litellm_provider": "openrouter", + "mode": "chat", + "supports_function_calling": true, + "supports_parallel_function_calling": true, + "supports_vision": true, + "supports_prompt_caching": true, + "supports_system_messages": true, + "supports_response_schema": true + }, "openrouter/openai/o1-mini": { "max_tokens": 65536, "max_input_tokens": 128000, diff --git a/tests/test_openai_endpoints.py b/tests/test_openai_endpoints.py index 4dbeda188e..6706e4d9f7 100644 --- a/tests/test_openai_endpoints.py +++ b/tests/test_openai_endpoints.py @@ -1,5 +1,5 @@ # What this tests ? -## Tests /chat/completions by generating a key and then making a chat completions request +## Tests /chat/completions by generating a key and then making a chat completions-request import pytest import asyncio import aiohttp, openai