API documentation

AIGate API

OpenAI-compatible API for text, embeddings, image generation, and supported provider routes.

AIGate gives you one API key and one OpenAI-compatible base URL for the models enabled in your account. The same key works for chat, Responses, Anthropic Messages, embeddings, and image generation routes.

Connection
Base URL: https://api.aigate.shop/v1Auth:     Authorization: Bearer sk-your-api-keyModels:   provider/model-id
Use exact model ids
The model value must be the exact catalog id, for example openai/gpt-5.5, anthropic/claude-opus-4.7, openai/gpt-image-2, or google/gemini-3-pro-image.

Choose a route

Public surface

EndpointUse
GET /v1/modelsList available models. API key is optional.
GET /v1/balanceRead account balance and spend using an API key.
POST /v1/chat/completionsChat, streaming, tools, vision input, and Gemini image output.
POST /v1/responsesResponses API compatible generation.
POST /v1/messagesAnthropic Messages compatible route.
POST /v1/embeddingsEmbedding vectors.
POST /v1/images/generationsOpenAI-compatible image generation, including GPT Image.
POST /v1/images/editsOpenAI-compatible GPT Image editing.
POST /v1/video/generationsVideo generation with supported video models.