Skip to content

ngrok AI Gateway

ngrok AI Gateway is a hosted middleware layer that routes, secures, and observes AI requests across various AI providers and models, including self-hosted ones.

Paid · Web, API

Screenshots

stork
I am a flat drawing.
One flat drawing and one typed sentence.
This drawing was never animated.
A photo, a cartoon, a painting or a 3D character. From 10 cents a minute. Free to try.
Make a photo talkDevelopers: there is an API

What is ngrok AI Gateway?

ngrok AI Gateway is an AI gateway tool developed by ngrok that enables AI Developers, Engineers, Startups building AI products, and Enterprises using AI models to connect various AI models and providers through a single hosted gateway. It offers observability and access control, allowing users to manage API keys and routing without the need for complex infrastructure. The platform provides a unified, OpenAI-compatible endpoint for interacting with multiple AI providers (e.g., OpenAI, Anthropic, Google, DeepSeek, OpenRouter) and local models (e.g., Ollama, vLLM, LM Studio). Key capabilities include automatic failover, load balancing, centralized API key management, and detailed observability for AI traffic, including token counting, usage metrics, latency, and error tracking. It also facilitates secure connection to self-hosted models, integrating them with cloud providers without direct public internet exposure.

Key Features of ngrok AI Gateway

ngrok AI Gateway provides a comprehensive set of features designed to streamline the development and deployment of AI applications by centralizing model access, security, and observability.

  • Connect AI models seamlessly: Provides a single endpoint to route requests to multiple AI providers (OpenAI, Anthropic, Google) and self-hosted models.
  • Manage keys easily: Centralizes API key management for various providers, simplifying authorization and credential handling.
  • Access control for applications: Enables granular access control to define which applications or users can access specific models.
  • Observability of costs and usage: Offers detailed logging, token counting, usage metrics, latency, and error tracking for AI requests.
  • Smart error handling: Implements mechanisms for robust error management and debugging of AI traffic.
  • Automatic failover across models, providers, and API keys: Ensures application reliability by rerouting requests to alternative models or providers upon failure.
  • Load balancing: Distributes AI traffic across multiple models or providers to optimize performance and resource utilization.
  • Logging and debugging for AI traffic and requests: Provides tools for monitoring and troubleshooting AI interactions.
  • SOC 2 Type 2 compliant: Adheres to industry standards for security and availability.
  • HIPAA alignment with BAA available: Supports healthcare-related AI workloads with necessary compliance.

Who Should Use ngrok AI Gateway?

ngrok AI Gateway is designed for a range of technical users and organizations involved in AI application development and deployment, particularly those seeking to manage diverse AI models efficiently and securely.

  • AI Developers and Engineers: For routing AI requests to multiple providers (e.g., OpenAI, Anthropic, Google) and self-hosted models via a single endpoint.
  • Startups building AI products: For automating failover across models, providers, and API keys to ensure reliability and streamline development.
  • Enterprises using AI models: For securing AI endpoints with access controls, managing API keys and credentials, and connecting to self-hosted models and customer on-premise data securely.
  • Teams requiring observability: For providing observability, logging, and debugging for AI traffic and requests to track costs and performance.

How to Use ngrok AI Gateway

To begin using ngrok AI Gateway, users can access the dedicated dashboard at app.ngrok.ai to configure models, access controls, and manage API keys. The platform provides an OpenAI-compatible API for seamless integration.

  1. Sign up or log in to the ngrok AI Gateway dashboard at app.ngrok.ai.
  2. Create an AI Gateway API Key and, if desired, attach your own provider keys (e.g., OpenAI, Anthropic) to it.
  3. Configure routing policies to direct AI requests to specific models or providers, including self-hosted LLMs.
  4. Integrate your application using the OpenAI-compatible API endpoint provided by ngrok AI Gateway.
  5. Monitor AI traffic, usage, and costs through the dashboard's observability features.
  6. Utilize features like automatic failover and load balancing to enhance application resilience and performance.

ngrok AI Gateway Pricing & Plans

ngrok AI Gateway operates on a usage-based pricing model, primarily charging a processing fee for tokens when using ngrok-managed keys. The actual inference costs for input and output tokens are passed through at the underlying AI provider's rate or billed directly by the provider if 'Bring Your Own Keys' (BYOK) is utilized. New accounts receive $1 in credit upon signing up for the app.ngrok.ai experience.

  • Routing Fee: $0.00005 per 1k tokens ($0.05 per million tokens) when using ngrok-managed keys.
  • Free Plan: Includes AI Gateway HTTP Request Rate Limits of 4,000 requests per minute.
  • Hobbyist and Pay-as-you-go Plans: Include AI Gateway HTTP Request Rate Limits of 20,000 requests per minute.
  • General ngrok API Rate Limits: 120 requests over a rolling 60-second window apply to the broader ngrok API.

Pros

  • Provides a single, OpenAI-compatible endpoint for multiple AI providers and self-hosted models, simplifying integration.
  • Offers robust automatic failover and load balancing, enhancing application resilience and performance.
  • Centralizes API key management and provides granular access control, improving security and operational efficiency.
  • Delivers comprehensive observability with token counting, usage metrics, latency, and error tracking for AI requests.
  • Facilitates secure connection to self-hosted models without direct public internet exposure, integrating local LLMs seamlessly.
  • Achieved SOC 2 Type 2 compliance and offers HIPAA alignment with a BAA, addressing enterprise-level security and regulatory needs.

Cons

  • The processing fee of $0.00005 per 1k tokens is an additional cost on top of underlying AI provider inference fees when using ngrok-managed keys.
  • While offering a Free plan, higher rate limits and advanced features are tied to paid plans, potentially increasing costs for high-volume users.
  • Some users have reported initial perceptions of it being a 'LiteLLM wrapper,' indicating a need for clearer differentiation in the market.
  • General ngrok reviews mention billing opacity and slow email support, which could extend to the AI Gateway service.

ngrok AI Gateway vs Competitors

ngrok AI Gateway positions itself as a 'control tower' or middleware layer for AI models, integrating AI model routing with ngrok's established global networking infrastructure. It differentiates itself by offering a hosted solution that simplifies management and security for both cloud-based and self-hosted AI models.

See every ngrok AI Gateway alternative, compared

ngrok AI Gateway

Paid · Web, API

Enjoying this? Get one like it in your inbox each morning.

one email a day · unsubscribe in two clicks · no third-party tracking