Optimize AI coding token costs by compressing shell output before it reaches the context window, cutting an average of 89% of bash noise across 100+ commands.
Open source alternatives to Portkey
4 free, self-hostable tools you can use instead of Portkey, sorted by GitHub stars.
Alternatives to Portkey 4
Connect 352 AI providers through one OpenAI-compatible endpoint, with automatic fallback, 19 routing strategies, and 15-95% token compression. MIT licensed.
Bifrost
Replaces Portkey
Connect any AI SDK to 23+ LLM providers through a unified gateway, with automatic failover, semantic caching, MCP support, and 11µs overhead at 5,000 RPS.
jentic-one
Replaces Portkey
Secure API access for AI agents via a self-hosted broker that injects credentials at request time and enforces per-agent permission scopes. Apache-2.0.