Commit graph

1141 commits

Author SHA1 Message Date
Marty Sullivan
b7fbf3cd7e
add vertexai and gemini veo 3.1 ga models (#18303) 2025-12-22 12:04:44 +05:30
Sameer Kankute
3761f38e43
Merge pull request #18254 from BerriAI/litellm_add_stability_model_edit_1
Add support for stability model and bedrock stability model
2025-12-20 00:23:15 +05:30
Sameer Kankute
d29f4cab59
Merge pull request #17971 from BerriAI/litellm_ocr_deepseek
Add support for ocr for vertex ai deepseek model
2025-12-20 00:13:57 +05:30
Sameer Kankute
b849f51e58 Add support for stability model in image edit 2025-12-19 23:03:17 +05:30
Sameer Kankute
b09ea08424 Add stability models for image edit 2025-12-19 23:03:17 +05:30
Will Chen
3f686521ed
Fix Gemini 3 Flash pricing for Vertex AI (#18202) 2025-12-19 01:13:04 +05:30
Alexsander Hamir
f353bb6dba
[Fix] CI/CD - litellm_mapped_tests_llms | litellm_mapped_tests_core | caching_unit_tests (#18197) 2025-12-18 08:49:23 -08:00
Alexsander Hamir
28821427ce
[Fix] CI/CD #1 - mypy | check_code_and_doc_quality | guardrails_testing (#18195) 2025-12-18 06:31:01 -08:00
Leon
1c401ecf71
Add reasoning support for vertex_ai/gemini-3-flash-preview in model prices and context window (#18175) 2025-12-18 14:53:36 +05:30
Ishaan Jaff
274d996a87
[Feat] New Search API Provider - LinkUp Search (#18174)
* add linkup search provider

* add Linkup Search docs

* add get_provider_search_config

* get_provider_search_config

* add linkup/search provider

* fix mypy linting
2025-12-18 14:27:36 +05:30
Cesar Garcia
d131b7138d
feat(pricing): add output_cost_per_image_token for gemini-2.5-flash-image models (#18156)
Add output_cost_per_image_token ($30/1M = 3e-05) to enable correct
image output cost calculation for gemini-2.5-flash-image models.

Affected models:
- gemini-2.5-flash-image
- gemini-2.5-flash-image-preview
- gemini/gemini-2.5-flash-image
- gemini/gemini-2.5-flash-image-preview
- vertex_ai/gemini-2.5-flash-image
2025-12-18 14:08:45 +05:30
Sameer Kankute
39e16b38c8 Add vertex ai gemini 3 flash in model map 2025-12-18 08:47:02 +05:30
superpoussin22
1d54c4502d
Add diarize model for openai (#18117)
* Add pricing and configuration for gpt-4o-transcribe-diarize

* Add GPT-4o transcription pricing and settings
2025-12-18 02:25:42 +05:30
Sameer Kankute
e3cf0110bb Rename: gemini-3-flash-preview 2025-12-17 21:48:15 +05:30
Sameer Kankute
ba90985300 Add reasoning effort mapping 2025-12-17 18:03:48 +05:30
Sameer Kankute
9e3f946a2e Add support for new flash model 2025-12-17 18:02:14 +05:30
Sameer Kankute
8f7ea945f1 add cached token pricing 2025-12-17 11:20:00 +05:30
Sameer Kankute
fabd832a39 Add gpt-image-1.5-2025-12-16 in model cost map 2025-12-17 11:16:22 +05:30
codgician
58e081b6e0
feat: add github_copilot model info (#17858) 2025-12-17 02:15:13 +04:00
Emerson Gomes
8df713b887
Add Azure DeepSeek V3.2 versions (#18019) 2025-12-17 01:01:57 +04:00
Shivam Rawat
c754794bc3
[fix] add qwen3-embedding-8b input per token price (#18018)
* added embedding input token price

* added embedding input token price
2025-12-16 07:38:21 +05:30
Cesar Garcia
4fdbbdfe6d
fix(anthropic): correct claude-3-7-sonnet max_tokens to 64K default (#17979)
Claude 3.7 Sonnet's default max_output_tokens is 64000, not 128000.
The 128K output limit requires the beta header 'output-128k-2025-02-19'.

This fixes the integration test failure where requests with max_tokens=128000
were being rejected by the Anthropic API.

Fixes test_multiturn_tool_calls in test_anthropic_responses_api.py
2025-12-16 07:27:40 +05:30
Sameer Kankute
174ab1fc66
Merge pull request #17967 from BerriAI/litellm_fireworks_ai_reasoning_param_support
Add support for reasoning param for fireworks AI models
2025-12-15 22:04:04 +05:30
Sameer Kankute
8a6f6385ed
Merge pull request #17966 from BerriAI/litellm_fix_gpt-1_image_cost_1
fix: cost calculation of gpt-image 1 model
2025-12-15 22:03:58 +05:30
Sameer Kankute
57bf6f74e8
Merge pull request #17844 from SamAcctX/patch-2
OpenRouter GPT 5.2, Mistral 3, and Devstral 2
2025-12-15 18:32:50 +05:30
Sameer Kankute
858879919c Add support for ocr for vertex ai deepseek model 2025-12-15 11:45:04 +05:30
Sameer Kankute
57e75a3082 Add support for reasoning param 2025-12-15 09:12:35 +05:30
Sameer Kankute
4f82147746 fix: cost calculation of gpt-image 1 model 2025-12-15 08:16:23 +05:30
Emerson Gomes
d8fc5c3a37
Add Azure Cohere 4 reranking models (#17961) 2025-12-14 12:34:46 -08:00
Cesar Garcia
bd1a075a89
feat(stability): add Stability AI image generation support (#17894)
Add direct Stability AI REST API support for image generation endpoints.
This enables using Stability's SD3, SD3.5, and Stable Image models via
LiteLLM's OpenAI-compatible interface.

Changes:
- Add STABILITY provider to LlmProviders enum
- Create StabilityImageGenerationConfig with multipart/form-data support
- Add OpenAI size to Stability aspect_ratio mapping
- Register provider in ProviderConfigManager
- Add 9 Stability models to model_prices_and_context_window.json
- Add documentation at docs/providers/stability.md
- Add 25 unit tests

Supported models:
- stability/sd3, sd3-large, sd3-large-turbo, sd3-medium
- stability/sd3.5-large, sd3.5-large-turbo, sd3.5-medium
- stability/stable-image-ultra, stable-image-core
2025-12-14 08:29:45 +05:30
SamAcctX
7526fd1d9b
chore: Fix intentation 2025-12-13 11:35:31 -06:00
SamAcctX
cecffd335a
Merge branch 'BerriAI:main' into patch-2 2025-12-13 09:16:08 -06:00
Cesar Garcia
ed28818f76
feat(bedrock): add EU Claude Opus 4.5 model (#17897)
Add eu.anthropic.claude-opus-4-5-20251101-v1:0 to support
AWS Bedrock cross-region inference in EU regions.

Fixes #17867
2025-12-12 12:56:17 -08:00
Marty Sullivan
63df9392d4
add azure gpt-5.2 models (#17866) 2025-12-12 03:47:08 -08:00
SamAcctX
1d85242877
Merge branch 'BerriAI:main' into patch-2 2025-12-11 17:43:11 -06:00
jichmi
a13ee39da2
fix: update pricing for global.anthropic.claude-haiku-4-5-20251001-v1:0 (#17703)
* fix: update pricing for global.anthropic.claude-haiku-4-5-20251001-v1:0

* Update cache_creation_input_token_cost value
2025-12-11 15:29:46 -08:00
SamAcctX
8717f6f529
OpenRouter GPT 5.2, Mistral 3, and Devstral 2 2025-12-11 17:02:24 -06:00
Peter Dave Hello
70643a8b9c
Add support for OpenAI GPT-5.2 models (#17836)
References:
- https://openai.com/index/introducing-gpt-5-2/
- https://platform.openai.com/docs/models/gpt-5.2
2025-12-11 12:49:30 -08:00
Sameer Kankute
51065295ba Fix llm provider for azure_ai in model map 2025-12-11 11:36:56 +05:30
Cesar Garcia
b2e3f56f69
feat(models): add Mistral Codestral 2508, Devstral 2512, and Labs Devstral Small 2512 (#17801)
Add newly released Mistral coding models:
- mistral/codestral-2508: 256K context, $0.30/$0.90 per M tokens
- mistral/devstral-2512: 256K context, $0.40/$2.00 per M tokens
- mistral/labs-devstral-small-2512: 256K context, $0.10/$0.30 per M tokens
2025-12-10 19:14:02 -08:00
Sameer Kankute
ad45fc7cce
Merge pull request #17770 from BerriAI/litellm_deepseek_v3.2
Add DeepSeek-V3.2 model support
2025-12-10 22:28:50 +05:30
Sameer Kankute
05a82ae570 Add support for deepseek v3.2 2025-12-10 22:21:04 +05:30
Sameer Kankute
bcac9e41f6 Add support for computer use for gemini 2025-12-10 10:34:08 +05:30
Cesar Garcia
63a97db663
feat(voyage): add rerank API support (#17744)
* feat(voyage): add rerank API support

Add support for Voyage AI rerank models (rerank-2.5, rerank-2.5-lite,
rerank-2, rerank-2-lite) to the LiteLLM rerank API.

Changes:
- Add VoyageRerankConfig transformation class
- Register voyage provider in rerank_api/main.py
- Add voyage case in utils.py get_provider_rerank_config
- Add rerank-2.5 and rerank-2.5-lite models to pricing JSON
- Add unit tests for transformation logic
- Update documentation for voyage.md and rerank.md

Usage:
```python
from litellm import rerank

response = rerank(
    model="voyage/rerank-2.5",
    query="What is the capital of France?",
    documents=["Paris is...", "London is..."],
    top_n=3,
)
```

* refactor(voyage): simplify rerank transformation code

Remove verbose docstrings to align with other providers (jina_ai pattern).
No functional changes - 168 lines vs 169 for jina_ai.

* fix(voyage): remove incorrect input_cost_per_query from rerank models

Voyage AI charges per token, not per query. The input_cost_per_query
field was incorrectly set to the same value as input_cost_per_token
in the existing rerank-2 and rerank-2-lite models.

Removes input_cost_per_query from all Voyage rerank models:
- voyage/rerank-2
- voyage/rerank-2-lite
- voyage/rerank-2.5
- voyage/rerank-2.5-lite

Pricing source: https://docs.voyageai.com/docs/pricing
2025-12-09 17:34:09 -08:00
Ishaan Jaff
b673177b22
Add 227 new Fireworks AI models (#17692) 2025-12-08 18:57:43 -08:00
Ishaan Jaff
a904067d38
[Feat] New model - add bedrock writer models (#17685)
* add new bedrock models

* test bedrock writer models

* docs bedrock writer palmyra

* add palymra models

* add bedrock writer models

* docs fix
2025-12-08 17:49:06 -08:00
Cesar Garcia
e39ff3d022
feat: add Cerebras zai-glm-4.6 model support (#17683)
Add the new Z.ai GLM 4.6 reasoning model from Cerebras to the model
registry with pricing and capabilities configuration.
2025-12-08 17:43:11 -08:00
Ishaan Jaff
601da4a3d1
[Feat] New model - add nvidia nim llama-3.2-nv-rerankqa-1b-v2 (#17670)
* fix get_nvidia_nim_rerank_config

* add NvidiaNimRankingConfig

* add get_nvidia_nim_rerank_config

* add test_nvidia_nim_rerank_ranking_endpoint

* add /ranking model provider support

* feat: add nvidia/llama-3.2-nv-rerankqa-1b-v2
2025-12-08 15:25:23 -08:00
Emerson Gomes
b10cd13fd2
correct model type (#17635) 2025-12-07 23:18:54 -08:00
Marty Sullivan
d37f0b13f0
Add New Bedrock OSS Models to Model List (#17638)
* try adding new bedrock models to backup file

* add new models to main model list

* fix amazon.nova-2-lite pricing
2025-12-07 23:14:57 -08:00