---
title: "AI Gateway: Direct API Access to Language Models | Hostman Docs"
description: "Learn how to connect to Hostman's AI Gateway, create and manage API keys, and use the OpenAI SDK to send requests, manage conversation history, list models, and generate embeddings."
---

> For the complete documentation index for AI agents, see [llms.txt](https://hostman.com/llms.txt).

AI Gateway is an API for working directly with language models without going through AI agents.

-   [AI Gateway vs Other APIs](https://hostman.com/docs/ai-agents/ai-gateway/api-comparison/)
-   [Connecting to AI Gateway](https://hostman.com/docs/ai-agents/ai-gateway/connection/)
-   [Text Generation and Embeddings](https://hostman.com/docs/ai-agents/ai-gateway/text-generation/)
-   [Uploading and Reusing Files](https://hostman.com/docs/ai-agents/ai-gateway/files-api/)
-   [Speech Synthesis and Recognition](https://hostman.com/docs/ai-agents/ai-gateway/audio-api/)
