Skip to content

Latest commit

 

History

History
58 lines (39 loc) · 2.83 KB

File metadata and controls

58 lines (39 loc) · 2.83 KB

Gateway

The AI Engineer presents Gateway

Overview

Portkey's AI Gateway streamlines working with 100+ models via one fast API. Load balance, fallback between providers, plug-in middleware, and more. Battle-tested on 100B+ tokens.

Description

Portkey's AI Gateway 🚀 - A TypeScript gateway to streamline working with 100+ models

💡 Gateway Key Highlights

✅ Universal API - Connect to 100+ models with OpenAI's API signature

✅ Load Balancing - Distribute requests across multiple API keys and providers to prevent bottlenecks

✅ Fallbacks - Seamlessly failover across providers and models to improve resilience

✅ Retries - Automatic exponential backoff retry logic to handle errors

✅ Middleware - Plug in custom middleware functions

✅ Battle-tested on over 100 billion tokens

The gateway is open source with a tiny footprint. It provides capabilities to build performant and reliable large-scale AI applications.

🤔 Why should The AI Engineer care about Gateway?

👉 Universal API - Implement your application once and easily switch between 100+ models and providers without code changes 💡

🔁 Load Balancing - Prevent bottlenecks and ensure high availability by distributing requests across multiple API keys and providers ⚖️

💥 Fallbacks - Build resilient applications that can failover across providers and models when errors occur 📉

♻️ Retries - Handle temporary errors automatically with exponential backoff retry logic built-in 🔄

📊 Tell me more about Gateway!

🖇️ Where can I find out more about Gateway?


🧙🏽 Follow The AI Engineer for more about Gateway and daily insights tailored to AI engineers. Subscribe to our newsletter. We are the AI community for hackers!

♻️ Repost this to help Gateway become more popular. Support AI Open-Source Libraries!

⚠️ If you want me to highlight your favorite AI library, open-source or not, please share it in the comments section!