BerriAI/litellm

60.4k starsPython Latest
Open on GitHub

What It Calls

Calls external APIs · local option Cloud by default Can switch to local Partial check The repository's own service

Without a key: Text generation · Image generation · Speech-to-text · Embeddings (Azure OpenAI): has a branch that stops with an error without a key. Text generation (Anthropic Claude): skips this call without a key. External API (ai-gateway.vercel.sh): skips this call without a key. The other rows are in the table below.

Feature matrix
Feature Provider Use Default Alternative
Text generation Anthropic Claude
10 call sites
Undetermined api.anthropic.com Skipped without a key (ANTHROPIC_API_KEY), Local runtime (Ollama) +1 more
Text generation · Image generation · Embeddings Amazon Bedrock
1 call sites
Undetermined bedrock-runtime.eu-west-1.amazonaws.com None
Text generation · Image generation · Speech-to-text · Embeddings Azure OpenAI
8 call sites
Undetermined resource.services.ai.azure.com, env.services.ai.azure.com None
Text generation · Embeddings · Reranking Cohere
3 call sites
Undetermined api.cohere.com, api.cohere.ai Local runtime (Ollama), Other providers (Ollama)
Text generation · Image generation · Embeddings Google Gemini API
1 call sites
Undetermined generativelanguage.googleapis.com None
Text generation · Embeddings · Document OCR Mistral AI
4 call sites
Undetermined api.mistral.ai, codestral.mistral.ai Local runtime (Ollama), Other providers (Ollama)
Text generation · Image generation · Speech-to-text · Text-to-speech · Embeddings OpenAI
22 call sites
Undetermined api.openai.com Skipped without a key (ANTHROPIC_API_KEY), Configurable address (OPENAI_API_BASE) +3 more
Text generation · Image generation · Embeddings Google Vertex AI
4 call sites
Undetermined aiplatform.googleapis.com, europe-west4-aiplatform.googleapis.com None
Show 19 more rows
Feature matrix
Feature Provider Use Default Alternative
Text generation · Image generation xAI Grok
2 call sites
Undetermined api.x.ai None
External API (cloud.google.com) cloud.google.com
1 call sites
Undetermined cloud.google.com None
External API (platform.reducto.ai) platform.reducto.ai
1 call sites
Undetermined platform.reducto.ai None
Text generation OpenRouter
2 call sites
Optional openrouter.ai Local runtime (Ollama), Other providers (Ollama) +1 more
External API (ai-gateway.vercel.sh) ai-gateway.vercel.sh
2 call sites
Optional ai-gateway.vercel.sh Local runtime (Ollama), Other providers (Ollama) +1 more
External API (api.cometapi.com) api.cometapi.com
2 call sites
Optional api.cometapi.com Local runtime (Ollama), Other providers (Ollama) +1 more
External API (api.inference.wandb.ai) api.inference.wandb.ai
1 call sites
Optional api.inference.wandb.ai Skipped without a key (ANTHROPIC_API_KEY), Local runtime (Ollama) +1 more
External API (api.sambanova.ai) api.sambanova.ai
1 call sites
Optional api.sambanova.ai Skipped without a key (ANTHROPIC_API_KEY), Local runtime (Ollama) +1 more
External API (litellm.ai) litellm.ai The repository's own service
3 call sites
Optional litellm.ai Local runtime (Ollama), Other providers (Ollama) +1 more
External API (oai.endpoints.kepler.ai.cloud.ovh.net) oai.endpoints.kepler.ai.cloud.ovh.net
2 call sites
Optional oai.endpoints.kepler.ai.cloud.ovh.net Local runtime (Ollama), Other providers (Ollama) +1 more
Text generation · Speech-to-text Groq
1 call sites
Optional api.groq.com Local runtime (Ollama), Other providers (Ollama)
Image generation · Video generation · Hosted model inference Replicate
1 call sites
Optional api.replicate.com Local runtime (Ollama)
External API (api.aleph-alpha.com) api.aleph-alpha.com
1 call sites
Optional api.aleph-alpha.com Local runtime (Ollama), Other providers (Ollama)
External API (api.compactif.ai) api.compactif.ai
1 call sites
Optional api.compactif.ai Local runtime (Ollama), Other providers (Ollama)
External API (api.inceptionlabs.ai) api.inceptionlabs.ai
1 call sites
Optional api.inceptionlabs.ai Local runtime (Ollama), Other providers (Ollama)
External API (api.minimax.io) api.minimax.io
1 call sites
Optional api.minimax.io Local runtime (Ollama), Other providers (Ollama)
External API (api.nlpcloud.io) api.nlpcloud.io
1 call sites
Optional api.nlpcloud.io Local runtime (Ollama), Other providers (Ollama)
External API (api.nova.amazon.com) api.nova.amazon.com
1 call sites
Optional api.nova.amazon.com Local runtime (Ollama), Other providers (Ollama)
External API (chat.maritaca.ai) chat.maritaca.ai
1 call sites
Optional chat.maritaca.ai Local runtime (Ollama), Other providers (Ollama)

