📄️ OpenAI
LiteLLM supports OpenAI Chat + Text completion and embedding calls.
📄️ OpenAI-Compatible Endpoints
To call models hosted behind an openai proxy, make 2 changes:
📄️ Azure OpenAI
API Keys, Params
📄️ Huggingface
LiteLLM supports the following types of Huggingface models:
📄️ Ollama
LiteLLM supports all models from Ollama
📄️ VertexAI - Google [Gemini, Model Garden]
Pre-requisites
📄️ PaLM API - Google
Pre-requisites
📄️ Gemini - Google AI Studio
Pre-requisites
📄️ Mistral AI API
https://docs.mistral.ai/api/
📄️ Anthropic
LiteLLM supports
📄️ AWS Sagemaker
LiteLLM supports All Sagemaker Huggingface Jumpstart Models
📄️ AWS Bedrock
Anthropic, Amazon Titan, A121 LLMs are Supported on Bedrock
📄️ Anyscale
https://app.endpoints.anyscale.com/
📄️ Perplexity AI (pplx-api)
https://www.perplexity.ai
📄️ VLLM
LiteLLM supports all models on VLLM.
📄️ Xinference [Xorbits Inference]
https://inference.readthedocs.io/en/latest/index.html
📄️ Cloudflare Workers AI
https://developers.cloudflare.com/workers-ai/models/text-generation/
📄️ DeepInfra
https://deepinfra.com/
📄️ AI21
LiteLLM supports j2-light, j2-mid and j2-ultra from AI21.
📄️ NLP Cloud
LiteLLM supports all LLMs on NLP Cloud.
📄️ Replicate
LiteLLM supports all models on Replicate
📄️ Cohere
API KEYS
📄️ Together AI
LiteLLM supports all models on Together AI.
📄️ Voyage AI
https://docs.voyageai.com/embeddings/
📄️ Aleph Alpha
LiteLLM supports all models from Aleph Alpha.
📄️ Baseten
LiteLLM supports any Text-Gen-Interface models on Baseten.
📄️ OpenRouter
LiteLLM supports all the text / chat / vision models from OpenRouter
📄️ Custom API Server (OpenAI Format)
LiteLLM allows you to call your custom endpoint in the OpenAI ChatCompletion format
📄️ Petals
Petals//github.com/bigscience-workshop/petals