Call all LLM APIs using the OpenAI format [Anthropic, Huggingface, Cohere, Azure OpenAI etc.] liteLLM supports streaming the model response back, pass stream=True to get a streaming iterator in response. Streaming is supported for OpenAI, Azure, Anthropic, and Huggingface models.

Features

  • Translating inputs to the provider's completion and embedding endpoints
  • Guarantees consistent output, text responses will always be available
  • Exception mapping
  • Common exceptions across providers are mapped to the OpenAI exception types
  • LiteLLM Client - debugging & 1-click add new LLMs
  • liteLLM supports streaming the model response back

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow LiteLLM

LiteLLM Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of LiteLLM!

Additional Project Details

Programming Language

Python

Related Categories

Python Large Language Models (LLM), Python MCP Gateways

Registered

2023-08-25