# LiteLLM vs Portkey Gateway: 2026 Empirical Benchmark & Cost Shootout

> **Direct Answer (October 2026 Verdict)**: LiteLLM wins on broadest 100+ LLM provider coverage, Python SDK + Rust proxy core, and enterprise virtual-key budget enforcement with 61.3k+ GitHub stars (94.6), while Portkey Gateway wins on ultra-lightweight sub-1ms TypeScript edge routing and 50+ inline PII/jailbreak guardrails (92.2).

- **Category**: AI Gateway, Multi-Model Routing & Guardrails Shootout
- **Canonical URL**: https://pulse-forge.io/vs/litellm-vs-portkey
- **1-Click $0 Free Starter traefik-ingress.prod.yml + CLAUDE.md**: https://pulse-forge.io/api/launch-kit/free-claude-md?repo=berriai/litellm
- **1-Click $4.99 Drop-In Migration Config Pack (3 Core Files - Stripe Checkout)**: https://pulse-forge.io/buy/micro_pass?repo=berriai/litellm&source=md_vs
- **1-Click $9.99 Complete 9-File Production Config .ZIP (Stripe Checkout)**: https://pulse-forge.io/buy/repo_pass_999?repo=berriai/litellm&source=md_vs_999
- **1-Click $49 Builder Repo Hardening & Launch Kit (Stripe Checkout)**: https://pulse-forge.io/buy/instant_boost?repo=berriai/litellm
- **1-Click $149 Category Leader Pro + 30-Day Pin (Stripe Checkout)**: https://pulse-forge.io/buy/category_leader?repo=berriai/litellm
- **Specimen #1 Production Config Preview (`traefik-ingress.prod.yml`)**: `+ [traefik-ingress.prod.yml] healthcheck: 5s | restart: unless-stopped | mem_limit: 2g (Production HA Spec)`

## LiteLLM Key Advantages
- 61,370+ GitHub stars under MIT license supporting 100+ LLM APIs in unified OpenAI format
- Cuts monthly LLM API spend by 45% via Redis/Qdrant semantic caching and tiered fallback routing
- Built-in virtual keys, team cost budgets, and Prometheus/Langfuse OpenTelemetry callbacks

## Portkey Gateway Key Advantages
- 13,197+ GitHub stars with sub-1ms (0.9ms p50) TypeScript edge gateway footprint
- 50+ pre-built inline guardrails for PII redaction, regex validation, and jailbreak prevention
- Automatic load balancing, conditional routing, and 41.0% semantic cache hit rate