Switch to local

OPENAI_API_BASE=http://localhost:11434

Evidence litellm/batches/main.py:1163 litellm/main.py:4485

External APIs
API Credential Code evidence Pricing Pricing page Checked
Anthropic Claude Your API key litellm/main.py:2864The default is Anthropic Claude (api.anthropic.com); without a key, it calls another path. A local Ollama path is also available in the same file. Paid Pricing 2026-10-05
OpenAI Your API key litellm/assistants/main.py:450The default is OpenAI (api.openai.com); the address can be changed to a local server via OPENAI_API_BASE. Paid Pricing 2026-10-05
Amazon Bedrock Sign-in needed (not an API key) litellm-rust/crates/llms/src/bedrock/audio_transcription/mod.rs:286A language without path tracing Paid Pricing 2026-10-05
Azure OpenAI Your API key litellm-rust/crates/llms/src/azure_ai/messages/transformation.rs:185A language without path tracing Paid Pricing 2026-10-05
Cohere Your API key litellm/main.py:3087Cohere (api.cohere.com) can be used for text generation, embeddings, and reranking. A local Ollama path is available, or other providers can be chosen. Free tier Pricing 2026-10-05
Google Gemini API Your API key litellm/types/google_genai/main.py:8Not traced to an entry point Free tier Pricing 2026-10-05
Mistral AI Your API key litellm/main.py:2761Mistral AI (api.mistral.ai) can be used for text generation, embeddings, and document OCR. A local Ollama path is available, or other providers can be chosen. Free tier Pricing 2026-10-05
Google Vertex AI Sign-in needed (not an API key) litellm-rust/crates/llms/src/vertex_ai/ocr/deepseek_transformation.rs:20A language without path tracing Paid Pricing 2026-10-05
Show 19 more
External APIs
API Credential Code evidence Pricing Pricing page Checked
xAI Grok Your API key litellm/realtime_api/main.py:509Not traced to an entry point Paid Pricing 2026-10-05
cloud.google.com Credential unclear litellm/llms/vertex_ai/vertex_ai_partner_models/main.py:25Not traced to an entry point No pricing info - -
platform.reducto.ai Credential unclear litellm-rust/crates/llms/src/reducto/ocr/transformation.rs:25A language without path tracing No pricing info - -
OpenRouter Your API key litellm/main.py:3471The default is OpenRouter (openrouter.ai); without a key, it calls another path. A local Ollama path is also available in the same file. Free tier Pricing 2026-10-05
ai-gateway.vercel.sh Credential unclear litellm/main.py:3581The default is ai-gateway.vercel.sh; without a key, it calls another path. A local Ollama path is also available in the same file. No pricing info - -
api.cometapi.com Credential unclear litellm/main.py:2477The default is api.cometapi.com; without a key, it calls another path. A local Ollama path is also available in the same file. No pricing info - -
api.inference.wandb.ai Credential unclear litellm/main.py:7053The default is api.inference.wandb.ai; without a key, it calls another path. A local Ollama path is also available in the same file. No pricing info - -
api.sambanova.ai Credential unclear litellm/main.py:7071The default is api.sambanova.ai; without a key, it calls another path. A local Ollama path is also available in the same file. No pricing info - -
litellm.aiThe repository's own service Credential unclear litellm/main.py:3481The default is litellm.ai; without a key, it calls another path. A local Ollama path is also available in the same file. No pricing info - -
oai.endpoints.kepler.ai.cloud.ovh.net Credential unclear litellm/main.py:4895The default is oai.endpoints.kepler.ai.cloud.ovh.net; without a key, it calls another path. A local Ollama path is also available in the same file. No pricing info - -
Groq Your API key litellm/main.py:2138Groq (api.groq.com) can be used for text generation and speech-to-text. A local Ollama path is available, or other providers can be chosen. Free tier Pricing 2026-10-05
Replicate Your API key litellm/main.py:2806Image generation · Video generation · Hosted model inference can use Replicate (api.replicate.com). The same file has a local Ollama path. Paid Pricing 2026-10-05
api.aleph-alpha.com Credential unclear litellm/main.py:3029The code can call api.aleph-alpha.com. A local Ollama path is available, or other providers can be chosen. No pricing info - -
api.compactif.ai Credential unclear litellm/main.py:3289The code can call api.compactif.ai. A local Ollama path is available, or other providers can be chosen. No pricing info - -
api.inceptionlabs.ai Credential unclear litellm/main.py:4075The code can call api.inceptionlabs.ai. A local Ollama path is available, or other providers can be chosen. No pricing info - -
api.minimax.io Credential unclear litellm/main.py:2526The code can call api.minimax.io. A local Ollama path is available, or other providers can be chosen. No pricing info - -
api.nlpcloud.io Credential unclear litellm/main.py:2973The code can call api.nlpcloud.io. A local Ollama path is available, or other providers can be chosen. No pricing info - -
api.nova.amazon.com Credential unclear litellm/main.py:3172The code can call api.nova.amazon.com. A local Ollama path is available, or other providers can be chosen. No pricing info - -
chat.maritaca.ai Credential unclear litellm/main.py:3137The code can call chat.maritaca.ai. A local Ollama path is available, or other providers can be chosen. No pricing info - -

