{"id":5651,"library":"litellm-enterprise","title":"LiteLLM Enterprise","description":"LiteLLM Enterprise is a Python package designed to provide enterprise-grade features and functionality on top of the core LiteLLM library. It currently wraps and re-exports much of the base LiteLLM functionality. The package is at version 0.1.37 and appears to be in an early development stage, with its release cadence likely tied to the rapidly evolving LiteLLM ecosystem.","status":"active","version":"0.1.37","language":"en","source_language":"en","source_url":"https://github.com/BerriAI/litellm","tags":["LLM","AI","enterprise","proxy","model-routing","wrapper"],"install":[{"cmd":"pip install litellm-enterprise","lang":"bash","label":"Install latest version"}],"dependencies":[{"reason":"This package is a wrapper around the core LiteLLM library and re-exports its symbols.","package":"litellm","optional":false}],"imports":[{"note":"The `litellm-enterprise` package's `__init__.py` re-exports all symbols from `litellm`. While `from litellm import completion` will work, importing directly from `litellm_enterprise` is recommended when explicitly using the enterprise package, to maintain clarity and prepare for any future distinct implementations.","wrong":"from litellm import completion","symbol":"completion","correct":"from litellm_enterprise import completion"},{"note":"Similar to `completion`, `Router` is re-exported from the base `litellm` library. Use `from litellm_enterprise import Router` to signify intent to leverage enterprise-related configurations or future enhancements.","wrong":"from litellm import Router","symbol":"Router","correct":"from litellm_enterprise import Router"}],"quickstart":{"code":"import os\nfrom litellm_enterprise import completion\n\nos.environ['OPENAI_API_KEY'] = os.environ.get('OPENAI_API_KEY', 'sk-your-openai-key')\n\ntry:\n    response = completion(\n        model=\"gpt-3.5-turbo\",\n        messages=[{\"role\": \"user\", \"content\": \"What is LiteLLM?\"}]\n    )\n    print(response.choices[0].message.content)\nexcept Exception as e:\n    print(f\"An error occurred: {e}\")","lang":"python","description":"This quickstart demonstrates a basic LLM completion call using the `litellm_enterprise` package. Ensure `OPENAI_API_KEY` is set in your environment. The functionality mirrors that of the core `litellm` package due to its re-export mechanism."},"warnings":[{"fix":"Be aware that most functionality currently mirrors `litellm`. While using `litellm_enterprise` imports is good practice for explicit intent, refer to `litellm` documentation for specific function behaviors.","message":"The `litellm-enterprise` package's `__init__.py` re-exports all symbols directly from the core `litellm` library. This means that `from litellm_enterprise import X` is functionally identical to `from litellm import X` for most symbols. This can lead to confusion regarding the package's distinct functionality.","severity":"gotcha","affected_versions":"0.1.x"},{"fix":"Consult the main LiteLLM GitHub repository and documentation for details on core functionality. Look for discussions or examples related to 'enterprise' features within the broader LiteLLM ecosystem.","message":"Dedicated documentation for features unique to `litellm-enterprise` is currently scarce. Users will primarily need to refer to the comprehensive documentation of the main `litellm` library for usage patterns and API details.","severity":"gotcha","affected_versions":"0.1.x"},{"fix":"Exercise caution when relying on `litellm-enterprise` for critical production systems, and monitor its development closely. Test thoroughly for compatibility with specific `litellm` versions.","message":"The version number of `litellm-enterprise` (0.1.x) is significantly lower than the `1.x.x` versions of the main `litellm` library. This disparity might indicate an early-stage project, potential API instability, or a different release cadence, which could impact expectations for production readiness.","severity":"gotcha","affected_versions":"0.1.x"},{"fix":"Investigate LiteLLM Proxy documentation and deployment options if looking for comprehensive enterprise-level management and features. This package may serve as a client-side component.","message":"While named 'enterprise', specific enterprise features like Role-Based Access Control (RBAC), advanced logging, or custom integrations often manifest through the LiteLLM Proxy or specific server configurations, rather than being solely exposed or enabled by this Python package directly. The package primarily facilitates accessing the underlying LiteLLM functionality.","severity":"gotcha","affected_versions":"0.1.x"}],"env_vars":null,"last_verified":"2026-04-11T00:00:00.000Z","next_check":"2026-07-10T00:00:00.000Z"}