Updated March 10, 2026
LiteLLM is an open-source LLM gateway and Python SDK from BerriAI that puts 140+ providers behind one OpenAI-compatible API you host yourself.
Portkey is an open-source AI gateway, now Palo Alto Networks' Prisma AIRS AI Gateway. Compare its pricing, features, pros and cons, and alternatives.
Core capabilities each platform advertises.
What each tool does well, and the limitations to keep in mind.
Pros
Cons
Pros
Cons
Choose LiteLLM if you wantChoose if you want
Choose Portkey if you wantChoose if you want
Respan lets you trace LLM and agent calls across any model or framework, A/B test prompts on production traffic, and route requests across 1,000+ models through one gateway.
Try Respan free