AI Gateway
Route your LLM calls through the AI Gateway with a single base URL change. Zero vendor lock-in: always run on the best model at the lowest cost for your use case.
AI Gateway
Overview
Microsoft Semantic Kernel is an SDK that integrates Large Language Models (LLMs) with conventional programming languages. Connecting Semantic Kernel to Orq.ai’s AI Gateway transforms experimental AI agents into production-ready systems with enterprise-grade capabilities.Key Benefits
Orq.ai’s AI Gateway enhances Semantic Kernel applications with:Complete Observability
Track every agent step, tool use, and interaction with detailed traces and analytics
Built-in Reliability
Automatic fallbacks, retries, and load balancing for production resilience
Cost Optimization
Real-time cost tracking and spend management across all AI operations
Multi-Provider Access
Access 300+ LLMs and 20+ providers through a single, unified integration
Prerequisites
Before integrating Semantic Kernel with Orq.ai, ensure you have:- An Orq.ai account and API Key
- Python 3.10 or higher
- Semantic Kernel SDK installed
To set up an API key, see API keys & Endpoints.
Installation
Install Semantic Kernel and the OpenAI SDK:Configuration
Configure Semantic Kernel to use Orq.ai’s AI Gateway by creating an OpenAI client with a custom base URL:
base_url: https://api.orq.ai/v3/router