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
[Docs] - v1.77.3 (#14751)
Ishaan Jaff10de012e12b7
diff --git a/cookbook/misc/RELEASE_NOTES_GENERATION_INSTRUCTIONS.md b/cookbook/misc/RELEASE_NOTES_GENERATION_INSTRUCTIONS.mdindex f24bc8f129e..b0a24ef28e9 100644--- a/cookbook/misc/RELEASE_NOTES_GENERATION_INSTRUCTIONS.md+++ b/cookbook/misc/RELEASE_NOTES_GENERATION_INSTRUCTIONS.md@@ -4,10 +4,10 @@ This document provides comprehensive instructions for AI agents to generate rele## Required Inputs-1. **Release Version** (e.g., `v1.76.3-stable`)+1. **Release Version** (e.g., `v1.77.3-stable`)2. **PR Diff/Changelog** - List of PRs with titles and contributors3. **Previous Version Commit Hash** - To compare model pricing changes-4. **Reference Release Notes** - Previous release notes to follow style/format+4. **Reference Release Notes** - Use recent stable releases (v1.76.3-stable, v1.77.2-stable) as templates for consistent formatting## Step-by-Step Process@@ -26,12 +26,12 @@ git diff <previous_commit_hash> HEAD -- model_prices_and_context_window.json### 2. Release Notes Structure-Follow this exact structure based on `docs/my-website/release_notes/v1.76.1-stable/index.md`:+Follow this exact structure based on recent stable releases (v1.76.3-stable, v1.77.2-stable):```markdown----title: "v1.76.X-stable - [Key Theme]"-slug: "v1-76-X"+title: "v1.77.X-stable - [Key Theme]"+slug: "v1-77-X"date: YYYY-MM-DDTHH:mm:ssauthors: [standard author block]hide_table_of_contents: false@@ -43,23 +43,42 @@ hide_table_of_contents: false## Key Highlights[3-5 bullet points of major features]-## Major Changes-[Critical changes users need to know]+## New Models / Updated Models+#### New Model Support+[Model pricing table]-## Performance Improvements-[Performance-related changes]+#### Features+[Provider-specific features organized by provider]-## New Models / Updated Models-[Detailed model tables and provider updates]+### Bug Fixes+[Provider-specific bug fixes organized by provider]++#### New Provider Support+[New provider integrations]## LLM API Endpoints-[API-related features and fixes]+#### Features+[API-specific features organized by API type]++#### Bugs+[General bug fixes]## Management Endpoints / UI-[Admin interface and management changes]+#### Features+[UI and management features]++#### Bugs+[Management-related bug fixes]## Logging / Guardrail Integrations-[Observability and security features]+#### Features+[Organized by integration provider with proper doc links]++#### Guardrails+[Guardrail-specific features and fixes]++#### New Integration+[Major new integrations]## Performance / Loadbalancing / Reliability improvements[Infrastructure improvements]@@ -86,21 +105,27 @@ hide_table_of_contents: false**New Models/Updated Models:**- Extract from model_prices_and_context_window.json diff- Create tables with: Provider, Model, Context Window, Input Cost, Output Cost, Features-- Group by provider-- Note pricing corrections-- Highlight deprecated models--**Provider Features:**-- Group by provider (Gemini, OpenAI, Anthropic, etc.)-- Link to provider docs: `../../docs/providers/[provider_name]`-- Separate features from bug fixes--**API Endpoints:**-- Images API-- Video Generation (if applicable)-- Responses API-- Passthrough endpoints-- General chat completions+- **Structure:**+ - `#### New Model Support` - pricing table+ - `#### Features` - organized by provider with documentation links+ - `### Bug Fixes` - provider-specific bug fixes+ - `#### New Provider Support` - major new provider integrations+- Group by provider with proper doc links: `**[Provider Name](../../docs/providers/[provider])**`+- Use bullet points under each provider for multiple features+- Separate features from bug fixes clearly++**LLM API Endpoints:**+- **Structure:**+ - `#### Features` - organized by API type (Responses API, Batch API, etc.)+ - `#### Bugs` - general bug fixes under **General** category+- **API Categories:**+ - Responses API+ - Batch API+ - CountTokens API+ - Images API+ - Video Generation (if applicable)+ - General (miscellaneous improvements)+- Use proper documentation links for each API type**UI/Management:**- Authentication changes@@ -108,11 +133,19 @@ hide_table_of_contents: false- Team management- Key management-**Integrations:**-- Logging providers (Datadog, Braintrust, etc.)-- Guardrails-- Cost tracking-- Observability+**Logging / Guardrail Integrations:**+- **Structure:**+ - `#### Features` - organized by integration provider with proper doc links+ - `#### Guardrails` - guardrail-specific features and fixes+ - `#### New Integration` - major new integrations+- **Integration Categories:**+ - **[DataDog](../../docs/proxy/logging#datadog)** - group all DataDog-related changes+ - **[Langfuse](../../docs/proxy/logging#langfuse)** - Langfuse-specific features+ - **[Prometheus](../../docs/proxy/logging#prometheus)** - monitoring improvements+ - **[PostHog](../../docs/observability/posthog)** - observability integration+ - Other logging providers with proper doc links+- Use bullet points under each provider for multiple features+- Separate logging features from guardrails clearly### 4. Documentation Linking Strategy@@ -211,10 +244,41 @@ This release has a known issue...:::```-**Provider Features:**+**Provider Features (New Models / Updated Models section):**```markdown+#### Features+- **[Provider Name](../../docs/providers/provider)**- Feature description - [PR #XXXXX](link)+ - Another feature description - [PR #YYYYY](link)+```++**API Features (LLM API Endpoints section):**+```markdown+#### Features++- **[API Name](../../docs/api_path)**+ - Feature description - [PR #XXXXX](link)+ - Another feature - [PR #YYYYY](link)+- **General**+ - Miscellaneous improvements - [PR #ZZZZZ](link)+```++**Integration Features (Logging / Guardrail Integrations section):**+```markdown+#### Features++- **[Integration Name](../../docs/proxy/logging#integration)**+ - Feature description - [PR #XXXXX](link)+ - Bug fix description - [PR #YYYYY](link)+```++**Bug Fixes Pattern:**+```markdown+### Bug Fixes++- **[Provider/Component Name](../../docs/providers/provider)**+ - Bug fix description - [PR #XXXXX](link)```### 10. Missing Documentation Checkdiff --git a/docs/my-website/release_notes/v1.77.3-stable/index.md b/docs/my-website/release_notes/v1.77.3-stable/index.mdnew file mode 100644index 00000000000..d4f4d01c234--- /dev/null+++ b/docs/my-website/release_notes/v1.77.3-stable/index.md@@ -0,0 +1,251 @@+---+title: "[Preview] v1.77.3-stable - Priority Based Rate Limiting"+slug: "v1-77-3"+date: 2025-09-21T10:00:00+authors:+ - name: Krrish Dholakia+ title: CEO, LiteLLM+ url: https://www.linkedin.com/in/krish-d/+ image_url: https://pbs.twimg.com/profile_images/1298587542745358340/DZv3Oj-h_400x400.jpg+ - name: Ishaan Jaff+ title: CTO, LiteLLM+ url: https://www.linkedin.com/in/reffajnaahsi/+ image_url: https://pbs.twimg.com/profile_images/1613813310264340481/lz54oEiB_400x400.jpg++hide_table_of_contents: false+---++import Image from '@theme/IdealImage';+import Tabs from '@theme/Tabs';+import TabItem from '@theme/TabItem';++## Deploy this version++:::info++This release is not live yet.++:::++<Tabs>+<TabItem value="docker" label="Docker">++``` showLineNumbers title="docker run litellm"+```++</TabItem>++<TabItem value="pip" label="Pip">++``` showLineNumbers title="pip install litellm"+```++</TabItem>+</Tabs>++---++## Key Highlights++- **+550 RPS Performance Improvements** - Optimizations in request handling and object initialization+- **Priority Based Rate Limiting** - Improved rate limiting for high-traffic scenarios+++## New Models / Updated Models++#### New Model Support++| Provider | Model | Context Window | Input ($/1M tokens) | Output ($/1M tokens) | Features |+| -------- | ----- | -------------- | ------------------- | -------------------- | -------- |+| SambaNova | `sambanova/deepseek-v3.1` | 128K | $0.90 | $0.90 | Chat completions |+| SambaNova | `sambanova/gpt-oss-120b` | 128K | $0.72 | $0.72 | Chat completions |+| OVHCloud | Various models | Varies | Contact provider | Contact provider | Chat completions |+| CompactifAI | Various models | Varies | Contact provider | Contact provider | Chat completions |+| TwelveLabs | `twelvelabs/marengo-embed-2.7` | 32K | $0.12 | $0.00 | Embeddings |++#### Features++- **[OVHCloud AI Endpoints](../../docs/providers/ovhcloud)**+ - New provider support with comprehensive model catalog - [PR #14494](https://github.com/BerriAI/litellm/pull/14494)+- **[CompactifAI](../../docs/providers/compactifai)**+ - New provider integration - [PR #14532](https://github.com/BerriAI/litellm/pull/14532)+- **[SambaNova](../../docs/providers/sambanova)**+ - Added DeepSeek v3.1 and GPT-OSS-120B models - [PR #14500](https://github.com/BerriAI/litellm/pull/14500)+- **[Bedrock](../../docs/providers/bedrock)**+ - Cross-region inference profile cost calculation - [PR #14566](https://github.com/BerriAI/litellm/pull/14566)+ - AWS external ID parameter support for authentication - [PR #14582](https://github.com/BerriAI/litellm/pull/14582)+ - CountTokens API implementation - [PR #14557](https://github.com/BerriAI/litellm/pull/14557)+ - Titan V2 encoding_format parameter support - [PR #14687](https://github.com/BerriAI/litellm/pull/14687)+ - Nova Canvas image generation inference profiles - [PR #14578](https://github.com/BerriAI/litellm/pull/14578)+ - Bedrock Batches API - batch processing support with file upload and request transformation - [PR #14618](https://github.com/BerriAI/litellm/pull/14618)+ - Bedrock Twelve Labs embedding provider support - [PR #14697](https://github.com/BerriAI/litellm/pull/14697)+- **[Vertex AI](../../docs/providers/vertex)**+ - Gemini labels field provider-aware filtering - [PR #14563](https://github.com/BerriAI/litellm/pull/14563)+ - Gemini Batch API support - [PR #14733](https://github.com/BerriAI/litellm/pull/14733)+- **[Volcengine](../../docs/providers/volcengine)**+ - Fixed thinking parameters when disabled - [PR #14569](https://github.com/BerriAI/litellm/pull/14569)+- **[Cohere](../../docs/providers/cohere)**+ - Handle Generate API deprecation, default to chat endpoints - [PR #14676](https://github.com/BerriAI/litellm/pull/14676)+- **[TwelveLabs](../../docs/providers/twelvelabs)**+ - Added Marengo Embed 2.7 embedding support - [PR #14674](https://github.com/BerriAI/litellm/pull/14674)++### Bug Fixes++- **[Bedrock](../../docs/providers/bedrock)**+ - Empty arguments handling in tool call invocation - [PR #14583](https://github.com/BerriAI/litellm/pull/14583)+- **[Vertex AI](../../docs/providers/vertex)**+ - Avoid deepcopy crash with non-pickleables in Gemini/Vertex - [PR #14418](https://github.com/BerriAI/litellm/pull/14418)+- **[XAI](../../docs/providers/xai)**+ - Fix unsupported stop parameter for grok-code models - [PR #14565](https://github.com/BerriAI/litellm/pull/14565)+- **[Gemini](../../docs/providers/gemini)**+ - Updated error message for Gemini API - [PR #14589](https://github.com/BerriAI/litellm/pull/14589)+ - Fixed 2.5 Flash Image Preview model routing - [PR #14715](https://github.com/BerriAI/litellm/pull/14715)+ - API key passing for token counting endpoints - [PR #14744](https://github.com/BerriAI/litellm/pull/14744)++#### New Provider Support++- **[OVHCloud AI Endpoints](../../docs/providers/ovhcloud)**+ - Complete provider integration with model catalog and authentication - [PR #14494](https://github.com/BerriAI/litellm/pull/14494)+- **[CompactifAI](../../docs/providers/compactifai)**+ - New provider support with documentation - [PR #14532](https://github.com/BerriAI/litellm/pull/14532)++---++## LLM API Endpoints++#### Features++- **[/responses](../../docs/response_api)**+ - Added cancel endpoint support for non-admin users - [PR #14594](https://github.com/BerriAI/litellm/pull/14594)+ - Improved response session handling and cold storage configuration with s3 - [PR #14534](https://github.com/BerriAI/litellm/pull/14534)+ - Added OpenAI & Azure /responses/cancel endpoint support - [PR #14561](https://github.com/BerriAI/litellm/pull/14561)+- **General**+ - Enhanced rate limit error messages with details - [PR #14736](https://github.com/BerriAI/litellm/pull/14736)+ - Middle-truncation for spend log payloads - [PR #14637](https://github.com/BerriAI/litellm/pull/14637)++#### Bugs++- **[/chat/completions](../../docs/completion/input)**+ - Fixed completion chat ID handling - [PR #14548](https://github.com/BerriAI/litellm/pull/14548)+ - Prevent AttributeError for _get_tags_from_request_kwargs - [PR #14735](https://github.com/BerriAI/litellm/pull/14735)+- **[/responses](../../docs/response_api)**+ - Fixed cost calculation - [PR #14675](https://github.com/BerriAI/litellm/pull/14675)+- **General**+ - Rate limiter AttributeError fix - [PR #14609](https://github.com/BerriAI/litellm/pull/14609)++---++## Spend Tracking, Budgets and Rate Limiting++- **Responses API Cost Calculation** fix - [PR #14675](https://github.com/BerriAI/litellm/pull/14675)+- **Anthropic Cache Token Pricing** - Separate 1-hour vs 5-minute cache creation costs - [PR #14620](https://github.com/BerriAI/litellm/pull/14620), [PR #14652](https://github.com/BerriAI/litellm/pull/14652)+- **Indochina Time Timezone** support for budget resets - [PR #14666](https://github.com/BerriAI/litellm/pull/14666)+- **Soft Budget Alert Cache Issues** - Resolved soft budget alert cache issues - [PR #14491](https://github.com/BerriAI/litellm/pull/14491)+- **Dynamic Rate Limiter v3** - Priority routing improvements - [PR #14734](https://github.com/BerriAI/litellm/pull/14734)+- **Enhanced Rate Limit Errors** - More detailed error messages - [PR #14736](https://github.com/BerriAI/litellm/pull/14736)++---++## Management Endpoints / UI++#### Features++- **Team Member Service Account Keys** - Allow team members to view keys they create - [PR #14619](https://github.com/BerriAI/litellm/pull/14619)+- **Default Budget for JWT Teams** - Auto-assign budgets to generated teams - [PR #14514](https://github.com/BerriAI/litellm/pull/14514)+- **SSO Access Control Groups** - Enhanced token info endpoint integration - [PR #14738](https://github.com/BerriAI/litellm/pull/14738)+- **Health Test Connect Protection** - Restrict access based on model creation permissions - [PR #14650](https://github.com/BerriAI/litellm/pull/14650)+- **Amazon Bedrock Guardrail Info View** - Enhanced logging visualization - [PR #14696](https://github.com/BerriAI/litellm/pull/14696)++#### Bug Fixes++- **SCIM v2** - Fix group PUSH and PUT operations for non-existent members - [PR #14581](https://github.com/BerriAI/litellm/pull/14581)+- **Guardrail View/Edit/Delete** behavior fixes - [PR #14622](https://github.com/BerriAI/litellm/pull/14622)+- **In-Memory Guardrail** update failures - [PR #14653](https://github.com/BerriAI/litellm/pull/14653)++---++## Logging / Guardrail Integrations++#### Features++- **[DataDog](../../docs/proxy/logging#datadog)**+ - Enhanced spend tracking metrics - [PR #14555](https://github.com/BerriAI/litellm/pull/14555)+ - Stream support with is_streamed_request parameter - [PR #14673](https://github.com/BerriAI/litellm/pull/14673)+ - Fixed tool calls metadata passing - [PR #14531](https://github.com/BerriAI/litellm/pull/14531)+- **[Langfuse](../../docs/proxy/logging#langfuse)**+ - Added logging support for Responses API - [PR #14597](https://github.com/BerriAI/litellm/pull/14597)+- **[Langsmith](../../docs/proxy/logging#langsmith)**+ - Langsmith Sampling Rate - Key/Team-level tracing configuration - [PR #14740](https://github.com/BerriAI/litellm/pull/14740)+- **[Prometheus](../../docs/proxy/logging#prometheus)**+ - Multi-worker support improvements - [PR #14530](https://github.com/BerriAI/litellm/pull/14530)+ - User email labels in monitoring - [PR #14520](https://github.com/BerriAI/litellm/pull/14520)+- **[Opik](../../docs/proxy/logging#opik)**+ - Fixed timezone issue - [PR #14708](https://github.com/BerriAI/litellm/pull/14708)++### Bug Fixes++- **[S3](../../docs/proxy/logging#s3-buckets)**+ - Fixed 404 error when using s3_endpoint_url - [PR #14559](https://github.com/BerriAI/litellm/pull/14559)++#### Guardrails++- **Tool Permission Guardrail** - Fine-grained tool access control - [PR #14519](https://github.com/BerriAI/litellm/pull/14519)+- **Bedrock Guardrails** - Selective guarding support with runtime endpoint configuration - [PR #14575](https://github.com/BerriAI/litellm/pull/14575), [PR #14650](https://github.com/BerriAI/litellm/pull/14650)+- **Default Last Message** in guardrails - [PR #14640](https://github.com/BerriAI/litellm/pull/14640)+- **AWS exceptions handling despite 200 response** - [PR #14658](https://github.com/BerriAI/litellm/pull/14658)+#### New Integration++- **[PostHog](../../docs/observability/posthog)** - Complete observability integration for LiteLLM usage tracking and analytics - [PR #14610](https://github.com/BerriAI/litellm/pull/14610)++---+++## MCP Gateway++- **MCP Server Alias Parsing** - Multi-part URL path support - [PR #14558](https://github.com/BerriAI/litellm/pull/14558)+- **MCP Filter Recomputation** - After server deletion - [PR #14542](https://github.com/BerriAI/litellm/pull/14542)+- **MCP Gateway Tools List** improvements - [PR #14695](https://github.com/BerriAI/litellm/pull/14695)++---++## Performance / Loadbalancing / Reliability improvements++- **+500 RPS Performance Boost** when sending the `user` field - [PR #14616](https://github.com/BerriAI/litellm/pull/14616)+- **+50 RPS** by removing iscoroutine from hot path - [PR #14649](https://github.com/BerriAI/litellm/pull/14649)+- **7% reduction** in __init__ overhead - [PR #14689](https://github.com/BerriAI/litellm/pull/14689)+- **Generic Object Pool** implementation for better resource management - [PR #14702](https://github.com/BerriAI/litellm/pull/14702)++---++## General Proxy Improvements++- **Middle-Truncation** for spend log payloads - [PR #14637](https://github.com/BerriAI/litellm/pull/14637)++#### Security++- **Security Update** - Bump aiohttp==3.12.14, fix CVE-2025-53643 - [PR #14638](https://github.com/BerriAI/litellm/pull/14638)++---++## New Contributors++* @luisfucros made their first contribution in [PR #14500](https://github.com/BerriAI/litellm/pull/14500)+* @hanakannzashi made their first contribution in [PR #14548](https://github.com/BerriAI/litellm/pull/14548)+* @eliasto made their first contribution in [PR #14494](https://github.com/BerriAI/litellm/pull/14494)+* @Rasmusafj made their first contribution in [PR #14491](https://github.com/BerriAI/litellm/pull/14491)+* @LingXuanYin made their first contribution in [PR #14569](https://github.com/BerriAI/litellm/pull/14569)+* @ronaldpereira made their first contribution in [PR #14613](https://github.com/BerriAI/litellm/pull/14613)+* @hula-la made their first contribution in [PR #14534](https://github.com/BerriAI/litellm/pull/14534)+* @carlos-marchal-ph made their first contribution in [PR #14610](https://github.com/BerriAI/litellm/pull/14610)+* @akraines made their first contribution in [PR #14637](https://github.com/BerriAI/litellm/pull/14637)+* @mrFranklin made their first contribution in [PR #14708](https://github.com/BerriAI/litellm/pull/14708)+* @tcx4c70 made their first contribution in [PR #14675](https://github.com/BerriAI/litellm/pull/14675)+* @michaeltansg made their first contribution in [PR #14666](https://github.com/BerriAI/litellm/pull/14666)+* @tosi29 made their first contribution in [PR #14725](https://github.com/BerriAI/litellm/pull/14725)+* @gmdfalk made their first contribution in [PR #14735](https://github.com/BerriAI/litellm/pull/14735)+* @FelipeRodriguesGare made their first contribution in [PR #14733](https://github.com/BerriAI/litellm/pull/14733)+* @mritunjaysharma394 made their first contribution in [PR #14678](https://github.com/BerriAI/litellm/pull/14678)++---++## **[Full Changelog](https://github.com/BerriAI/litellm/compare/v1.77.2.rc.1...v1.77.3.rc.1)**