litellm/litellm/llms
Mateo Wang 28f4d97ed7
Merge pull request #54507 from izzybn/litellm_lts_volcengine_seedream_images
feat(volcengine): add Ark Seedream image generation, editing, and pricing (lts/1.108.x)
2026-11-26 08:07:02 +00:00
..
a2a chore(typing): clear 670 basedpyright Any errors by validating provider payloads at the boundary (#45388) 2026-10-13 15:35:23 -07:00
ai21/chat feat(lint): enforce Final on locals and freeze function parameters (LIT010, LIT011) 2026-08-04 12:54:39 -07:00
aiml chore(typing): clear 670 basedpyright Any errors by validating provider payloads at the boundary (#45388) 2026-10-13 15:35:23 -07:00
aiohttp_openai/chat refactor(types): replace Any with proven types in 137 files (#44478) 2026-10-05 11:01:45 -07:00
amazon_nova feat(tokenizer): preserve Python defaults with opt-in Rust dispatch (#42174) 2026-09-22 04:41:11 +00:00
anthropic Merge pull request #54445 from ellisc42/litellm_keep_tool_use_ids_non_anthropic_base_lts 2026-11-26 05:56:56 +00:00
apiserpent feat(lint): enforce Final on locals and freeze function parameters (LIT010, LIT011) 2026-08-04 12:54:39 -07:00
aws_polly refactor(sdk): separate core AWS and tokenizer dependencies (#44447) 2026-10-08 19:07:57 -07:00
azure Merge pull request #53402 from linhqm/litellm_azure_transcription_api_version_lts 2026-11-26 01:24:57 +00:00
azure_ai Merge pull request #54155 from zoveki/litellm_lts_image_edit_markup 2026-11-25 04:19:57 +00:00
base_llm Merge pull request #54445 from ellisc42/litellm_keep_tool_use_ids_non_anthropic_base_lts 2026-11-26 05:56:56 +00:00
baseten fix(baseten): list current Model APIs instead of retired 2023 deployment IDs (#46945) 2026-11-11 14:39:44 -08:00
bedrock fix(streaming): keep the abort error each route already raised and raise InternalServerError on the new routes 2026-11-25 12:37:01 -08:00
bedrock_mantle fix(bedrock_mantle): stop the gemma-4 keyword drop from tightening a ref inside not 2026-11-24 20:54:26 -08:00
bespoke/decisions feat(decisions): add Laya and Bespoke providers to the Add Model form (#45260) 2026-10-14 08:11:11 -07:00
black_forest_labs refactor(types): replace Any with proven types in 24 files (#46663) 2026-10-15 06:10:12 -07:00
brave/search chore(typing): clear 670 basedpyright Any errors by validating provider payloads at the boundary (#45388) 2026-10-13 15:35:23 -07:00
bytez refactor(typing): clear 1143 basedpyright Any errors across 273 files (#46574) 2026-10-15 21:08:47 +00:00
cerebras fix(cerebras): add max_retries and extra_headers to get_supported_openai_params (#36601) 2026-08-25 14:10:56 -07:00
chatgpt fix(openai): honor declared levels and allowed_openai_params at the o3 gate on every route 2026-11-24 03:17:14 -08:00
clarifai/chat refactor(llms): expose public names for private provider helpers (#45037) 2026-10-07 08:49:25 -07:00
claude_code refactor(types): replace Any with proven types in 137 files (#44478) 2026-10-05 11:01:45 -07:00
cloudflare feat(decisions)!: send images to Cloudflare Clef through its images field (#45734) 2026-10-14 12:14:48 +00:00
codestral/completion refactor(llms): expose public names for private provider helpers (#45037) 2026-10-07 08:49:25 -07:00
codex fix(anthropic): keep schema refs and maps in strict output, and answer 400 for a container id 2026-11-14 12:16:10 -08:00
cohere fix(cohere): read a string allowed_openai_params with the shared helper 2026-11-17 10:25:06 -08:00
cometapi chore(typing): clear 670 basedpyright Any errors by validating provider payloads at the boundary (#45388) 2026-10-13 15:35:23 -07:00
compactifai feat(tokenizer): preserve Python defaults with opt-in Rust dispatch (#42174) 2026-09-22 04:41:11 +00:00
custom_httpx Merge pull request #54507 from izzybn/litellm_lts_volcengine_seedream_images 2026-11-26 08:07:02 +00:00
dashscope fix(videos)!: keep model_id in proxy video ids so per-model keys resolve on status/content (#44614) 2026-11-09 15:05:22 +00:00
databricks Merge remote-tracking branch 'origin/lts/1.108.x' into litellm_streamed_abort_more_routes_lts 2026-11-25 13:33:51 -08:00
dataforseo/search chore(typing): clear 670 basedpyright Any errors by validating provider payloads at the boundary (#45388) 2026-10-13 15:35:23 -07:00
datarobot/chat refactor(llms): expose public names for private provider helpers (#45037) 2026-10-07 08:49:25 -07:00
deepagents refactor(typing): clear 1143 basedpyright Any errors across 273 files (#46574) 2026-10-15 21:08:47 +00:00
deepgram fix(audio-transcription): keep transcripts out of transcription error messages (#50137) 2026-11-05 18:23:56 -08:00
deepinfra refactor(llms): expose public names for private provider helpers (#45037) 2026-10-07 08:49:25 -07:00
deepseek Merge pull request #52196 from paveln83/litellm_backport_51317_lts_1_108_x 2026-11-24 01:43:02 +00:00
deprecated_providers refactor(typing): clear 1143 basedpyright Any errors across 273 files (#46574) 2026-10-15 21:08:47 +00:00
docker_model_runner/chat fix(openai): download PDF URLs off the event loop and transform async chat messages once (#49176) 2026-11-10 09:23:52 -08:00
duckduckgo/search chore(typing): clear 670 basedpyright Any errors by validating provider payloads at the boundary (#45388) 2026-10-13 15:35:23 -07:00
e2b refactor: expose public hidden_params accessors (#44668) 2026-10-07 00:01:33 -07:00
edenai feat(dashscope): add Wan 3.0, Wan 2.7 and HappyHorse video generation via /v1/videos (#43706) 2026-10-14 10:10:07 -07:00
elevenlabs fix(elevenlabs): hold back partials only while the oldest pending commit is a clear 2026-11-24 16:57:31 -08:00
empower/chat
exa_ai/search fix(llms): sanitize trailing slashes in provider get_complete_url (#42887) 2026-10-15 02:59:46 -07:00
fal_ai refactor(fal_ai): read edit images through the shared image_to_data_url helper 2026-11-25 00:07:07 -08:00
fastcrw fix(llms): sanitize trailing slashes in provider get_complete_url (#42887) 2026-10-15 02:59:46 -07:00
featherless_ai/chat refactor(llms): expose public names for private provider helpers (#45037) 2026-10-07 08:49:25 -07:00
firecrawl fix(llms): sanitize trailing slashes in provider get_complete_url (#42887) 2026-10-15 02:59:46 -07:00
fireworks_ai fix(decisions): preserve missing native usage (#48147) (#48261) 2026-11-12 05:33:52 +00:00
friendliai/chat
galadriel/chat
gdc refactor(types): replace Any with real types across 29 more backend files 2026-09-08 10:14:07 +00:00
gemini fix(router): count a billed image refusal toward key tpm with reservation off, count a sync refusal toward model group usage, and give back an unbilled recitation's reservation 2026-11-25 09:12:45 -08:00
gigachat fix(mcp): let a forced hosted MCP choice follow its tool under drop_params 2026-11-22 01:20:58 -08:00
github/chat
github_copilot fix(github_copilot): keep document citations under drop_params when converting shifts no index 2026-11-22 20:05:17 -08:00
gnani fix(gnani): fall back to the model name when a cost map row has no Gnani flag 2026-11-22 17:40:05 -08:00
google_pse/search chore(typing): clear 670 basedpyright Any errors by validating provider payloads at the boundary (#45388) 2026-10-13 15:35:23 -07:00
gradient_ai/chat fix(llms): sanitize trailing slashes in provider get_complete_url (#42887) 2026-10-15 02:59:46 -07:00
gradium fix(gradium): answer 502 for a 200 response that is not audio 2026-11-21 15:24:26 -08:00
groq refactor(typing): clear 1143 basedpyright Any errors across 273 files (#46574) 2026-10-15 21:08:47 +00:00
heroku/chat fix(openai): download PDF URLs off the event loop and transform async chat messages once (#49176) 2026-11-10 09:23:52 -08:00
hosted_vllm fix(hosted_vllm): exclude unsupported markup param from image_edit config 2026-11-24 08:50:30 -08:00
huggingface refactor(typing): clear 1143 basedpyright Any errors across 273 files (#46574) 2026-10-15 21:08:47 +00:00
hyperbolic refactor(llms): expose public names for private provider helpers (#45037) 2026-10-07 08:49:25 -07:00
inception refactor(llms): expose public names for private provider helpers (#45037) 2026-10-07 08:49:25 -07:00
infinity chore(typing): clear 670 basedpyright Any errors by validating provider payloads at the boundary (#45388) 2026-10-13 15:35:23 -07:00
jina_ai refactor(typing): clear 1143 basedpyright Any errors across 273 files (#46574) 2026-10-15 21:08:47 +00:00
lambda_ai refactor(llms): expose public names for private provider helpers (#45037) 2026-10-07 08:49:25 -07:00
langflow refactor(typing): clear 1143 basedpyright Any errors across 273 files (#46574) 2026-10-15 21:08:47 +00:00
langgraph chore(typing): clear 670 basedpyright Any errors by validating provider payloads at the boundary (#45388) 2026-10-13 15:35:23 -07:00
laya feat(decisions): add Laya and Bespoke providers to the Add Model form (#45260) 2026-10-14 08:11:11 -07:00
lemonade refactor(typing): clear 1143 basedpyright Any errors across 273 files (#46574) 2026-10-15 21:08:47 +00:00
linkup fix(llms): sanitize trailing slashes in provider get_complete_url (#42887) 2026-10-15 02:59:46 -07:00
litellm_proxy fix(decisions): pass on proxied answers that carry no confidence 2026-11-20 16:57:11 -08:00
llamafile/chat refactor(llms): expose public names for private provider helpers (#45037) 2026-10-07 08:49:25 -07:00
lm_studio refactor(llms): expose public names for private provider helpers (#45037) 2026-10-07 08:49:25 -07:00
manus refactor(types): replace Any with proven types in 16 files (#45029) 2026-10-07 04:31:51 -07:00
meta/realtime feat(elevenlabs): add scribe_v2_realtime realtime transcription 2026-11-24 16:57:18 -08:00
meta_llama/chat feat(lint): enforce Final on locals and freeze function parameters (LIT010, LIT011) 2026-08-04 12:54:39 -07:00
microsoft_365_copilot feat(microsoft_365_copilot): add Microsoft 365 Copilot chat provider with OAuth token exchange (#45158) 2026-10-09 15:19:07 -07:00
milvus/vector_stores refactor(s3_vectors): embed search queries through the shared vector store executor 2026-09-02 19:26:31 -07:00
minimax fix(minimax): strip API surface suffixes from the URL path only 2026-11-14 10:49:42 -08:00
mistral fix(vertex_ai): send presence_penalty, frequency_penalty and n to Vertex AI Mistral 2026-11-22 08:07:34 -08:00
modelscope fix(llms): sanitize trailing slashes in provider get_complete_url (#42887) 2026-10-15 02:59:46 -07:00
mongodb perf(types): defer pydantic schema builds via shared LiteLLMBaseModel (#44720) 2026-10-05 22:10:08 -07:00
moonshot/chat fix(llms): sanitize trailing slashes in provider get_complete_url (#42887) 2026-10-15 02:59:46 -07:00
morph refactor(llms): expose public names for private provider helpers (#45037) 2026-10-07 08:49:25 -07:00
nadir/chat chore(lint): remove the LIT002 mutable-construction rule (#43971) 2026-10-01 12:24:02 -07:00
nebius feat(lint): enforce Final on locals and freeze function parameters (LIT010, LIT011) 2026-08-04 12:54:39 -07:00
nimble perf(types): defer pydantic schema builds via shared LiteLLMBaseModel (#44720) 2026-10-05 22:10:08 -07:00
nlp_cloud chore(typing): clear 670 basedpyright Any errors by validating provider payloads at the boundary (#45388) 2026-10-13 15:35:23 -07:00
novita/chat fix(openai-compat): send provider attribution headers on the default SDK path (+ Perplexity) (#44291) 2026-10-07 13:21:27 -07:00
nscale/chat refactor(llms): expose public names for private provider helpers (#45037) 2026-10-07 08:49:25 -07:00
nvidia_nim fix(nvidia_nim): read the logprobs flag for nvidia_nim/ prefixed models and name the proxy drop_params setting 2026-11-23 20:08:08 -08:00
nvidia_riva refactor(types): replace Any with proven types in 157 files (#44798) 2026-10-06 15:31:54 +00:00
oci fix(mcp): keep OCI's all-tools-dropped 400 for MCP-only requests and reword the forced-MCP 400 2026-11-22 02:29:34 -08:00
ollama fix(mcp): let a forced hosted MCP choice follow its tool under drop_params 2026-11-22 01:20:58 -08:00
oobabooga refactor(llms): expose public names for private provider helpers (#45037) 2026-10-07 08:49:25 -07:00
openai fix(anthropic): rename ids when counting tokens, fill empty tool ids 2026-11-25 17:24:20 -08:00
openai_like Merge pull request #53585 from ellisc42/litellm_perplexity_orchestrator_lts 2026-11-23 07:28:25 +00:00
opencode refactor(types): replace Any with proven types in 157 files (#44798) 2026-10-06 15:31:54 +00:00
openrouter fix(proxy): redact credential-named error fields and keep provider fields on mid-stream errors 2026-11-22 16:28:53 -08:00
opensandbox chore(typing): clear 670 basedpyright Any errors by validating provider payloads at the boundary (#45388) 2026-10-13 15:35:23 -07:00
ovhcloud fix(audio-transcription): keep transcripts out of transcription error messages (#50137) 2026-11-05 18:23:56 -08:00
parallel_ai/search perf(types): defer pydantic schema builds via shared LiteLLMBaseModel (#44720) 2026-10-05 22:10:08 -07:00
pass_through fix(bedrock): backport #46307 and #46524 to rc/1.107.0 (#47157) 2026-10-17 14:45:38 -07:00
perplexity fix(perplexity): let every Agent API model take chat tools unless the cost map says no (#54047) 2026-11-25 16:16:20 -08:00
petals refactor(typing): clear 1143 basedpyright Any errors across 273 files (#46574) 2026-10-15 21:08:47 +00:00
pg_vector/vector_stores refactor(s3_vectors): embed search queries through the shared vector store executor 2026-09-02 19:26:31 -07:00
predibase refactor(typing): clear 1143 basedpyright Any errors across 273 files (#46574) 2026-10-15 21:08:47 +00:00
ragflow refactor(types): replace Any with proven types in 12 files (#45943) 2026-10-11 06:34:46 -07:00
recraft refactor(types): replace Any with proven types in 157 files (#44798) 2026-10-06 15:31:54 +00:00
reducto refactor(ocr): remove the Python OCR execution path and require the Rust route (#43081) 2026-09-24 18:18:50 -07:00
replicate refactor(typing): clear 1143 basedpyright Any errors across 273 files (#46574) 2026-10-15 21:08:47 +00:00
runwayml feat(dashscope): add Wan 3.0, Wan 2.7 and HappyHorse video generation via /v1/videos (#43706) 2026-10-14 10:10:07 -07:00
s3_vectors fix(s3_vectors): embed registered-store ingests with the store's embedding model 2026-09-19 04:31:15 -07:00
sagemaker fix(bedrock,sagemaker): answer 502 naming the request when a 200 body is not an AWS event stream 2026-11-21 18:09:00 -08:00
sail fix(openai_like): keep Sail's Responses completion_window on the allowed-params path 2026-11-22 21:45:59 -08:00
sambanova fix(openai): download PDF URLs off the event loop and transform async chat messages once (#49176) 2026-11-10 09:23:52 -08:00
sap fix(sap): accept list-shaped reasoning_content from Gemini 3.x (#52741) 2026-11-21 13:54:20 -08:00
scaledown feat(scaledown): add native text provider support (#44168) 2026-10-10 14:01:17 -07:00
scaleway fix(audio-transcription): keep transcripts out of transcription error messages (#50137) 2026-11-05 18:23:56 -08:00
searchapi chore(typing): clear 670 basedpyright Any errors by validating provider payloads at the boundary (#45388) 2026-10-13 15:35:23 -07:00
searxng chore(typing): clear 670 basedpyright Any errors by validating provider payloads at the boundary (#45388) 2026-10-13 15:35:23 -07:00
serper/search chore(typing): clear 670 basedpyright Any errors by validating provider payloads at the boundary (#45388) 2026-10-13 15:35:23 -07:00
snowflake fix(responses): propagate cache_control through responses->chat completion bridge (#32511) 2026-10-14 15:44:34 -07:00
soniox feat(soniox): decode proxy form fields for context, translation and flags (#40605) 2026-10-16 06:37:34 +00:00
stability refactor: expose public hidden_params accessors (#44668) 2026-10-07 00:01:33 -07:00
strands_decider/decisions feat(strands_decider): call a Strands Decider on an AgentCore runtime ARN (#45678) 2026-10-09 22:51:19 -07:00
tavily/search fix(llms): sanitize trailing slashes in provider get_complete_url (#42887) 2026-10-15 02:59:46 -07:00
tencent refactor(anthropic): rename experimental_pass_through to pass_through (#43329) 2026-09-26 13:00:50 -07:00
tinyfish/search refactor(types): replace Any with proven types in 137 files (#44478) 2026-10-05 11:01:45 -07:00
together_ai fix(responses bridge): round-trip tool_search_call and tool_search_output items between turns (#46444) 2026-10-14 21:40:14 -07:00
tool_loop feat(harness): add Harness.TOOL_LOOP, a minimal in-process tool-calling loop (#44391) 2026-10-03 17:33:01 +00:00
topaz fix(llms): sanitize trailing slashes in provider get_complete_url (#42887) 2026-10-15 02:59:46 -07:00
triton feat(tokenizer): preserve Python defaults with opt-in Rust dispatch (#42174) 2026-09-22 04:41:11 +00:00
typesafe/decisions fix(decisions): accept OpenAI input_json content parts on /v1/decisions 2026-11-18 00:54:38 -08:00
v0 refactor(llms): expose public names for private provider helpers (#45037) 2026-10-07 08:49:25 -07:00
valkey perf(types): defer pydantic schema builds via shared LiteLLMBaseModel (#44720) 2026-10-05 22:10:08 -07:00
vercel_ai_gateway Merge remote-tracking branch 'origin/lts/1.108.x' into litellm_backport_51220_lts_1_108_x 2026-11-21 17:55:49 -08:00
vertex_ai Merge remote-tracking branch 'origin/lts/1.108.x' into HEAD 2026-11-24 23:49:45 -08:00
vllm fix(vllm): write spend log rows for /vllm passthrough calls to router models (#45733) 2026-10-14 12:40:48 -07:00
volcengine fix(volcengine): read the Volcengine env keys before litellm.api_key on Seedream images 2026-11-25 09:12:00 -08:00
voyage fix(llms): sanitize trailing slashes in provider get_complete_url (#42887) 2026-10-15 02:59:46 -07:00
wandb chore(lint): remove the LIT002 mutable-construction rule (#43971) 2026-10-01 12:24:02 -07:00
watsonx fix(audio-transcription): keep transcripts out of transcription error messages (#50137) 2026-11-05 18:23:56 -08:00
xai fix(audio-transcription): keep transcripts out of transcription error messages (#50137) 2026-11-05 18:23:56 -08:00
xinference/image_generation feat(lint): enforce Final on locals and freeze function parameters (LIT010, LIT011) 2026-08-04 12:54:39 -07:00
you_com feat(lint): enforce Final on locals and freeze function parameters (LIT010, LIT011) 2026-08-04 12:54:39 -07:00
zai fix(zai): drop unknown reasoning_effort strings under drop_params and match registered models in any case 2026-11-24 20:23:17 -08:00
__init__.py fix(cost): bill azure_ai claude web searches under deployment-owned pricing ids (#46135) 2026-10-12 19:40:53 -07:00
base.py refactor(types): replace Any with proven types in 24 files (#46663) 2026-10-15 06:10:12 -07:00
compaction.py feat(router): native compact-to-fit across conversation APIs (#42074) 2026-09-21 22:52:29 -07:00
custom_llm.py feat: support native generateContent in CustomLLM 2026-11-13 18:42:19 -08:00
maritalk.py feat(lint): enforce Final on locals and freeze function parameters (LIT010, LIT011) 2026-08-04 12:54:39 -07:00
oss_decision.py feat(decisions): add Laya and Bespoke providers to the Add Model form (#45260) 2026-10-14 08:11:11 -07:00
README.md

File Structure

August 27th, 2024

To make it easy to see how calls are transformed for each model/provider:

we are working on moving all supported litellm providers to a folder structure, where folder name is the supported litellm provider name.

Each folder will contain a *_transformation.py file, which has all the request/response transformation logic, making it easy to see how calls are modified.

E.g. cohere/, bedrock/.