litellm/litellm/llms
mateo-berri 9a901e1c17
Some checks failed
Cost map pins recheck / rerun-cost-map-guard (push) Has been cancelled
Terraform Provider / gofmt, vet, build, test (push) Has been cancelled
Terraform Modules / fmt, validate, test (aws) (push) Has been cancelled
Terraform Modules / fmt, validate, test (gcp) (push) Has been cancelled
Terraform Provider / Provider endpoints vs proxy OpenAPI schema (push) Has been cancelled
fix(bedrock): stream text, finish reason and usage for chat-shaped Mistral invoke events
Mistral Large 2407 and Pixtral Large stream choices[].message events on
Bedrock Invoke, which the decoder did not read, so streams answered 200
with no text and no usage. Pixtral's stop_reason is read as the finish
reason, and the Bedrock pass-through collector now logs the real counts.
2026-11-25 12:24:53 -08:00
..
a2a refactor(types): give bare dict, list and set returns, locals and constants proven types in 77 files (#54343) 2026-11-25 03:47:36 +00:00
ai21/chat refactor(types): replace Unknown with proven types in 245 files (#53774) 2026-11-23 10:05:26 -08:00
aiml refactor(types): give bare dict, list and set returns, locals and constants proven types in 77 files (#54343) 2026-11-25 03:47:36 +00:00
aiohttp_openai/chat refactor(types): replace Unknown with proven types in 390 files (#53715) 2026-11-24 03:33:11 +00:00
amazon_nova refactor(types): replace Unknown with proven types in 245 files (#53774) 2026-11-23 10:05:26 -08:00
anthropic fix(anthropic): map /v1/messages fields onto OpenAI Responses equivalents or reject them (#54173) 2026-11-25 19:30:01 +00:00
apiserpent refactor(types): replace Unknown with proven types in 162 more files (#54089) 2026-11-23 22:58:19 -08:00
aws_polly chore(types): type optional_params and litellm_params as dict[str, object] across provider method families (#54175) 2026-11-24 14:40:37 +00:00
azure fix(router,files,batches)!: never resend a file or batch create the provider may already have (#51315) 2026-11-25 07:20:51 +00:00
azure_ai fix(images): send image_edit markup as a multipart file part (#53815) 2026-11-25 04:14:57 +00:00
base_llm fix(anthropic): map /v1/messages fields onto OpenAI Responses equivalents or reject them (#54173) 2026-11-25 19:30:01 +00:00
baseten refactor(types): replace Unknown with proven types in 390 files (#53715) 2026-11-24 03:33:11 +00:00
bedrock fix(bedrock): stream text, finish reason and usage for chat-shaped Mistral invoke events 2026-11-25 12:24:53 -08:00
bedrock_mantle fix(bedrock_mantle): drop the JSON Schema keywords gemma-4 rejects from tool and response schemas (#54214) 2026-11-25 07:04:08 +00:00
bespoke/decisions feat(decisions): add Laya and Bespoke providers to the Add Model form (#45260) 2026-10-14 08:11:11 -07:00
bigmodel fix(zai): accept reasoning_effort so /v1/messages thinking reaches GLM models (#54279) 2026-11-25 04:56:45 +00:00
black_forest_labs refactor(types): give bare dict, list and set returns, locals and constants proven types in 77 files (#54343) 2026-11-25 03:47:36 +00:00
brave/search refactor(types): replace Unknown with proven types in 390 files (#53715) 2026-11-24 03:33:11 +00:00
bytez refactor(types): replace Unknown with proven types in 131 more files (#54045) 2026-11-24 04:55:42 +00:00
cerebras refactor(types): give bare dict, list and set returns, locals and constants proven types in 77 files (#54343) 2026-11-25 03:47:36 +00:00
chatgpt fix(openai): drop or refuse an o-series reasoning_effort level the model map turns off (#54066) 2026-11-24 06:42:03 -08:00
clarifai/chat refactor(types): replace Unknown with proven types in 390 files (#53715) 2026-11-24 03:33:11 +00:00
claude_code refactor(types): replace Unknown with proven types in 390 files (#53715) 2026-11-24 03:33:11 +00:00
clf_ai_gateway/chat refactor(router): route the router family through RoutingContext and close the outside surface (#49118) 2026-10-30 19:18:54 -07:00
cloudflare refactor(types): give bare dict headers parameters proven types in 118 files (#54154) 2026-11-24 12:22:34 +00:00
codestral/completion refactor(types): replace Unknown with proven types in 86 files (#53803) 2026-11-24 12:45:20 +00:00
codex refactor(types): replace Unknown with proven types in 390 files (#53715) 2026-11-24 03:33:11 +00:00
cohere refactor(types): give bare dict, list and set returns, locals and constants proven types in 77 files (#54343) 2026-11-25 03:47:36 +00:00
cometapi chore(types): type optional_params and litellm_params as dict[str, object] across provider method families (#54175) 2026-11-24 14:40:37 +00:00
compactifai refactor(typing): clear 1181 basedpyright Any errors across 431 files (#47789) 2026-10-24 11:31:09 -07:00
custom_httpx feat(anthropic-messages): per-deployment deferred_tools handling on the /v1/messages bridge (#54183) 2026-11-25 17:14:28 +00:00
dashscope refactor(types): replace Unknown with proven types in 86 files (#53803) 2026-11-24 12:45:20 +00:00
databricks refactor(types): annotate repeated bare-container parameters across method families (#54268) 2026-11-24 14:13:19 -08:00
dataforseo/search refactor(types): give bare dict, list and set returns, locals and constants proven types in 77 files (#54343) 2026-11-25 03:47:36 +00:00
datarobot/chat refactor(types): replace Unknown with proven types in 245 files (#53774) 2026-11-23 10:05:26 -08:00
deepagents refactor(types): replace Unknown with proven types in 390 files (#53715) 2026-11-24 03:33:11 +00:00
deepgram refactor(types): give bare dict, list and set returns, locals and constants proven types in 77 files (#54343) 2026-11-25 03:47:36 +00:00
deepinfra refactor(types): give bare dict headers parameters proven types in 118 files (#54154) 2026-11-24 12:22:34 +00:00
deepseek refactor(types): give bare dict, list and set returns, locals and constants proven types in 77 files (#54343) 2026-11-25 03:47:36 +00:00
deprecated_providers refactor(types): replace Unknown with proven types in 131 more files (#54045) 2026-11-24 04:55:42 +00:00
docker_model_runner/chat refactor(types): replace Unknown with proven types in 162 more files (#54089) 2026-11-23 22:58:19 -08:00
duckduckgo/search refactor(types): replace Unknown with proven types in 225 files (#53687) 2026-11-24 00:11:50 +00:00
e2b refactor(types): replace Unknown with proven types in 390 files (#53715) 2026-11-24 03:33:11 +00:00
edenai refactor(typing): clear 1146 basedpyright Any errors across 365 files (#52768) 2026-11-21 04:25:33 +00:00
elevenlabs refactor(types): give bare dict, list and set returns, locals and constants proven types in 77 files (#54343) 2026-11-25 03:47:36 +00:00
empiriolabs/decisions feat(decisions): add EmpirioLabs AI as a decisions provider (#49977) 2026-11-04 10:41:16 -08:00
empower/chat
eu_jev feat(pass-through): add eu/jev decision API pass-through with spend tracking (#46875) 2026-10-29 17:52:43 -07:00
exa_ai/search refactor(types): give bare dict, list and set returns, locals and constants proven types in 77 files (#54343) 2026-11-25 03:47:36 +00:00
fal_ai refactor(types): give bare dict, list and set returns, locals and constants proven types in 77 files (#54343) 2026-11-25 03:47:36 +00:00
fastcrw refactor(types): replace Unknown with proven types in 390 files (#53715) 2026-11-24 03:33:11 +00:00
featherless_ai/chat refactor(types): replace Unknown with proven types in 390 files (#53715) 2026-11-24 03:33:11 +00:00
firecrawl refactor(types): give bare dict, list and set returns, locals and constants proven types in 77 files (#54343) 2026-11-25 03:47:36 +00:00
fireworks_ai fix(llms): send later system messages as user turns for models declared system-first (#54347) 2026-11-25 11:48:27 +00:00
friendliai/chat fix(friendliai): drop litellm-internal message fields before sending (#45092) 2026-10-20 01:22:07 +00:00
galadriel/chat
gdc chore(types): type optional_params and litellm_params as dict[str, object] across provider method families (#54175) 2026-11-24 14:40:37 +00:00
gemini fix(guardrails): check one-object parts and tool turns on generateContent (#54359) 2026-11-25 12:32:47 +00:00
gigachat refactor(types): give bare dict headers parameters proven types in 118 files (#54154) 2026-11-24 12:22:34 +00:00
github/chat
github_copilot fix(github_copilot): look up a GHE.com shared login's Copilot API on its own tenant (#54366) 2026-11-25 08:30:23 +00:00
gnani feat(gnani): add Prisma v2.5 and v3.0 realtime transcription (#53828) 2026-11-25 10:51:59 +00:00
google_pse/search refactor(types): replace Unknown with proven types in 162 more files (#54089) 2026-11-23 22:58:19 -08:00
gradient_ai/chat chore(types): type optional_params and litellm_params as dict[str, object] across provider method families (#54175) 2026-11-24 14:40:37 +00:00
gradium feat(gradium): add text-to-speech support for /v1/audio/speech (#46427) 2026-11-21 23:51:27 +00:00
groq refactor(types): annotate repeated bare-container parameters across method families (#54268) 2026-11-24 14:13:19 -08:00
heroku/chat refactor(types): replace Unknown with proven types in 245 files (#53774) 2026-11-23 10:05:26 -08:00
hosted_vllm fix(llms): send later system messages as user turns for models declared system-first (#54347) 2026-11-25 11:48:27 +00:00
huggingface refactor(types): give bare dict, list and tuple returns proven types in 133 files (#54321) 2026-11-25 01:30:02 +00:00
hyperbolic refactor(types): replace Unknown with proven types in 245 files (#53774) 2026-11-23 10:05:26 -08:00
inception refactor(types): replace Unknown with proven types in 390 files (#53715) 2026-11-24 03:33:11 +00:00
infinity refactor(types): replace Unknown with proven types in 162 more files (#54089) 2026-11-23 22:58:19 -08:00
jina_ai refactor(types): give bare dict, list and set returns, locals and constants proven types in 77 files (#54343) 2026-11-25 03:47:36 +00:00
lambda_ai refactor(llms): expose public names for private provider helpers (#45037) 2026-10-07 08:49:25 -07:00
langflow refactor(types): replace Unknown with proven types in 131 more files (#54045) 2026-11-24 04:55:42 +00:00
langgraph refactor(types): replace Unknown with proven types in 162 more files (#54089) 2026-11-23 22:58:19 -08: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(types): give bare dict, list and tuple returns proven types in 133 files (#54321) 2026-11-25 01:30:02 +00:00
linkup refactor(types): replace Unknown with proven types in 390 files (#53715) 2026-11-24 03:33:11 +00:00
litellm_proxy refactor(types): give bare dict, list and set returns, locals and constants proven types in 77 files (#54343) 2026-11-25 03:47:36 +00:00
llamafile/chat refactor(llms): expose public names for private provider helpers (#45037) 2026-10-07 08:49:25 -07:00
lm_studio refactor(types): replace Unknown with proven types in 86 files (#53803) 2026-11-24 12:45:20 +00:00
manus refactor(types): replace Unknown with proven types in 162 more files (#54089) 2026-11-23 22:58:19 -08:00
meta/realtime feat(elevenlabs): add scribe_v2_realtime realtime transcription (#48984) 2026-11-25 03:15:34 +00:00
meta_llama/chat refactor(types): replace Unknown with proven types in 131 more files (#54119) 2026-11-24 02:26:51 -08:00
microsoft_365_copilot fix(router)!: bound fake-streamed calls by the request timeout, not stream_timeout (#47162) 2026-10-17 22:08:02 +00:00
milvus/vector_stores refactor(types): replace Unknown with proven types in 162 more files (#54089) 2026-11-23 22:58:19 -08:00
minimax refactor(types): give bare dict, list and set returns, locals and constants proven types in 77 files (#54343) 2026-11-25 03:47:36 +00:00
mistral refactor(types): give bare dict, list and set returns, locals and constants proven types in 77 files (#54343) 2026-11-25 03:47:36 +00:00
modelscope refactor(types): replace Unknown with proven types in 390 files (#53715) 2026-11-24 03:33:11 +00:00
mongodb refactor(types): replace Unknown with proven types in 390 files (#53715) 2026-11-24 03:33:11 +00:00
moonshot/chat chore(types): type optional_params and litellm_params as dict[str, object] across provider method families (#54175) 2026-11-24 14:40:37 +00:00
morph feat(morph): support open models and cached input pricing (#48676) 2026-10-27 18:06:14 -07:00
nace/decisions feat(nace): add Drex Max decisions and inline images (#48426) 2026-11-12 21:27:37 -08:00
nadir/chat refactor(types): replace Unknown with proven types in 86 files (#53803) 2026-11-24 12:45:20 +00:00
nebius refactor(types): replace Unknown with proven types in 245 files (#53774) 2026-11-23 10:05:26 -08:00
nimble fix(llms): join api_base and route with one shared helper (#47535) 2026-10-21 06:59:32 +00:00
nlp_cloud refactor(types): give bare dict, list and set returns, locals and constants proven types in 77 files (#54343) 2026-11-25 03:47:36 +00:00
novita/chat refactor(types): give bare dict, list and set returns, locals and constants proven types in 77 files (#54343) 2026-11-25 03:47:36 +00:00
nscale/chat refactor(types): replace Unknown with proven types in 245 files (#53774) 2026-11-23 10:05:26 -08:00
nvidia_nim chore(types): type optional_params and litellm_params as dict[str, object] across provider method families (#54175) 2026-11-24 14:40:37 +00:00
nvidia_riva refactor(types): give bare dict headers parameters proven types in 118 files (#54154) 2026-11-24 12:22:34 +00:00
oci refactor(types): type bare dict data and request_data parameters across method families (#54192) 2026-11-24 08:39:27 -08:00
ollama fix(ollama): send model-info lookups to the call's api_base with its key and retry failed ones (#53830) 2026-11-24 08:51:25 -08:00
oobabooga refactor(types): replace Unknown with proven types in 390 files (#53715) 2026-11-24 03:33:11 +00:00
openai fix(anthropic): map /v1/messages fields onto OpenAI Responses equivalents or reject them (#54173) 2026-11-25 19:30:01 +00:00
openai_like refactor(types): give bare dict, list and set returns, locals and constants proven types in 77 files (#54343) 2026-11-25 03:47:36 +00:00
opencode refactor(types): replace Unknown with proven types in 390 files (#53715) 2026-11-24 03:33:11 +00:00
openrouter fix(openrouter): report the context window and output cap from OpenRouter's catalog (#54046) 2026-11-24 04:37:30 -08:00
opensandbox refactor(types): replace Unknown with proven types in 390 files (#53715) 2026-11-24 03:33:11 +00:00
opensearch feat(opensearch): map vector store search filters to k-NN filters and add hybrid search (#51131) 2026-11-14 03:30:55 +00:00
ovhcloud refactor(types): give bare dict, list and set returns, locals and constants proven types in 77 files (#54343) 2026-11-25 03:47:36 +00:00
parallel_ai refactor(types): replace Unknown with proven types in 82 more files (#53918) 2026-11-23 17:36:22 -08:00
pass_through refactor(types): replace Unknown with proven types in 390 files (#53715) 2026-11-24 03:33:11 +00:00
perplexity refactor(types): give bare dict, list and set returns, locals and constants proven types in 77 files (#54343) 2026-11-25 03:47:36 +00:00
petals refactor(types): give bare dict, list and set returns, locals and constants proven types in 77 files (#54343) 2026-11-25 03:47:36 +00:00
pg_vector/vector_stores refactor(types): give bare dict, list and tuple returns proven types in 133 files (#54321) 2026-11-25 01:30:02 +00:00
pi refactor(types): replace Unknown with proven types in 245 files (#53774) 2026-11-23 10:05:26 -08:00
predibase chore(types): type optional_params and litellm_params as dict[str, object] across provider method families (#54175) 2026-11-24 14:40:37 +00:00
ragflow refactor(types): give bare dict, list and set returns, locals and constants proven types in 77 files (#54343) 2026-11-25 03:47:36 +00:00
recraft refactor(types): replace Unknown with proven types in 131 more files (#54119) 2026-11-24 02:26:51 -08: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(types): replace Unknown with proven types in 131 more files (#54119) 2026-11-24 02:26:51 -08:00
runwayml refactor(types): give bare dict headers parameters proven types in 118 files (#54154) 2026-11-24 12:22:34 +00:00
s3_vectors chore(types): type optional_params and litellm_params as dict[str, object] across provider method families (#54175) 2026-11-24 14:40:37 +00:00
sagemaker chore(types): type optional_params and litellm_params as dict[str, object] across provider method families (#54175) 2026-11-24 14:40:37 +00:00
sail refactor(types): replace Unknown with proven types in 131 more files (#54045) 2026-11-24 04:55:42 +00:00
sambanova refactor(types): give bare dict, list and set returns, locals and constants proven types in 77 files (#54343) 2026-11-25 03:47:36 +00:00
sap refactor(types): give bare dict, list and tuple returns proven types in 133 files (#54321) 2026-11-25 01:30:02 +00:00
scaledown fix(llms): join api_base and route with one shared helper (#47535) 2026-10-21 06:59:32 +00:00
scaleway refactor(types): replace Unknown with proven types in 162 more files (#54089) 2026-11-23 22:58:19 -08:00
searchapi refactor(types): replace Unknown with proven types in 390 files (#53715) 2026-11-24 03:33:11 +00:00
searxng refactor(types): replace Unknown with proven types in 162 more files (#54089) 2026-11-23 22:58:19 -08:00
serper/search refactor(types): replace Unknown with proven types in 162 more files (#54089) 2026-11-23 22:58:19 -08:00
snowflake refactor(types): give bare dict, list and tuple returns proven types in 133 files (#54321) 2026-11-25 01:30:02 +00:00
soniox feat(gnani): add Prisma v2.5 and v3.0 realtime transcription (#53828) 2026-11-25 10:51:59 +00:00
stability refactor(types): give bare dict, list and set returns, locals and constants proven types in 77 files (#54343) 2026-11-25 03:47:36 +00: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 refactor(types): replace Unknown with proven types in 162 more files (#54089) 2026-11-23 22:58:19 -08:00
tencent chore(types): type optional_params and litellm_params as dict[str, object] across provider method families (#54175) 2026-11-24 14:40:37 +00:00
tinyfish/search refactor(types): replace Unknown with proven types in 390 files (#53715) 2026-11-24 03:33:11 +00:00
together_ai refactor(types): replace Unknown with proven types in 390 files (#53715) 2026-11-24 03:33:11 +00: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 refactor(types): give bare dict, list and set returns, locals and constants proven types in 77 files (#54343) 2026-11-25 03:47:36 +00:00
triton refactor(types): replace Unknown with proven types in 162 more files (#54089) 2026-11-23 22:58:19 -08:00
typesafe/decisions fix(decisions): accept OpenAI input_json content parts on /v1/decisions (#52805) 2026-11-20 13:33:36 -08:00
v0 refactor(types): replace Unknown with proven types in 245 files (#53774) 2026-11-23 10:05:26 -08:00
valkey refactor(types): replace Unknown with proven types in 131 more files (#54119) 2026-11-24 02:26:51 -08:00
vercel_ai_gateway refactor(types): give bare dict, list and set returns, locals and constants proven types in 77 files (#54343) 2026-11-25 03:47:36 +00:00
vertex_ai fix(gateway): serve messages drop, summary and timeout settings like Python (#51236) 2026-11-25 09:26:12 +00:00
vllm refactor(types): give bare dict headers parameters proven types in 118 files (#54154) 2026-11-24 12:22:34 +00:00
volcengine refactor(types): give bare dict, list and set returns, locals and constants proven types in 77 files (#54343) 2026-11-25 03:47:36 +00:00
voyage chore(types): type optional_params and litellm_params as dict[str, object] across provider method families (#54175) 2026-11-24 14:40:37 +00:00
wandb refactor(types): replace Unknown with proven types in 162 more files (#54089) 2026-11-23 22:58:19 -08:00
watsonx refactor(types): give bare dict, list and set returns, locals and constants proven types in 77 files (#54343) 2026-11-25 03:47:36 +00:00
webiq feat(search): add Microsoft Web IQ provider (#50883) 2026-11-10 22:43:36 +00:00
xai refactor(types): replace Unknown with proven types in 86 files (#53803) 2026-11-24 12:45:20 +00:00
xinference/image_generation refactor(types): replace Unknown with proven types in 131 more files (#54045) 2026-11-24 04:55:42 +00:00
you_com refactor(types): give bare dict, list and set returns, locals and constants proven types in 77 files (#54343) 2026-11-25 03:47:36 +00:00
zai fix(zai): accept reasoning_effort so /v1/messages thinking reaches GLM models (#54279) 2026-11-25 04:56:45 +00:00
__init__.py fix(vertex_ai): bill Claude web search per request on deployments priced in model_info (#49160) 2026-10-30 23:14:51 -07:00
base.py refactor(types): replace Unknown with proven types in 390 files (#53715) 2026-11-24 03:33:11 +00:00
compaction.py refactor(router): route the router family through RoutingContext and close the outside surface (#49118) 2026-10-30 19:18:54 -07:00
custom_llm.py refactor(types): replace Unknown with proven types in 225 files (#53687) 2026-11-24 00:11:50 +00:00
maritalk.py refactor(types): replace Unknown with proven types in 86 files (#53803) 2026-11-24 12:45:20 +00: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
subscription_accounts.py feat(usage): show subscription-covered providers and account fees separately (#44772) 2026-10-30 03:58:36 -07:00

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/.