Data sent out: audio·embedding input·images·prompt text·usage telemetry · 6 provider(s) unconfirmed

Fetched over the network: GitHub

Checked scope: Partial check — 400/14,119 files · tree not truncated · no submodules · 919 unresolved import path(s) · 1 files in languages not read (C)

Next

Check another repository This result is wrong

Badge preview

external API badge

[![external API](https://whatitcalls.com/badge/BerriAI/litellm.svg)](https://whatitcalls.com/en/BerriAI/litellm)

Shows as “external API · used · local option” in a README.

Was this analysis helpful?

Freshness detailscommit 63a4f3f · checked 2026-10-09
Committed
2026-10-09 11:56 UTC
Checked
2026-10-09 12:05 UTC
HEAD last seen
2026-10-09 12:05 UTC · 63a4f3f (same as the checked commit)
Read depth
Basic (up to 400 files · 8 MB)
Scanner · rules
scan-5+verdict-5
Pricing catalog
version 2
Correction revision
0
Summary
Model ollama-cloud/gemma4:31b-cloud · some rule sentences
What is sent out
README claims ↔ code

No README claim contradicts the code.

Code quotes

Source files are not stored. Code is linked at the checked commit on GitHub; stored quotes are at most 3 lines per evidence and 6 per file.

Source: BerriAI/litellm · commit 63a4f3f · litellm/main.py

Source: BerriAI/litellm · commit 63a4f3f · litellm/assistants/main.py

  • L109 default value
  • L292 default value
  • L449 default value
  • L450 host
  • 5 more locations

Source: BerriAI/litellm · commit 63a4f3f · litellm/batches/main.py

  • L287 default value
Checked scope details

Files

In the repository
14,119
Checked
400 (2%)

Manifests

All priority files read

  • pyproject.toml
  • vscode-extension/package.json
  • tests/pass_through_tests/package.json
  • ui/litellm-dashboard/package.json

Unresolved import paths (919)

not read 857 · entry not read 59 · importlib 2 · missing file 1

Excluded files

  • out/ 714
  • dist/ 233
  • .md 296
  • .sql 268
  • .yaml 263
  • .json 246

+46 more

External code not checked
None
Limits hit
file count limit
Files in languages not read
C 1
Untraced languages
rust 24
Symbolic links not followed
2
Correction history

No corrections yet.

This result is wrong · Corrections policy