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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix(cost): price typesafe/jev-1.14.0 (#46594)
Mike Hyams9d72bae336ec
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.jsonindex 76cb0b60c6d..3c65acb07ea 100644--- a/litellm/model_prices_and_context_window_backup.json+++ b/litellm/model_prices_and_context_window_backup.json@@ -69844,6 +69844,15 @@"typesafe/jev-1.13.0": {"input_cost_per_token": 4.2e-08,"litellm_provider": "typesafe",+ "max_input_tokens": 65536,+ "mode": "evaluation",+ "output_cost_per_token": 0.0,+ "source": "https://docs.typesafe.ai/models"+ },+ "typesafe/jev-1.14.0": {+ "input_cost_per_token": 4.2e-08,+ "litellm_provider": "typesafe",+ "max_input_tokens": 65536,"mode": "evaluation","output_cost_per_token": 0.0,"source": "https://docs.typesafe.ai/models"@@ -69851,6 +69860,7 @@"typesafe/jev-latest": {"input_cost_per_token": 4.2e-08,"litellm_provider": "typesafe",+ "max_input_tokens": 65536,"mode": "evaluation","output_cost_per_token": 0.0,"source": "https://docs.typesafe.ai/models"@@ -69858,6 +69868,7 @@"typesafe/jev-preview": {"input_cost_per_token": 4.2e-08,"litellm_provider": "typesafe",+ "max_input_tokens": 65536,"mode": "evaluation","output_cost_per_token": 0.0,"source": "https://docs.typesafe.ai/models"diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.jsonindex 76cb0b60c6d..3c65acb07ea 100644--- a/model_prices_and_context_window.json+++ b/model_prices_and_context_window.json@@ -69844,6 +69844,15 @@"typesafe/jev-1.13.0": {"input_cost_per_token": 4.2e-08,"litellm_provider": "typesafe",+ "max_input_tokens": 65536,+ "mode": "evaluation",+ "output_cost_per_token": 0.0,+ "source": "https://docs.typesafe.ai/models"+ },+ "typesafe/jev-1.14.0": {+ "input_cost_per_token": 4.2e-08,+ "litellm_provider": "typesafe",+ "max_input_tokens": 65536,"mode": "evaluation","output_cost_per_token": 0.0,"source": "https://docs.typesafe.ai/models"@@ -69851,6 +69860,7 @@"typesafe/jev-latest": {"input_cost_per_token": 4.2e-08,"litellm_provider": "typesafe",+ "max_input_tokens": 65536,"mode": "evaluation","output_cost_per_token": 0.0,"source": "https://docs.typesafe.ai/models"@@ -69858,6 +69868,7 @@"typesafe/jev-preview": {"input_cost_per_token": 4.2e-08,"litellm_provider": "typesafe",+ "max_input_tokens": 65536,"mode": "evaluation","output_cost_per_token": 0.0,"source": "https://docs.typesafe.ai/models"diff --git a/tests/unit/test_typesafe_model_metadata.py b/tests/unit/test_typesafe_model_metadata.pyindex a27180afbe9..3c0e2572acb 100644--- a/tests/unit/test_typesafe_model_metadata.py+++ b/tests/unit/test_typesafe_model_metadata.py@@ -10,8 +10,10 @@ def local_model_cost_map(monkeypatch: pytest.MonkeyPatch):def test_typesafe_models_share_pricing_and_provider_metadata():- entries = [litellm.model_cost[f"typesafe/{model}"] for model in ("jev-1.13.0", "jev-latest", "jev-preview")]+ models = ("jev-1.13.0", "jev-1.14.0", "jev-latest", "jev-preview")+ entries = [litellm.model_cost[f"typesafe/{model}"] for model in models]assert {entry["input_cost_per_token"] for entry in entries} == {entries[0]["input_cost_per_token"]}assert {entry["output_cost_per_token"] for entry in entries} == {entries[0]["output_cost_per_token"]}assert {entry["litellm_provider"] for entry in entries} == {"typesafe"}+ assert {entry["max_input_tokens"] for entry in entries} == {entries[0]["max_input_tokens"]}