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]

[Docs] 1.74.6.rc note (#12765)

Ishaan Jaff4b13e3e2148a
diff --git a/docs/my-website/release_notes/v1.74.6/index.md b/docs/my-website/release_notes/v1.74.6/index.md
new file mode 100644
index 00000000000..02c4b4935b2
--- /dev/null
+++ b/docs/my-website/release_notes/v1.74.6/index.md
@@ -0,0 +1,333 @@
+---
+title: "v1.74.6"
+slug: "v1-74-6"
+date: 2025-07-19T10: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 Jaffer
+ 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
+
+<Tabs>
+<TabItem value="docker" label="Docker">
+
+``` showLineNumbers title="docker run litellm"
+docker run \
+-e STORE_MODEL_IN_DB=True \
+-p 4000:4000 \
+ghcr.io/berriai/litellm:v1.74.6
+```
+</TabItem>
+
+<TabItem value="pip" label="Pip">
+
+``` showLineNumbers title="pip install litellm"
+pip install litellm==1.74.6
+```
+
+</TabItem>
+</Tabs>
+
+---
+
+## Key Highlights
+
+
+- **Vector Stores** - Support for Vertex RAG Engine, PG Vector, OpenAI & Azure OpenAI Vector Stores.
+- **Health Check Improvements** - Separate health check app on dedicated port for better Kubernetes liveness probes.
+- **Control Plane + Data Plane Architecture** - Enhanced proxy architecture for better scalability and separation of concerns.
+- **New LLM Providers** - Added Moonshot API `moonshot` and `v0` provider support.
+
+---
+
+## MCP Gateway: Enhanced Namespacing
+
+v1.74.6 introduces improved URL-based namespacing for MCP servers, enabling better segregation and organization of MCP tools across different environments and teams.
+
+Key features include:
+- **URL-based namespacing**: Better isolation between different MCP server instances
+- **Access group improvements**: Enhanced management of MCP server access through configuration
+- **Tool permission management**: Improved object permissions when updating/deleting keys and teams
+
+Read more [here](https://docs.litellm.ai/docs/mcp#grouping-mcps-access-groups)
+
+---
+
+## Vector Stores API
+
+v1.74.6 introduces OpenAI-compatible vector store endpoints, bringing powerful vector search capabilities to the LiteLLM proxy.
+
+**New Endpoints:**
+- `/v1/vector_stores` - Create and manage vector stores
+- `/v1/vector_stores/{vector_store_id}/search` - Perform vector searches
+
+**Supported Providers:**
+- **Vertex RAG Engine** - Google's managed RAG solution
+- **PG Vector** - PostgreSQL vector extension support
+- **OpenAI Vector Stores** - Full OpenAI compatibility
+- **Azure AI Search** - Microsoft's vector search service
+
+This enables developers to easily integrate vector search capabilities into their applications while maintaining compatibility with OpenAI's vector store API.
+
+[Get started](../../docs/proxy/vector_stores)
+
+---
+
+## Control Plane + Data Plane Architecture
+
+
+---
+
+## New Models / Updated Models
+
+#### Pricing / Context Window Updates
+
+| Provider | Model | Context Window | Input ($/1M tokens) | Output ($/1M tokens) |
+| ----------- | -------------------------------------- | -------------- | ------------------- | -------------------- |
+| Azure AI | `azure_ai/grok-3` | 131k | $3.30 | $16.50 |
+| Azure AI | `azure_ai/global/grok-3` | 131k | $3.00 | $15.00 |
+| Azure AI | `azure_ai/global/grok-3-mini` | 131k | $0.25 | $1.27 |
+| Azure AI | `azure_ai/grok-3-mini` | 131k | $0.275 | $1.38 |
+| Azure AI | `azure_ai/jais-30b-chat` | 8k | $3200 | $9710 |
+| Groq | `groq/moonshotai-kimi-k2-instruct` | 131k | $1.00 | $3.00 |
+| AI21 | `jamba-large-1.7` | 256k | $2.00 | $8.00 |
+| AI21 | `jamba-mini-1.7` | 256k | $0.20 | $0.40 |
+| Together.ai | `together_ai/moonshotai/Kimi-K2-Instruct` | 131k | $1.00 | $3.00 |
+| v0 | `v0/v0-1.0-md` | 128k | $3.00 | $15.00 |
+| v0 | `v0/v0-1.5-md` | 128k | $3.00 | $15.00 |
+| v0 | `v0/v0-1.5-lg` | 512k | $15.00 | $75.00 |
+| Moonshot | `moonshot/moonshot-v1-8k` | 8k | $0.20 | $2.00 |
+| Moonshot | `moonshot/moonshot-v1-32k` | 32k | $1.00 | $3.00 |
+| Moonshot | `moonshot/moonshot-v1-128k` | 131k | $2.00 | $5.00 |
+| Moonshot | `moonshot/moonshot-v1-auto` | 131k | $2.00 | $5.00 |
+| Moonshot | `moonshot/kimi-k2-0711-preview` | 131k | $0.60 | $2.50 |
+| Moonshot | `moonshot/moonshot-v1-32k-0430` | 32k | $1.00 | $3.00 |
+| Moonshot | `moonshot/moonshot-v1-128k-0430` | 131k | $2.00 | $5.00 |
+| Moonshot | `moonshot/moonshot-v1-8k-0430` | 8k | $0.20 | $2.00 |
+| Moonshot | `moonshot/kimi-latest` | 131k | $2.00 | $5.00 |
+| Moonshot | `moonshot/kimi-latest-8k` | 8k | $0.20 | $2.00 |
+| Moonshot | `moonshot/kimi-latest-32k` | 32k | $1.00 | $3.00 |
+| Moonshot | `moonshot/kimi-latest-128k` | 131k | $2.00 | $5.00 |
+| Moonshot | `moonshot/kimi-thinking-preview` | 131k | $30.00 | $30.00 |
+| Moonshot | `moonshot/moonshot-v1-8k-vision-preview` | 8k | $0.20 | $2.00 |
+| Moonshot | `moonshot/moonshot-v1-32k-vision-preview` | 32k | $1.00 | $3.00 |
+| Moonshot | `moonshot/moonshot-v1-128k-vision-preview` | 131k | $2.00 | $5.00 |
+
+
+#### Features
+
+- **[🆕 Moonshot API (Kimi)](../../docs/providers/moonshot)**
+ - New LLM API integration for accessing Kimi models - [PR #12592](https://github.com/BerriAI/litellm/pull/12592), [Get Started](../../docs/providers/moonshot)
+- **[🆕 v0 Provider](../../docs/providers/v0)**
+ - New provider integration for v0.dev - [PR #12751](https://github.com/BerriAI/litellm/pull/12751), [Get Started](../../docs/providers/v0)
+- **[OpenAI](../../docs/providers/openai)**
+ - Use OpenAI DeepResearch models with `litellm.completion` (`/chat/completions`) - [PR #12627](https://github.com/BerriAI/litellm/pull/12627) **DOC NEEDED**
+ - Add `input_fidelity` parameter for OpenAI image generation - [PR #12662](https://github.com/BerriAI/litellm/pull/12662), [Get Started](../../docs/image_generation)
+- **[Azure OpenAI](../../docs/providers/azure_openai)**
+ - Use Azure OpenAI DeepResearch models with `litellm.completion` (`/chat/completions`) - [PR #12627](https://github.com/BerriAI/litellm/pull/12627) **DOC NEEDED**
+ - Added `response_format` support for openai gpt-4.1 models - [PR #12745](https://github.com/BerriAI/litellm/pull/12745)
+- **[Anthropic](../../docs/providers/anthropic)**
+ - Tool cache control support - [PR #12668](https://github.com/BerriAI/litellm/pull/12668)
+- **[Bedrock](../../docs/providers/bedrock)**
+ - Claude 4 /invoke route support - [PR #12599](https://github.com/BerriAI/litellm/pull/12599), [Get Started](../../docs/providers/bedrock)
+ - Application inference profile tool choice support - [PR #12599](https://github.com/BerriAI/litellm/pull/12599)
+- **[Gemini](../../docs/providers/gemini)**
+ - Custom TTL support for context caching - [PR #12541](https://github.com/BerriAI/litellm/pull/12541)
+ - Fix implicit caching cost calculation for Gemini 2.x models - [PR #12585](https://github.com/BerriAI/litellm/pull/12585)
+- **[VertexAI](../../docs/providers/vertex)**
+ - Added Vertex AI RAG Engine support (use with OpenAI compatible `/vector_stores` API) - [PR #12752](https://github.com/BerriAI/litellm/pull/12595), **DOC NEEDED**
+- **[vLLM](../../docs/providers/vllm)**
+ - Added support for using Rerank endpoints with vLLM - [PR #12738](https://github.com/BerriAI/litellm/pull/12738), **Doc Needed**
+- **[AI21](../../docs/providers/ai21)**
+ - Added ai21/jamba-1.7 model family pricing - [PR #12593](https://github.com/BerriAI/litellm/pull/12593), [Get Started](../../docs/providers/ai21)
+- **[Together.ai](../../docs/providers/together_ai)**
+ - [New Model] add together_ai/moonshotai/Kimi-K2-Instruct - [PR #12645](https://github.com/BerriAI/litellm/pull/12645), [Get Started](../../docs/providers/together_ai)
+- **[Groq](../../docs/providers/groq)**
+ - Add groq/moonshotai-kimi-k2-instruct model configuration - [PR #12648](https://github.com/BerriAI/litellm/pull/12648), [Get Started](../../docs/providers/groq)
+- **[Github Copilot](../../docs/providers/github_copilot)**
+ - Change System prompts to assistant prompts for GH Copilot - [PR #12742](https://github.com/BerriAI/litellm/pull/12742), [Get Started](../../docs/providers/github_copilot)
+
+
+#### Bugs
+- **[Anthropic](../../docs/providers/anthropic)**
+ - Fix streaming + response_format + tools bug - [PR #12463](https://github.com/BerriAI/litellm/pull/12463)
+- **[XAI](../../docs/providers/xai)**
+ - grok-4 does not support the `stop` param - [PR #12646](https://github.com/BerriAI/litellm/pull/12646)
+- **[AWS](../../docs/providers/bedrock)**
+ - Role chaining with web authentication for AWS Bedrock - [PR #12607](https://github.com/BerriAI/litellm/pull/12607)
+- **[VertexAI](../../docs/providers/vertex)**
+ - Add project_id to cached credentials - [PR #12661](https://github.com/BerriAI/litellm/pull/12661)
+- **[Bedrock](../../docs/providers/bedrock)**
+ - Fix bedrock nova micro and nova lite context window info in [PR #12619](https://github.com/BerriAI/litellm/pull/12619)
+
+---
+
+## LLM API Endpoints
+
+#### Features
+- **[/chat/completions](../../docs/completion/input)**
+ - Include tool calls in output of trim_messages - [PR #11517](https://github.com/BerriAI/litellm/pull/11517)
+- **[/v1/vector_stores](../../docs/proxy/vector_stores)**
+ - New OpenAI-compatible vector store endpoints - [PR #12699](https://github.com/BerriAI/litellm/pull/12699)
+ - Vector store search endpoint - [PR #12749](https://github.com/BerriAI/litellm/pull/12749)
+ - Support for using PG Vector as a vector store - [PR #12667](https://github.com/BerriAI/litellm/pull/12667)
+- **[/streamGenerateContent](../../docs/image_generation#streamgeneratecontent)**
+ - Non-gemini model support - [PR #12647](https://github.com/BerriAI/litellm/pull/12647)
+
+#### Bugs
+- **[/vector_stores](../../docs/proxy/vector_stores)**
+ - Knowledge Base Call returning error when passing as `tools` - [PR #12628](https://github.com/BerriAI/litellm/pull/12628)
+
+---
+
+## [MCP Gateway](../../docs/mcp)
+
+#### Features
+- **[Access Groups](../../docs/mcp#grouping-mcps-access-groups)**
+ - Allow MCP access groups to be added via litellm proxy config.yaml - [PR #12654](https://github.com/BerriAI/litellm/pull/12654)
+ - List tools from access list for keys - [PR #12657](https://github.com/BerriAI/litellm/pull/12657)
+- **[Namespacing](../../docs/mcp#mcp-namespacing)**
+ - URL-based namespacing for better segregation - [PR #12658](https://github.com/BerriAI/litellm/pull/12658)
+ - Make MCP_TOOL_PREFIX_SEPARATOR configurable from env - [PR #12603](https://github.com/BerriAI/litellm/pull/12603)
+- **[Gateway Features](../../docs/mcp#mcp-gateway-features)**
+ - Allow using MCPs with all LLM APIs (VertexAI, Gemini, Groq, etc.) when using /responses - [PR #12546](https://github.com/BerriAI/litellm/pull/12546)
+
+#### Bugs
+ - Fix to update object permission on update/delete key/team - [PR #12701](https://github.com/BerriAI/litellm/pull/12701)
+ - Include /mcp in list of available routes on proxy - [PR #12612](https://github.com/BerriAI/litellm/pull/12612)
+
+---
+
+## Management Endpoints / UI
+
+#### Features
+- **Keys**
+ - Regenerate Key State Management improvements - [PR #12729](https://github.com/BerriAI/litellm/pull/12729)
+- **Models**
+ - Wildcard model filter support - [PR #12597](https://github.com/BerriAI/litellm/pull/12597)
+ - Fixes for handling team only models on UI - [PR #12632](https://github.com/BerriAI/litellm/pull/12632)
+- **Usage Page**
+ - Fix Y-axis labels overlap on Spend per Tag chart - [PR #12754](https://github.com/BerriAI/litellm/pull/12754)
+- **Teams**
+ - Allow setting custom key duration + show key creation stats - [PR #12722](https://github.com/BerriAI/litellm/pull/12722)
+ - Enable team admins to update member roles - [PR #12629](https://github.com/BerriAI/litellm/pull/12629)
+- **Users**
+ - New `/user/bulk_update` endpoint - [PR #12720](https://github.com/BerriAI/litellm/pull/12720)
+- **Logs Page**
+ - Add `end_user` filter on UI Logs Page - [PR #12663](https://github.com/BerriAI/litellm/pull/12663)
+- **MCP Servers**
+ - Copy MCP Server name functionality - [PR #12760](https://github.com/BerriAI/litellm/pull/12760)
+- **Vector Stores**
+ - UI support for clicking into Vector Stores - [PR #12741](https://github.com/BerriAI/litellm/pull/12741)
+ - Allow adding Vertex RAG Engine, OpenAI, Azure through UI - [PR #12752](https://github.com/BerriAI/litellm/pull/12752)
+
+- **General**
+ - Add Copy-on-Click for all IDs (Key, Team, Organization, MCP Server) - [PR #12615](https://github.com/BerriAI/litellm/pull/12615)
+- **[SCIM](../../docs/proxy/scim)**
+ - Add GET /ServiceProviderConfig endpoint - [PR #12664](https://github.com/BerriAI/litellm/pull/12664)
+
+#### Bugs
+- **Teams**
+ - Ensure user id correctly added when creating new teams - [PR #12719](https://github.com/BerriAI/litellm/pull/12719)
+ - Fixes for handling team-only models on UI - [PR #12632](https://github.com/BerriAI/litellm/pull/12632)
+
+---
+
+## Logging / Guardrail Integrations
+
+#### Features
+- **[Google Cloud Model Armor](../../docs/proxy/guardrails/google_cloud_model_armor)**
+ - New guardrails integration - [PR #12492](https://github.com/BerriAI/litellm/pull/12492)
+- **[Bedrock Guardrails](../../docs/proxy/guardrails/bedrock)**
+ - Allow disabling exception on 'BLOCKED' action - [PR #12693](https://github.com/BerriAI/litellm/pull/12693)
+- **[Guardrails AI](../../docs/proxy/guardrails/guardrails_ai)**
+ - Support `llmOutput` based guardrails as pre-call hooks - [PR #12674](https://github.com/BerriAI/litellm/pull/12674)
+- **[DataDog LLM Observability](../../docs/proxy/logging#datadog)**
+ - Add support for tracking the correct span type based on LLM Endpoint used - [PR #12652](https://github.com/BerriAI/litellm/pull/12652)
+- **[Custom Logging](../../docs/proxy/logging)**
+ - Allow reading custom logger python scripts from S3 or GCS Bucket - [PR #12623](https://github.com/BerriAI/litellm/pull/12623)
+
+#### Bugs
+- **[General Logging](../../docs/proxy/logging)**
+ - StandardLoggingPayload on cache_hits should track custom llm provider - [PR #12652](https://github.com/BerriAI/litellm/pull/12652)
+- **[S3 Buckets](../../docs/proxy/logging#s3-buckets)**
+ - S3 v2 log uploader crashes when using with guardrails - [PR #12733](https://github.com/BerriAI/litellm/pull/12733)
+
+---
+
+## Performance / Loadbalancing / Reliability improvements
+
+#### Features
+- **Health Checks**
+ - Separate health app for liveness probes - [PR #12669](https://github.com/BerriAI/litellm/pull/12669)
+ - Health check app on separate port - [PR #12718](https://github.com/BerriAI/litellm/pull/12718)
+- **Caching**
+ - Add Azure Blob cache support - [PR #12587](https://github.com/BerriAI/litellm/pull/12587)
+- **Router**
+ - Handle ZeroDivisionError with zero completion tokens in lowest_latency strategy - [PR #12734](https://github.com/BerriAI/litellm/pull/12734)
+
+#### Bugs
+- **Database**
+ - Use upsert for managed object table to avoid UniqueViolationError - [PR #11795](https://github.com/BerriAI/litellm/pull/11795)
+ - Refactor to support use_prisma_migrate for helm hook - [PR #12600](https://github.com/BerriAI/litellm/pull/12600)
+- **Cache**
+ - Fix: redis caching for embedding response models - [PR #12750](https://github.com/BerriAI/litellm/pull/12750)
+
+---
+
+## Helm Chart
+
+- DB Migration Hook: refactor to support use_prisma_migrate - for helm hook [PR](https://github.com/BerriAI/litellm/pull/12600)
+- Add envVars and extraEnvVars support to Helm migrations job - [PR #12591](https://github.com/BerriAI/litellm/pull/12591)
+
+## General Proxy Improvements
+
+#### Features
+- **Control Plane + Data Plane Architecture**
+ - Control Plane + Data Plane support - [PR #12601](https://github.com/BerriAI/litellm/pull/12601)
+- **Proxy CLI**
+ - Add "keys import" command to CLI - [PR #12620](https://github.com/BerriAI/litellm/pull/12620)
+- **Swagger Documentation**
+ - Add swagger docs for LiteLLM /chat/completions, /embeddings, /responses - [PR #12618](https://github.com/BerriAI/litellm/pull/12618)
+- **Dependencies**
+ - Loosen rich version from ==13.7.1 to >=13.7.1 - [PR #12704](https://github.com/BerriAI/litellm/pull/12704)
+
+
+#### Bugs
+
+- Verbose log is enabled by default fix - [PR #12596](https://github.com/BerriAI/litellm/pull/12596)
+
+- Add support for disabling callbacks in request body - [PR #12762](https://github.com/BerriAI/litellm/pull/12762)
+- Handle circular references in spend tracking metadata JSON serialization - [PR #12643](https://github.com/BerriAI/litellm/pull/12643)
+
+---
+
+## New Contributors
+* @AntonioKL made their first contribution in https://github.com/BerriAI/litellm/pull/12591
+* @marcelodiaz558 made their first contribution in https://github.com/BerriAI/litellm/pull/12541
+* @dmcaulay made their first contribution in https://github.com/BerriAI/litellm/pull/12463
+* @demoray made their first contribution in https://github.com/BerriAI/litellm/pull/12587
+* @staeiou made their first contribution in https://github.com/BerriAI/litellm/pull/12631
+* @stefanc-ai2 made their first contribution in https://github.com/BerriAI/litellm/pull/12622
+* @RichardoC made their first contribution in https://github.com/BerriAI/litellm/pull/12607
+* @yeahyung made their first contribution in https://github.com/BerriAI/litellm/pull/11795
+* @mnguyen96 made their first contribution in https://github.com/BerriAI/litellm/pull/12619
+* @rgambee made their first contribution in https://github.com/BerriAI/litellm/pull/11517
+* @jvanmelckebeke made their first contribution in https://github.com/BerriAI/litellm/pull/12725
+* @jlaurendi made their first contribution in https://github.com/BerriAI/litellm/pull/12704
+* @doublerr made their first contribution in https://github.com/BerriAI/litellm/pull/12661
+
+## **[Full Changelog](https://github.com/BerriAI/litellm/compare/v1.74.3-stable...v1.74.6.rc)**
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json
index 0738f453b2d..88b9f8f9bfe 100644
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@ -13509,6 +13509,9 @@
"together_ai/deepseek-ai/DeepSeek-V3": {
"input_cost_per_token": 1.25e-06,
"output_cost_per_token": 1.25e-06,
+ "max_tokens": 8192,
+ "max_input_tokens": 65536,
+ "max_output_tokens": 8192,
"litellm_provider": "together_ai",
"supports_function_calling": true,
"supports_parallel_function_calling": true,
@@ -13518,6 +13521,9 @@
"together_ai/deepseek-ai/DeepSeek-R1": {
"input_cost_per_token": 3e-06,
"output_cost_per_token": 7e-06,
+ "max_tokens": 20480,
+ "max_input_tokens": 128000,
+ "max_output_tokens": 20480,
"litellm_provider": "together_ai",
"supports_function_calling": true,
"supports_parallel_function_calling": true,
@@ -16194,6 +16200,8 @@
"max_tokens": 8192,
"max_input_tokens": 8192,
"max_output_tokens": 8192,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-06,
"litellm_provider": "moonshot",
"supports_function_calling": true,
"supports_tool_choice": true,
@@ -16204,6 +16212,8 @@
"max_tokens": 32768,
"max_input_tokens": 32768,
"max_output_tokens": 32768,
+ "input_cost_per_token": 1e-06,
+ "output_cost_per_token": 3e-06,
"litellm_provider": "moonshot",
"supports_function_calling": true,
"supports_tool_choice": true,
@@ -16214,6 +16224,8 @@
"max_tokens": 131072,
"max_input_tokens": 131072,
"max_output_tokens": 131072,
+ "input_cost_per_token": 2e-06,
+ "output_cost_per_token": 5e-06,
"litellm_provider": "moonshot",
"supports_function_calling": true,
"supports_tool_choice": true,
@@ -16224,6 +16236,8 @@
"max_tokens": 131072,
"max_input_tokens": 131072,
"max_output_tokens": 131072,
+ "input_cost_per_token": 2e-06,
+ "output_cost_per_token": 5e-06,
"litellm_provider": "moonshot",
"supports_function_calling": true,
"supports_tool_choice": true,
@@ -16248,6 +16262,8 @@
"max_tokens": 32768,
"max_input_tokens": 32768,
"max_output_tokens": 32768,
+ "input_cost_per_token": 1e-06,
+ "output_cost_per_token": 3e-06,
"litellm_provider": "moonshot",
"supports_function_calling": true,
"supports_tool_choice": true,
@@ -16258,6 +16274,8 @@
"max_tokens": 131072,
"max_input_tokens": 131072,
"max_output_tokens": 131072,
+ "input_cost_per_token": 2e-06,
+ "output_cost_per_token": 5e-06,
"litellm_provider": "moonshot",
"supports_function_calling": true,
"supports_tool_choice": true,
@@ -16268,9 +16286,117 @@
"max_tokens": 8192,
"max_input_tokens": 8192,
"max_output_tokens": 8192,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-06,
+ "litellm_provider": "moonshot",
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "mode": "chat",
+ "source": "https://platform.moonshot.ai/docs/pricing"
+ },
+ "moonshot/kimi-latest": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 2e-06,
+ "output_cost_per_token": 5e-06,
+ "cache_read_input_token_cost": 1.5e-07,
+ "litellm_provider": "moonshot",
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "mode": "chat",
+ "source": "https://platform.moonshot.ai/docs/pricing"
+ },
+ "moonshot/kimi-latest-8k": {
+ "max_tokens": 8192,
+ "max_input_tokens": 8192,
+ "max_output_tokens": 8192,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-06,
+ "cache_read_input_token_cost": 1.5e-07,
+ "litellm_provider": "moonshot",
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "mode": "chat",
+ "source": "https://platform.moonshot.ai/docs/pricing"
+ },
+ "moonshot/kimi-latest-32k": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 1e-06,
+ "output_cost_per_token": 3e-06,
+ "cache_read_input_token_cost": 1.5e-07,
+ "litellm_provider": "moonshot",
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "mode": "chat",
+ "source": "https://platform.moonshot.ai/docs/pricing"
+ },
+ "moonshot/kimi-latest-128k": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 2e-06,
+ "output_cost_per_token": 5e-06,
+ "cache_read_input_token_cost": 1.5e-07,
+ "litellm_provider": "moonshot",
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "mode": "chat",
+ "source": "https://platform.moonshot.ai/docs/pricing"
+ },
+ "moonshot/kimi-thinking-preview": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 3e-05,
+ "output_cost_per_token": 3e-05,
+ "litellm_provider": "moonshot",
+ "supports_vision": true,
+ "mode": "chat",
+ "source": "https://platform.moonshot.ai/docs/pricing"
+ },
+ "moonshot/moonshot-v1-8k-vision-preview": {
+ "max_tokens": 8192,
+ "max_input_tokens": 8192,
+ "max_output_tokens": 8192,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-06,
"litellm_provider": "moonshot",
"supports_function_calling": true,
"supports_tool_choice": true,
+ "supports_vision": true,
+ "mode": "chat",
+ "source": "https://platform.moonshot.ai/docs/pricing"
+ },
+ "moonshot/moonshot-v1-32k-vision-preview": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 1e-06,
+ "output_cost_per_token": 3e-06,
+ "litellm_provider": "moonshot",
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "mode": "chat",
+ "source": "https://platform.moonshot.ai/docs/pricing"
+ },
+ "moonshot/moonshot-v1-128k-vision-preview": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 2e-06,
+ "output_cost_per_token": 5e-06,
+ "litellm_provider": "moonshot",
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
"mode": "chat",
"source": "https://platform.moonshot.ai/docs/pricing"
}
diff --git a/litellm/proxy/proxy_config.yaml b/litellm/proxy/proxy_config.yaml
index 8a8fd6794e7..9effb01e1e0 100644
--- a/litellm/proxy/proxy_config.yaml
+++ b/litellm/proxy/proxy_config.yaml
@@ -6,3 +6,17 @@ model_list:
litellm_params:
model: openai/*
+
+guardrails:
+ - guardrail_name: "bedrock-post-guard"
+ litellm_params:
+ guardrail: bedrock # supported values: "aporia", "bedrock", "lakera"
+ mode: "post_call"
+ guardrailIdentifier: ff6ujrregl1q
+ guardrailVersion: "DRAFT"
+ default_on: true
+
+litellm_settings:
+ callbacks: ["datadog_llm_observability"]
+ cache: true
+
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index 0738f453b2d..88b9f8f9bfe 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -13509,6 +13509,9 @@
"together_ai/deepseek-ai/DeepSeek-V3": {
"input_cost_per_token": 1.25e-06,
"output_cost_per_token": 1.25e-06,
+ "max_tokens": 8192,
+ "max_input_tokens": 65536,
+ "max_output_tokens": 8192,
"litellm_provider": "together_ai",
"supports_function_calling": true,
"supports_parallel_function_calling": true,
@@ -13518,6 +13521,9 @@
"together_ai/deepseek-ai/DeepSeek-R1": {
"input_cost_per_token": 3e-06,
"output_cost_per_token": 7e-06,
+ "max_tokens": 20480,
+ "max_input_tokens": 128000,
+ "max_output_tokens": 20480,
"litellm_provider": "together_ai",
"supports_function_calling": true,
"supports_parallel_function_calling": true,
@@ -16194,6 +16200,8 @@
"max_tokens": 8192,
"max_input_tokens": 8192,
"max_output_tokens": 8192,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-06,
"litellm_provider": "moonshot",
"supports_function_calling": true,
"supports_tool_choice": true,
@@ -16204,6 +16212,8 @@
"max_tokens": 32768,
"max_input_tokens": 32768,
"max_output_tokens": 32768,
+ "input_cost_per_token": 1e-06,
+ "output_cost_per_token": 3e-06,
"litellm_provider": "moonshot",
"supports_function_calling": true,
"supports_tool_choice": true,
@@ -16214,6 +16224,8 @@
"max_tokens": 131072,
"max_input_tokens": 131072,
"max_output_tokens": 131072,
+ "input_cost_per_token": 2e-06,
+ "output_cost_per_token": 5e-06,
"litellm_provider": "moonshot",
"supports_function_calling": true,
"supports_tool_choice": true,
@@ -16224,6 +16236,8 @@
"max_tokens": 131072,
"max_input_tokens": 131072,
"max_output_tokens": 131072,
+ "input_cost_per_token": 2e-06,
+ "output_cost_per_token": 5e-06,
"litellm_provider": "moonshot",
"supports_function_calling": true,
"supports_tool_choice": true,
@@ -16248,6 +16262,8 @@
"max_tokens": 32768,
"max_input_tokens": 32768,
"max_output_tokens": 32768,
+ "input_cost_per_token": 1e-06,
+ "output_cost_per_token": 3e-06,
"litellm_provider": "moonshot",
"supports_function_calling": true,
"supports_tool_choice": true,
@@ -16258,6 +16274,8 @@
"max_tokens": 131072,
"max_input_tokens": 131072,
"max_output_tokens": 131072,
+ "input_cost_per_token": 2e-06,
+ "output_cost_per_token": 5e-06,
"litellm_provider": "moonshot",
"supports_function_calling": true,
"supports_tool_choice": true,
@@ -16268,9 +16286,117 @@
"max_tokens": 8192,
"max_input_tokens": 8192,
"max_output_tokens": 8192,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-06,
+ "litellm_provider": "moonshot",
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "mode": "chat",
+ "source": "https://platform.moonshot.ai/docs/pricing"
+ },
+ "moonshot/kimi-latest": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 2e-06,
+ "output_cost_per_token": 5e-06,
+ "cache_read_input_token_cost": 1.5e-07,
+ "litellm_provider": "moonshot",
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "mode": "chat",
+ "source": "https://platform.moonshot.ai/docs/pricing"
+ },
+ "moonshot/kimi-latest-8k": {
+ "max_tokens": 8192,
+ "max_input_tokens": 8192,
+ "max_output_tokens": 8192,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-06,
+ "cache_read_input_token_cost": 1.5e-07,
+ "litellm_provider": "moonshot",
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "mode": "chat",
+ "source": "https://platform.moonshot.ai/docs/pricing"
+ },
+ "moonshot/kimi-latest-32k": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 1e-06,
+ "output_cost_per_token": 3e-06,
+ "cache_read_input_token_cost": 1.5e-07,
+ "litellm_provider": "moonshot",
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "mode": "chat",
+ "source": "https://platform.moonshot.ai/docs/pricing"
+ },
+ "moonshot/kimi-latest-128k": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 2e-06,
+ "output_cost_per_token": 5e-06,
+ "cache_read_input_token_cost": 1.5e-07,
+ "litellm_provider": "moonshot",
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "mode": "chat",
+ "source": "https://platform.moonshot.ai/docs/pricing"
+ },
+ "moonshot/kimi-thinking-preview": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 3e-05,
+ "output_cost_per_token": 3e-05,
+ "litellm_provider": "moonshot",
+ "supports_vision": true,
+ "mode": "chat",
+ "source": "https://platform.moonshot.ai/docs/pricing"
+ },
+ "moonshot/moonshot-v1-8k-vision-preview": {
+ "max_tokens": 8192,
+ "max_input_tokens": 8192,
+ "max_output_tokens": 8192,
+ "input_cost_per_token": 2e-07,
+ "output_cost_per_token": 2e-06,
"litellm_provider": "moonshot",
"supports_function_calling": true,
"supports_tool_choice": true,
+ "supports_vision": true,
+ "mode": "chat",
+ "source": "https://platform.moonshot.ai/docs/pricing"
+ },
+ "moonshot/moonshot-v1-32k-vision-preview": {
+ "max_tokens": 32768,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "input_cost_per_token": 1e-06,
+ "output_cost_per_token": 3e-06,
+ "litellm_provider": "moonshot",
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "mode": "chat",
+ "source": "https://platform.moonshot.ai/docs/pricing"
+ },
+ "moonshot/moonshot-v1-128k-vision-preview": {
+ "max_tokens": 131072,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 2e-06,
+ "output_cost_per_token": 5e-06,
+ "litellm_provider": "moonshot",
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
"mode": "chat",
"source": "https://platform.moonshot.ai/docs/pricing"
}