# AI Gateway Overview

AI Gateway provides a unified, high-performance access layer for multiple leading AI model providers. Through a single API endpoint and API key, you can seamlessly invoke large language models (LLMs), image generation, video generation, text-to-speech (TTS), and embedding models from different vendors—while benefiting from global acceleration, model redundancy, and centralized management.

AI Gateway is designed for developers and platform teams who need reliability, low latency, and operational simplicity when integrating AI capabilities into their applications.

## Key Features

* **One-Stop Access**: Use one unified API to access models from OpenAI, Google, Anthropic, Perplexity, and more.
* **Global Acceleration**: Reduce latency with a global backbone network and edge nodes.
* **Model Redundancy**: Aggregate multiple providers to improve availability and support failover strategies.
* **Unified Management**: Centralized API keys, quotas, expiration control, usage analytics, and logs.
* **Pay-as-You-Go**: Simple token-based pricing aligned with underlying model providers.

## Performance and Acceleration

AI Gateway improves request latency by routing traffic through optimized edge nodes and a private global backbone network.

### How Acceleration Works

* Requests are terminated at the nearest edge location.
* Traffic is routed over optimized backbone paths.
* The system selects the most efficient provider endpoint.

### Example Latency Improvements

| Provider | Public Network | Via AI Gateway | Improvement |
| -------- | -------------- | -------------- | ----------- |
| OpenAI   | 81 ms          | 65 ms          | 19.75%      |
| Google   | 112 ms         | 71 ms          | 36.61%      |

Actual performance gains may vary by region and model.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.console.zenlayer.com/welcome/ai-gateway/ai-gateway-overview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
