{
 "kind": "tool",
 "slug": "litellm",
 "path": "tools/litellm/",
 "name": "LiteLLM",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Model SDKs",
   "tools/ai-sdks/"
  ]
 ],
 "lead": "Unified library to interface with multiple LLM API providers.",
 "chips": [
  {
   "label": "Model SDKs",
   "path": "tools/ai-sdks/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install litellm"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/BerriAI/litellm"
  },
  {
   "label": "Website",
   "href": "https://litellm.ai"
  },
  {
   "label": "Its AgentGid profile",
   "path": "agents/litellm/"
  },
  {
   "label": "API page",
   "path": "apis/litellm/"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI license expression.",
   "src": "https://github.com/BerriAI/litellm"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 24, 2026",
   "note": "Latest GitHub release Nov 24, 2026. ",
   "src": "https://github.com/BerriAI/litellm"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "36 projects",
   "status": "info",
   "sub": "#9 of 92 in its category",
   "note": "Dependency in 36 public GitHub projects set up for AI coding agents that we scanned (0.6%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What LiteLLM does",
   "parts": [
    {
     "t": "prose",
     "text": "Unified library to interface with multiple LLM API providers."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "LiteLLM popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "81",
       "of": "/ 100",
       "l": "Gid Score, #78 overall"
      },
      {
       "n": "27.1M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "63.8K",
       "l": "GitHub stars"
      },
      {
       "n": "36",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How LiteLLM is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "LiteLLM is a dependency in 36 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (2.2% of the 1,623 Python ones), #9 of 92 in model sdks.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 769; those are left out of every share on this page.",
      "The most used alternative in our scan is OpenAI Python Library (248 projects).",
      "Projects that use it most often also use Pydantic (72.2%), python-dotenv (69.4%), FastAPI (61.1%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "22 projects, 0.7%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "19 projects, 0.8%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "11 projects, 0.4%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 72.2% of its projects",
       "v": "Pydantic",
       "path": "tools/pydantic/"
      },
      {
       "l": "In 69.4% of its projects",
       "v": "python-dotenv",
       "path": "tools/python-dotenv/"
      },
      {
       "l": "In 61.1% of its projects",
       "v": "FastAPI",
       "path": "tools/fastapi/"
      },
      {
       "l": "In 55.6% of its projects",
       "v": "Uvicorn",
       "path": "tools/uvicorn/"
      },
      {
       "l": "In 41.7% of its projects",
       "v": "httpx",
       "path": "tools/httpx/"
      },
      {
       "l": "In 41.7% of its projects",
       "v": "Model Context Protocol SDK (Python)",
       "path": "tools/mcp/"
      },
      {
       "l": "In 41.7% of its projects",
       "v": "Pydantic Settings",
       "path": "tools/pydantic-settings/"
      },
      {
       "l": "In 38.9% of its projects",
       "v": "OpenAI Python Library",
       "path": "tools/openai-pypi/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about LiteLLM",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "Own page: https://buy.stripe.com/9AQ03Kd3P91o0Q8bIS"
       ]
      },
      {
       "title": "More in Model SDKs",
       "path": "tools/ai-sdks/",
       "items": [
        {
         "text": "OpenAI",
         "path": "tools/openai-npm/"
        },
        {
         "text": "AI SDK",
         "path": "tools/ai/"
        },
        {
         "text": "Anthropic SDK",
         "path": "tools/anthropic-ai/"
        },
        {
         "text": "Google Generative AI",
         "path": "tools/google-genai-npm/"
        },
        {
         "text": "Hugging Face Hub",
         "path": "tools/huggingface-hub/"
        },
        {
         "text": "Ollama",
         "path": "tools/ollama-pypi/"
        },
        {
         "text": "Transformers.js",
         "path": "tools/huggingface/"
        },
        {
         "text": "Pi-AI",
         "path": "tools/mariozechner-pi-ai/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "LiteLLM",
       "me": true,
       "facts": [
        "MIT",
        "Gid 81",
        "27.1M/wk"
       ]
      },
      {
       "name": "OpenAI Python Library",
       "why": "Official Python SDK to call OpenAI APIs including GPT models and embeddings.",
       "path": "tools/openai-pypi/",
       "facts": [
        "Apache-2.0",
        "Gid 86",
        "94.8M/wk"
       ]
      },
      {
       "name": "Anthropic Python SDK",
       "why": "Official Python library for calling Claude via the Anthropic API.",
       "path": "tools/anthropic/",
       "facts": [
        "Apache-2.0",
        "Gid 74",
        "51.5M/wk"
       ]
      },
      {
       "name": "Google GenAI Python SDK",
       "why": "Official Python SDK for Google's generative AI models including Gemini.",
       "path": "tools/google-genai-pypi/",
       "facts": [
        "Apache-2.0",
        "Gid 73",
        "40.7M/wk"
       ]
      },
      {
       "name": "Claude Agent SDK",
       "why": "Python SDK for Claude AI with agent capabilities and tool support.",
       "path": "tools/claude-agent-sdk/",
       "facts": [
        "MIT",
        "Gid 66",
        "10.3M/wk"
       ]
      },
      {
       "name": "Groq Python SDK",
       "why": "Official Python client library for the Groq API, enabling fast LLM inference with Groq's language processing units.",
       "path": "tools/groq/",
       "facts": [
        "Apache-2.0",
        "Gid 53",
        "3.8M/wk"
       ]
      },
      {
       "name": "OpenAI Agents SDK (Python)",
       "why": "Official SDK for building and running agents with OpenAI models.",
       "path": "tools/openai-agents-pypi/",
       "facts": [
        "MIT",
        "Gid 71",
        "5.2M/wk"
       ]
      },
      {
       "name": "Mistral AI SDK",
       "why": "Official Python SDK for the Mistral AI API to call Mistral language models.",
       "path": "tools/mistralai/",
       "facts": [
        "Apache-2.0",
        "Gid 50",
        "3.3M/wk"
       ]
      },
      {
       "name": "Cohere",
       "why": "Official SDK for accessing Cohere's language models and APIs.",
       "path": "tools/cohere/",
       "facts": [
        "MIT",
        "Gid 50",
        "2.9M/wk"
       ]
      }
     ],
     "more": "Compare LiteLLM with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install litellm"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for LiteLLM yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi litellm"
  ],
  [
   "Category",
   "Model SDKs"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "81.4"
  ],
  [
   "Rank in category",
   "#9 of 92"
  ],
  [
   "GitHub",
   "BerriAI/litellm"
  ],
  [
   "Last change",
   "Nov 24, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/berriai.png"
}