Skip to main content

Overview

PraisonAI uses LiteLLM under the hood, supporting 100+ LLM providers. Use the format provider/model-name for any supported model.

LiteLLM Provider Format

Routed Claude / Gemini detection

When Bedrock, Vertex AI, or OpenRouter routes to Claude or Gemini, PraisonAI detects the true provider from the model id, so the correct adapter is used and async streaming works. See Routed model provider detection for the full rules.

Python (Generic Pattern)

OpenAI-Compatible Endpoints

See OpenAI-Compatible Endpoints for a full walkthrough.

LM Studio (Local)

vLLM Server

CLI

YAML

Custom Endpoint YAML

Environment Variables

Common environment variables for different providers:

Resources