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 branch 'main' into litellm_v1_messages_claude_4_6

Sameer Kankuteef55d37bf01e
diff --cc litellm/llms/anthropic/experimental_pass_through/messages/transformation.py
index 9e28c139686,a48d1622155..7d93e184090
--- a/litellm/llms/anthropic/experimental_pass_through/messages/transformation.py
+++ b/litellm/llms/anthropic/experimental_pass_through/messages/transformation.py
@@@ -46,8 -46,7 +46,12 @@@ class AnthropicMessagesConfig(BaseAnthr
"thinking",
"context_management",
"output_format",
++<<<<<<< litellm_v1_messages_claude_4_6
+ "inference_geo",
+ "speed",
++=======
+ "output_config",
++>>>>>>> main
# TODO: Add Anthropic `metadata` support
# "metadata",
]
diff --cc litellm/types/llms/anthropic.py
index 84ac01a4ece,6c47a544739..cef9c450423
--- a/litellm/types/llms/anthropic.py
+++ b/litellm/types/llms/anthropic.py
@@@ -361,7 -360,7 +361,8 @@@ class AnthropicMessagesRequestOptionalP
context_management: Optional[Dict[str, Any]]
container: Optional[Dict[str, Any]] # Container config with skills for code execution
output_format: Optional[AnthropicOutputSchema] # Structured outputs support
+ speed: Optional[str] # Fast mode support for Opus models
+ output_config: Optional[AnthropicOutputConfig] # Configuration for Claude's output behavior
class AnthropicMessagesRequest(AnthropicMessagesRequestOptionalParams, total=False):