LiteLLM
约 1 分钟阅读
- BerriAI/litellmGitHubBerriAI/litellmBerriAI/litellm · MIT+EE, Python · 基础功能 · OpenAI Proxy Server / LLM Gateway · Load Balancing · 支持 Provider https://docs.litellm.ai/docs/providers/笔记:LiteLLM
- MIT+EE, Python
- 基础功能
- OpenAI Proxy Server / LLM Gateway
- Load Balancing
- 支持 Provider docs.litellm.ai/docs/providers
- OpenAI,Anthropic,Azure,Hugging Face,xAI,Moonshot AI
- Ollama, LM Studio
- VLLM
- OpenRouter
- 火山引擎 volcengine/
- Triton Inference Server
- 阿里云百炼 dashscope/
- 支持模型接口
- Fireworks AI
- OpenAI
- Gemini
- LiteLLM Proxy
- Topaz
- Anthropic
- XAI
- VLLM
- Vertex AI
- 企业版功能
- Security
- Customize Logging, Guardrails, Caching per project
- Spend Tracking & Data Exports
x-litellm-response-cost
- Prometheus Metrics
- Control Guardrails per API Key
- Custom Branding
- 参考
- Projects built on LiteLLM docs.litellm.ai/docs/project
- BerriAI/litellm-pgvectorGitHubBerriAI/litellm-pgvector
# WebUI http://0.0.0.0:4000/ui/
# Redoc http://127.0.0.1:4000/redoc
# Swagger http://127.0.0.1:4000/
# admin:$LITELLM_MASTER_KEY
# https://github.com/BerriAI/litellm/blob/main/docker-compose.yml| env | for |
|---|---|
| CONFIG_FILE_PATH |
- 配置文件支持从 S3 读取
LITELLM_CONFIG_BUCKET_{TYPE,NAME,OBJECT_KEY}
FAQ
got an unexpected keyword argument 'thinking'.
- 请求带上
{
"allowed_openai_params": [
"thinking"
]
}关联信息
反向链接、本文链接的其他页面和外部资料。
参考资料
GitHub2 条
- BerriAI/litellmgithub.com/BerriAI/litellm
- BerriAI/litellm-pgvectorgithub.com/BerriAI/litellm-pgvector
其他外链2 条
- docs.litellm.ai/docs/projectdocs.litellm.ai/docs/project
- docs.litellm.ai/docs/providersdocs.litellm.ai/docs/providers