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]

Merge remote-tracking branch 'origin/litellm_internal_staging' into litellm_registry_audit_bedrock_sol_anthropic_1hr

Devin AI0cc407a02d4a
diff --cc tests/test_litellm/llms/bedrock_mantle/test_bedrock_mantle_responses_transformation.py
index ed7965ff638,6a6fb8e3730..a8a20670d4e
--- a/tests/test_litellm/llms/bedrock_mantle/test_bedrock_mantle_responses_transformation.py
+++ b/tests/test_litellm/llms/bedrock_mantle/test_bedrock_mantle_responses_transformation.py
@@@ -1681,17 -1681,8 +1681,17 @@@ class TestBedrockMantleResponsesPricing
assert info["input_cost_per_token"] == pytest.approx(2.75e-06)
assert info["output_cost_per_token"] == pytest.approx(1.65e-05)
assert info["cache_read_input_token_cost"] == pytest.approx(2.75e-07)
- assert info["max_input_tokens"] == 272000
+ assert info["max_input_tokens"] == 1050000
+ def test_gpt_5_6_cyber_pricing_and_mode(self, local_cost_map):
+ info = litellm.get_model_info("bedrock_mantle/openai.gpt-5.6-cyber")
+ assert info["mode"] == "responses"
+ assert info["input_cost_per_token"] == pytest.approx(1.375e-05)
+ assert info["cache_creation_input_token_cost"] == pytest.approx(1.71875e-05)
+ assert info["cache_read_input_token_cost"] == pytest.approx(1.375e-06)
+ assert info["output_cost_per_token"] == pytest.approx(8.25e-05)
+ assert info["max_input_tokens"] == 272000
+
@pytest.mark.parametrize(
"model, input_cost, cache_creation_cost, cache_read_cost, output_cost",
[