LiteLLM is moving to Rust Read the latest updates.
LiteLLM v1.76.1-stable - Gemini 2.5 Flash Image
Released
Deploy this version​
- Docker
- Pip
docker run litellm
docker run \
-e STORE_MODEL_IN_DB=True \
-p 4000:4000 \
docker.litellm.ai/berriai/litellm:v1.76.1
pip install litellm
pip install litellm==1.76.1
Key Highlights​
- Major Performance Improvements - 6.5x faster LiteLLM Python SDK completion with fastuuid integration.
- New Model Support - Gemini 2.5 Flash Image Preview, Grok Code Fast, and GPT Realtime models
- Enhanced Provider Support - DeepSeek-v3.1 pricing on Fireworks AI, Vercel AI Gateway, and improved Anthropic/GitHub Copilot integration
- MCP Improvements - Better connection testing and SSE MCP tools bug fixes
Major Changes​
- Added support for using Gemini 2.5 Flash Image Preview with /chat/completions. 🚨 Warning If you were using
gemini-2.0-flash-exp-image-generationplease follow this migration guide. Gemini Image Generation Migration Guide
Performance Improvements​
This release includes significant performance optimizations:
- 6.5x faster LiteLLM Python SDK Completion - Major performance boost for completion operations - PR #13990
- fastuuid Integration - 2.1x faster UUID generation with +80 RPS improvement for /chat/completions and other LLM endpoints - PR #13992, PR #14016
- Optimized Request Logging - Don't print request params by default for +50 RPS improvement - PR #14015
- Cache Performance - 21% speedup in InMemoryCache.evict_cache and 45% speedup in
_is_debugging_onfunction - PR #14012, PR #13988
New Models / Updated Models​
New Model Support​
| Provider | Model | Context Window | Input ($/1M tokens) | Output ($/1M tokens) | Features |
|---|---|---|---|---|---|
gemini-2.5-flash-image-preview | 1M | $0.30 | $2.50 | Chat completions + image generation ($0.039/image) | |
| X.AI | xai/grok-code-fast | 256K | $0.20 | $1.50 | Code generation |
| OpenAI | gpt-realtime | 32K | $4.00 | $16.00 | Real-time conversation + audio |
| Vercel AI Gateway | vercel_ai_gateway/openai/o3 | 200K | $2.00 | $8.00 | Advanced reasoning |
| Vercel AI Gateway | vercel_ai_gateway/openai/o3-mini | 200K | $1.10 | $4.40 | Efficient reasoning |
| Vercel AI Gateway | vercel_ai_gateway/openai/o4-mini | 200K | $1.10 | $4.40 | Latest mini model |
| DeepInfra | deepinfra/zai-org/GLM-4.5 | 131K | $0.55 | $2.00 | Chat completions |
| Perplexity | perplexity/codellama-34b-instruct | 16K | $0.35 | $1.40 | Code generation |
| Fireworks AI | fireworks_ai/accounts/fireworks/models/deepseek-v3p1 | 128K | $0.56 | $1.68 | Chat completions |
Additional Models Added: Various other Vercel AI Gateway models were added too. See models.litellm.ai for the full list.
Features​
- Google Gemini
- X.AI
- OpenAI
- Fireworks AI
- Added DeepSeek-v3.1 pricing - PR #13958
- DeepInfra
- Fixed reasoning_effort setting for DeepSeek-V3.1 - PR #14053
- GitHub Copilot
- Anthropic
- Nebius
- Expanded provider models and normalized model IDs - PR #13965
- Vertex AI
- Bedrock
- Fixed structure output issues - PR #14005
- OpenRouter
- Added GPT-5 family models pricing - PR #13536
New Provider Support​
- Vercel AI Gateway
- New provider support added - PR #13144
- DataRobot
LLM API Endpoints​
Features​
- Images API
- Responses API
- Azure Passthrough
- Fixed Azure Passthrough request with streaming - PR #13831
Bugs​
- General
MCP Gateway​
Features​
- SSE MCP Tools
- Bug fix for adding SSE MCP tools - improved connection testing when adding MCPs - PR #14048
Management Endpoints / UI​
Features​
- Team Management
- Allow setting Team Member RPM/TPM limits when creating a team - PR #13943
- UI Improvements
Bugs​
- Authentication
- Fixed Virtual keys with llm_api type causing Internal Server Error for /anthropic/* and other LLM passthrough routes - PR #14046
Logging / Guardrail Integrations​
Features​
- Langfuse OTEL
- Allow using LANGFUSE_OTEL_HOST for configuring host - PR #14013
- Braintrust
- OpenMeter
- Set user from token user_id for OpenMeter integration - PR #13152