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]

612 B
Raw Blame

rules

  • Owns Anthropic provider policy: credentials, OAuth handling, endpoint resolution, beta requirements, model capabilities and transformations
  • Paths, header names and default headers come from litellm_llms_types::providers::anthropic
  • Choose auth and required headers here. Shared infrastructure applies them
  • ReplayedWebSearchResult and ReplayedWebSearchContent are private partial models for replay flattening. Keep them private while they only serve that transformation

references