GitHub hosts HunyuanVideo, Tencent's open-source framework for large-scale video generation models, enabling AI-driven video creation.
AI Gateway
About AI Gateway
AI Gateway consolidates access to public AI providers, custom endpoints, and self-hosted models into a single hosted gateway. It handles routing, observability, and access control without requiring users to deploy or manage infrastructure. The service allows teams to connect models from providers like OpenAI or Anthropic alongside locally hosted LLMs using private connectivity, avoiding the need for public IP exposure. API keys from existing providers can be integrated directly, enabling centralized key management while maintaining individual billing relationships. Access control features let administrators assign scoped keys to applications or developers, restricting which models or providers each can use. Observability tools track token usage, latency, errors, and costs across all routed requests, providing aggregated metrics rather than provider-specific dashboards. The gateway supports dynamic rerouting when models or keys fail, automatic retries for failed requests, and full programmability via APIs for configuration and management.
Key features
- Unified API endpoint for multiple model providers
- Private connectivity to self-hosted models
- Scoped access keys per application or developer
- Real-time observability and cost tracking
- Automatic request rerouting on failure
- Instant retry for failed requests
- Fully programmable via APIs
- Support for OpenAI, Anthropic, and Vercel AI SDKs
Use cases
- Consolidating AI provider costs and access management
- Routing requests to fallback models during outages
- Monitoring and optimizing AI model usage across teams
Pros
- Unified routing for public, custom, and self-hosted models
- Built-in observability and cost tracking across all requests
- Centralized key management without consolidating billing
- Private connectivity for locally hosted models
- Automatic failover and retry mechanisms
Cons
- No free tier or trial mentioned
- Requires upfront credit purchase for usage
- Limited to supported SDK integrations
- No explicit support for non-API model formats
Frequently asked questions about AI Gateway
What is AI Gateway and what does it do?
AI Gateway is a hosted service that consolidates access to public AI providers, custom endpoints, and self-hosted models into a single gateway. It handles routing, observability, and access control without requiring users to deploy or manage infrastructure.
Who should use AI Gateway?
AI Gateway is designed for teams and developers who need to route requests to multiple AI models, whether public providers, custom endpoints, or locally hosted LLMs, while maintaining centralized control and observability.
How does AI Gateway handle pricing and billing?
AI Gateway charges a flat fee for routing, observability, and related services, billed per million tokens routed. Users can either use ngrok keys or bring their own keys, with inference costs passed through directly from providers.
Can AI Gateway connect to self-hosted models?
Yes, AI Gateway supports private connectivity to self-hosted models without requiring public IP exposure or inbound ports, allowing seamless integration with locally hosted LLMs.
Does AI Gateway support access control and key management?
Yes, AI Gateway allows administrators to assign scoped keys to applications or developers, restricting which models or providers each can use, and centralizing key management while maintaining individual billing relationships.
How do I get started with AI Gateway?
To get started, change your base URL to https://gateway.ngrok.ai and swap your API key in your existing SDK or application. The gateway handles routing and configuration automatically, allowing you to start building without deploying infrastructure.
AI Gateway Website Engagement
Last Update: 9 days ago
Monthly Traffic
Traffic Sources
Traffic Share By Country
- Brazil10.1%
- India9.7%
- United States8.3%
- Indonesia8%
- Germany5.2%