# Provider Compatibility

Provider compatibility depends on both the caller-facing endpoint and the upstream provider configuration behind the model alias. A model can work on a broad chat endpoint and still be rejected on a provider-specific endpoint.

AISIX evaluates compatibility in two layers. The [adapter family](https://docs.api7.ai/ai-gateway/providers/adapters.md) determines how chat-style requests are encoded for the upstream provider. The endpoint's rules determine whether the selected proxy route accepts the model's provider or adapter family.

## Endpoint Compatibility[​](#endpoint-compatibility "Direct link to Endpoint Compatibility")

Use the caller's API format and provider support requirements to choose a proxy route.

| Need                                                                                                    | Route                                                                                                                                               | Provider support                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| ------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Broad chat compatibility                                                                                | `/v1/chat/completions`                                                                                                                              | OpenAI, Anthropic, Bedrock, Vertex AI, Azure OpenAI, and OpenAI-compatible providers through their configured adapter.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [Text completions](https://docs.api7.ai/ai-gateway/endpoints/text-completions.md)                       | `/v1/completions`                                                                                                                                   | Models whose provider key uses the `openai` adapter when the configured upstream implements the legacy `/completions` route. Other adapters return `501 not_implemented`.                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| Anthropic-style clients                                                                                 | `/v1/messages`                                                                                                                                      | Provider keys that use the `anthropic` adapter or declare `apis.messages`, and Claude models on Amazon Bedrock and Vertex AI, forward natively; other supported upstreams use translation. Text has the broadest support. Image, document, and tool-calling support depends on the selected provider adapter. Signed thinking history remains Anthropic-specific.                                                                                                                                                                                                                                              |
| Anthropic token counting                                                                                | `/v1/messages/count_tokens`                                                                                                                         | Targets whose provider key uses the `anthropic` adapter or declares `apis.messages`, where the upstream must implement the token-counting route, and Claude models on Amazon Bedrock and Vertex AI, counted with the platform's own token-counting API.                                                                                                                                                                                                                                                                                                                                                        |
| Streaming text chat                                                                                     | `/v1/chat/completions` or `/v1/messages` with `stream: true`                                                                                        | Same provider support as the chosen endpoint. A routing model can fail over before AISIX sends response bytes, but it cannot switch targets after the response stream has started. Chat Completions audio output is an exception: AISIX does not currently preserve `delta.audio`.                                                                                                                                                                                                                                                                                                                             |
| Embeddings                                                                                              | `/v1/embeddings`                                                                                                                                    | OpenAI-compatible upstreams, Azure OpenAI, Amazon Titan and Cohere embedding models on Bedrock, and Google-publisher embedding models on Vertex AI. Other provider and model combinations return `501 not_implemented`.                                                                                                                                                                                                                                                                                                                                                                                        |
| OpenAI Responses API                                                                                    | `/v1/responses`                                                                                                                                     | Provider keys that declare `apis.responses`, and OpenAI keys without an `apis` declaration, forward natively unless their adapter is `bedrock`, `vertex`, or `azure-openai`. Other upstreams use the [Responses bridge](https://docs.api7.ai/ai-gateway/endpoints/responses-api.md) when the adapter supports the translated request shape. Codex Lite-mode requests add a provider-dependent exception; see [Lite-Mode Tool Requests](https://docs.api7.ai/ai-gateway/endpoints/responses-api.md#lite-mode-tool-requests). On the bridged path, OpenAI-specific fields without a chat equivalent are ignored. |
| [Chat audio](https://docs.api7.ai/ai-gateway/endpoints/chat-audio.md)                                   | `/v1/chat/completions`                                                                                                                              | Audio input and output, streamed or not, through an `openai` or `azure-openai` adapter when the upstream implements the OpenAI chat-audio shape. Every eligible routing target must meet the same requirement. AISIX preserves `input_audio`, `modalities`, `audio`, `message.audio`, and streamed `delta.audio`. A native provider receives an `input_audio` part as its own media block when it accepts audio, and the audio-output fields are not translated across provider protocols.                                                                                                                     |
| [Image generation](https://docs.api7.ai/ai-gateway/endpoints/image-generation.md)                       | `/v1/images/generations`                                                                                                                            | Models whose configured provider is OpenAI, and models whose provider key uses the `azure-openai` adapter.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| [Image editing](https://docs.api7.ai/ai-gateway/endpoints/image-editing.md)                             | `/v1/images/edits`                                                                                                                                  | Models whose configured provider is OpenAI, and models whose provider key uses the `azure-openai` adapter. Requests are `multipart/form-data`; the gateway rewrites only the `model` field and forwards the form intact.                                                                                                                                                                                                                                                                                                                                                                                       |
| [Video generation](https://docs.api7.ai/ai-gateway/endpoints/video-generation.md)                       | `/v1/videos` and its status and content routes                                                                                                      | Models whose configured provider is `alibaba` (Wan), `zhipuai` or `zhipu` (CogVideoX), `volcengine` (Ark Seedance), `runwayml` or `runway` (Runway Gen and Runway-hosted models), or `openai` (Sora). Text-to-video only. Other providers return `501 not_implemented`. See [Video Generation Support](#video-generation-support).                                                                                                                                                                                                                                                                             |
| Audio                                                                                                   | `/v1/audio/transcriptions`, `/v1/audio/translations`, `/v1/audio/speech`                                                                            | OpenAI-style upstream audio routes, and Azure OpenAI's deployment audio routes on the `azure-openai` adapter. AISIX forwards the audio format; it does not translate audio across provider families.                                                                                                                                                                                                                                                                                                                                                                                                           |
| [Files, Batches, and Fine-tuning](https://docs.api7.ai/ai-gateway/endpoints/batch-files-fine-tuning.md) | `/v1/files`, `/v1/batches`, `/v1/fine_tuning/jobs`, and their related routes                                                                        | Direct models whose provider key uses the `openai` or `azure-openai` adapter. Anthropic, Bedrock, and Vertex AI use different file and job APIs and are not translated through these routes.                                                                                                                                                                                                                                                                                                                                                                                                                   |
| Realtime WebSocket                                                                                      | `/v1/realtime`                                                                                                                                      | Direct models on the `openai` or `azure-openai` adapter. The upstream must implement the OpenAI Realtime WebSocket path and event protocol; AISIX relays frames without cross-protocol translation.                                                                                                                                                                                                                                                                                                                                                                                                            |
| Rerank                                                                                                  | `/v1/rerank`                                                                                                                                        | Cohere and Jina, or an OpenAI-compatible upstream that uses the `openai` provider value and implements `/v1/rerank`. The public OpenAI API does not provide this endpoint.                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| [Decision models](https://docs.api7.ai/ai-gateway/endpoints/decision-models.md)                         | `/v1/systemone`, `/v1/decisions`                                                                                                                    | Provider keys whose provider is `typesafe` (TypeSafe), `azure` (Microsoft Foundry), `openai`, or `openrouter`. Either endpoint reaches any of them; AISIX converts between the System One and Decisions formats when the caller's format differs from the upstream's. Other providers return `400`.                                                                                                                                                                                                                                                                                                            |
| Provider-native routes                                                                                  | A configured [passthrough route](https://docs.api7.ai/ai-gateway/endpoints/provider-passthrough.md), conventionally `/passthrough/<provider>/*rest` | Any upstream a route's `target_url` points at. A request matches the route's configured path prefix or inbound hosts, and the caller key must grant the route name in its `allowed_routes` list. Limited gateway normalization.                                                                                                                                                                                                                                                                                                                                                                                |

## Video Generation Support[​](#video-generation-support "Direct link to Video Generation Support")

The video routes dispatch on the model alias's `provider` value, not on the upstream model name, and AISIX keeps no allowlist of model IDs — it forwards the configured upstream model name through the fixed mapping below. Successful generation still depends on that model accepting the resulting request shape. Direct aliases and multi-target models are accepted; an ensemble or semantic alias returns `400`. Delivery describes how `GET /v1/videos/{video_id}/content` returns the finished file: a `302` to the provider's signed URL, or an authenticated fetch that the gateway streams back to the caller.

| `provider` value     | Video models                                                                                                                                                                      | `seconds` maps to                                           | `size` maps to                                                                                                            | Delivery       |
| -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | -------------- |
| `alibaba`            | [Wan and HappyHorse text-to-video](https://docs.api7.ai/ai-gateway/providers/qwen.md#generate-videos-with-wan), such as `wan2.7-t2v`, `wan2.2-t2v-plus`, and `happyhorse-1.1-t2v` | `parameters.duration`                                       | `parameters.size` as `WIDTH*HEIGHT`; omit it for Wan 2.7 and HappyHorse, which use `resolution` and `ratio` tiers instead | Redirect       |
| `zhipuai`, `zhipu`   | [CogVideoX](https://docs.api7.ai/ai-gateway/providers/zhipuai.md#generate-videos-with-cogvideox), such as `cogvideox-3`                                                           | `duration`                                                  | `size`, forwarded verbatim                                                                                                | Redirect       |
| `volcengine`         | [Ark Seedance](https://docs.api7.ai/ai-gateway/providers/volcengine-ark.md#generate-videos-with-seedance), such as `doubao-seedance-2-0-260128`                                   | `duration`                                                  | Validated, then dropped; Ark uses `resolution` and `ratio` tiers                                                          | Redirect       |
| `runwayml`, `runway` | [Runway Gen and Runway-hosted models](https://docs.api7.ai/ai-gateway/providers/runwayml.md) on the text-to-video endpoint, such as `gen4.5` and `veo3.1`                         | `duration`                                                  | `ratio` as `WIDTH:HEIGHT`                                                                                                 | Redirect       |
| `openai`             | [Sora](https://docs.api7.ai/ai-gateway/providers/openai.md#generate-videos-with-sora): `sora-2`, `sora-2-pro`                                                                     | `seconds` as a string; the schema accepts `4`, `8`, or `12` | `size`, forwarded verbatim; accepted resolutions vary by model                                                            | Gateway stream |

OpenAI [deprecated the Videos API and the Sora 2 models](https://developers.openai.com/api/docs/deprecations) on March 24, 2026, with removal from the API on September 24, 2026.

Two provider values that serve chat traffic are outside this allowlist even though their vendor publishes a video API: `alibaba-cn` and `zai` reach a different API root than their video-capable counterpart, so a video alias must use `alibaba` or `zhipuai`.

The routes model text-to-video generation only. Request fields other than `model`, `prompt`, `seconds`, and `size` are ignored rather than rejected — including `input_reference`, so an image-to-video request generates from the prompt alone. Provider routes that list, delete, remix, edit, or extend a video are not modeled either. Use a [passthrough route](https://docs.api7.ai/ai-gateway/endpoints/provider-passthrough.md) for those and for provider-native generation fields such as a negative prompt or a seed.

## Provider-Specific Support[​](#provider-specific-support "Direct link to Provider-Specific Support")

Supported text output on chat and Responses routes can stream. Audio output inside Chat Completions streams as `delta.audio` on OpenAI-compatible upstreams; use the Realtime WebSocket for incremental, bidirectional audio. The table below highlights additional endpoint support and important provider boundaries.

| Provider setup                                                                                                                                                                                                                                                                                                                 | Endpoint support and boundaries                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [OpenAI](https://docs.api7.ai/ai-gateway/providers/openai.md)                                                                                                                                                                                                                                                                  | Supports chat completions, Responses, embeddings, image generation, image editing, audio, and Sora video generation. The public OpenAI API does not provide a rerank endpoint.                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| [Anthropic](https://docs.api7.ai/ai-gateway/providers/anthropic.md)                                                                                                                                                                                                                                                            | Supports Messages and token counting natively. Chat completions and Responses use translation. Embeddings, image generation, and rerank are not supported.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| [Amazon Bedrock](https://docs.api7.ai/ai-gateway/providers/aws-bedrock.md)                                                                                                                                                                                                                                                     | Supports chat completions and Responses. Claude models also serve `/v1/messages` and `/v1/messages/count_tokens` natively. Embeddings are limited to Amazon Titan and Cohere embedding model IDs. Image generation and rerank are not supported.                                                                                                                                                                                                                                                                                                                                                                                                          |
| [Google Vertex AI](https://docs.api7.ai/ai-gateway/providers/google-vertex-ai.md)                                                                                                                                                                                                                                              | Supports chat completions and Responses. Claude models also serve `/v1/messages` and `/v1/messages/count_tokens` natively. Embeddings are limited to Google-publisher embedding models. Image generation and rerank are not supported.                                                                                                                                                                                                                                                                                                                                                                                                                    |
| [Azure OpenAI](https://docs.api7.ai/ai-gateway/providers/azure-openai.md)                                                                                                                                                                                                                                                      | Supports chat completions, Responses, embeddings, image generation, image editing, audio, realtime, and files, batches, and fine-tuning. Responses and Messages requests are translated to chat completions. Rerank is not supported. A gateway before 1.11.0 serves only chat completions, translated Responses and Messages requests, realtime, and files, batches, and fine-tuning.                                                                                                                                                                                                                                                                    |
| [DeepSeek](https://docs.api7.ai/ai-gateway/providers/deepseek.md)                                                                                                                                                                                                                                                              | Supports chat completions. The control plane declares DeepSeek's native Responses and Anthropic-compatible Messages routes in the catalog; the open-source AISIX gateway can declare the same routes on the provider key. Image generation and rerank are not supported.                                                                                                                                                                                                                                                                                                                                                                                  |
| [Gemini](https://docs.api7.ai/ai-gateway/providers/gemini.md) and [Mistral](https://docs.api7.ai/ai-gateway/providers/mistral.md)                                                                                                                                                                                              | Support chat completions and bridged Responses requests. Image generation and rerank are not supported.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| [Groq](https://docs.api7.ai/ai-gateway/providers/groq.md)                                                                                                                                                                                                                                                                      | Supports chat completions and its native Responses API when the provider key declares `apis.responses`. Without that declaration, AISIX bridges Responses through chat completions. Image generation and rerank are not supported.                                                                                                                                                                                                                                                                                                                                                                                                                        |
| [Together AI](https://docs.api7.ai/ai-gateway/providers/together.md)                                                                                                                                                                                                                                                           | Supports chat completions, bridged Responses, embeddings, audio transcription, audio translation, and text-to-speech through its OpenAI-compatible base. Image generation, video generation, and rerank are not supported through the `togetherai` provider value; use a passthrough route for those native Together routes.                                                                                                                                                                                                                                                                                                                              |
| [Qwen](https://docs.api7.ai/ai-gateway/providers/qwen.md)                                                                                                                                                                                                                                                                      | Supports chat completions, native Responses when the provider key declares `apis.responses`, and embeddings through Model Studio's OpenAI-compatible base. Without the declaration, AISIX bridges Responses through chat completions. Native Messages uses a different regional base, and Model Studio does not document Count Tokens. Video generation is supported only for the exact `alibaba` provider value; `alibaba-cn` is outside the video route's allowlist. Image generation and rerank are not supported through normalized routes.                                                                                                           |
| [OpenRouter](https://docs.api7.ai/ai-gateway/providers/openrouter.md) and [Fireworks AI](https://docs.api7.ai/ai-gateway/providers/fireworks-ai.md)                                                                                                                                                                            | Support chat completions, their native Responses APIs when the provider key declares `apis.responses`, and embeddings when the alias names an embedding model the upstream publishes on its OpenAI-compatible base. Without the declaration, AISIX bridges Responses through chat completions. Image generation, video generation, and rerank are not supported: the `openrouter` and `fireworks-ai` provider values are outside those routes' allowlists.                                                                                                                                                                                                |
| [Cohere](https://docs.api7.ai/ai-gateway/providers/cohere.md)                                                                                                                                                                                                                                                                  | Supports chat completions, bridged Responses, and embeddings through the Cohere compatibility API base. Rerank is supported, because `cohere` is one of the three provider values the rerank route accepts; AISIX sends it to Cohere's native v2 rerank endpoint through the same provider key. Image generation and video generation are not supported.                                                                                                                                                                                                                                                                                                  |
| [Zhipu AI](https://docs.api7.ai/ai-gateway/providers/zhipuai.md)                                                                                                                                                                                                                                                               | Supports chat completions, bridged Responses, translated Messages, embeddings, audio transcription, text-to-speech, the Realtime WebSocket relay, and normalized video generation. Native image generation, rerank, and advanced CogVideoX requests remain available through a passthrough route; normalized image generation, audio translation, and rerank are not supported.                                                                                                                                                                                                                                                                           |
| [Perplexity](https://docs.api7.ai/ai-gateway/providers/perplexity.md)                                                                                                                                                                                                                                                          | Use a passthrough route for Perplexity's native Agent and Embeddings APIs. The Search API uses a separate root and requires its own route. A Perplexity model alias can use the native Agent API through `/v1/responses` when its provider key points to the `/v1` root and declares `apis.responses`. Sonar Chat Completions support has ended. Perplexity's migration guide documents transitional reformulation for some synchronous and streaming Sonar requests, but Perplexity does not reformulate asynchronous requests. Do not rely on this compatibility behavior. Normalized image generation, video generation, and rerank are not supported. |
| [Cerebras](https://docs.api7.ai/ai-gateway/providers/cerebras.md)                                                                                                                                                                                                                                                              | Supports chat completions and bridged Responses requests. Embeddings are not usable because the upstream does not serve an embedding model on its configured base. Image generation, video generation, and rerank are not supported.                                                                                                                                                                                                                                                                                                                                                                                                                      |
| [Hugging Face](https://docs.api7.ai/ai-gateway/providers/huggingface.md)                                                                                                                                                                                                                                                       | Supports chat completions and its native Responses API when the provider key declares `apis.responses`. Without the declaration, AISIX bridges Responses through chat completions. Embeddings are not available on the shared router's OpenAI-compatible base. Image generation, video generation, and rerank are not supported.                                                                                                                                                                                                                                                                                                                          |
| [Moonshot AI](https://docs.api7.ai/ai-gateway/providers/moonshotai.md)                                                                                                                                                                                                                                                         | Supports chat completions. Declare `apis.responses` to use Moonshot's native Responses API, which currently supports only `kimi-k3`; otherwise, AISIX bridges Responses requests through chat completions. Native Messages and other provider routes require a passthrough route. Image generation, video generation, and rerank are not supported.                                                                                                                                                                                                                                                                                                       |
| [Baseten](https://docs.api7.ai/ai-gateway/providers/baseten.md)                                                                                                                                                                                                                                                                | Supports chat completions and bridged Responses requests. Embeddings work when the provider key's `api_base` points at a Baseten deployment that serves an OpenAI-compatible `/v1/embeddings` route. Image generation, video generation, and rerank are not supported, including for a Baseten model ID that begins with `openai/` — the provider value is `baseten`, not `openai`.                                                                                                                                                                                                                                                                       |
| [Jina](https://docs.api7.ai/ai-gateway/providers/jina.md)                                                                                                                                                                                                                                                                      | Supports embeddings through the OpenAI-shaped route on the Jina API root. Rerank is supported natively, because `jina` is one of the three provider values the rerank route accepts, and it shares the same API root and provider key as embeddings. The testing-only `jina-ai/jina-vlm` model supports chat completions on this root; Responses and Messages use AISIX translation through that experimental route. Other Jina aliases do not support these chat-shaped endpoints. Image generation and video generation are not supported: the `jina` provider value is outside those routes' allowlists.                                               |
| [RunwayML](https://docs.api7.ai/ai-gateway/providers/runwayml.md)                                                                                                                                                                                                                                                              | Supports video generation only, because `runwayml` (and the short `runway` spelling) is in the video route's provider allowlist. Chat completions, Responses, and embeddings fail upstream — Runway publishes no chat or embeddings API. Image generation and rerank are not supported: the `runwayml` provider value is outside those routes' allowlists. Use a passthrough route for Runway APIs the gateway has not modeled, such as image-to-video.                                                                                                                                                                                                   |
| [Volcengine Ark](https://docs.api7.ai/ai-gateway/providers/volcengine-ark.md)                                                                                                                                                                                                                                                  | Supports chat completions, embeddings, and native Responses on Ark's OpenAI-compatible base when the provider key declares `apis.responses`. The same key can declare Ark's separate native Messages and Count Tokens base. Video generation is supported because `volcengine` is in the video route's provider allowlist. Normalized image generation and rerank are not supported. BytePlus also supports native Responses, but its Messages and Count Tokens surface is not documented.                                                                                                                                                                |
| [Cloudflare Workers AI](https://docs.api7.ai/ai-gateway/providers/cloudflare-workers-ai.md)                                                                                                                                                                                                                                    | Supports chat completions, native Responses for compatible models when the provider key declares `apis.responses`, and embeddings when the alias names an embedding model on the account-scoped OpenAI-compatible root. Without the declaration, AISIX bridges Responses through chat completions. Image generation, video generation, and rerank are not supported through the provider value.                                                                                                                                                                                                                                                           |
| [Databricks](https://docs.api7.ai/ai-gateway/providers/databricks.md)                                                                                                                                                                                                                                                          | Supports chat completions, bridged Responses, and embeddings when the alias names an embedding model on the configured OpenAI-compatible root. Image generation, video generation, and rerank are not supported through its provider value; use a passthrough route for provider-native routes.                                                                                                                                                                                                                                                                                                                                                           |
| [DeepInfra](https://docs.api7.ai/ai-gateway/providers/deepinfra.md)                                                                                                                                                                                                                                                            | Supports chat completions, bridged Responses, embeddings, and native Messages and Count Tokens when the provider key declares `apis.messages`. Audio routes work with compatible models. Image generation, video generation, and rerank are not supported through its provider value; use passthrough for provider-native routes.                                                                                                                                                                                                                                                                                                                         |
| [NVIDIA NIM](https://docs.api7.ai/ai-gateway/providers/nvidia-nim.md)                                                                                                                                                                                                                                                          | The hosted NVIDIA provider supports chat completions, bridged Responses, and embeddings when the alias names a compatible model. A self-hosted LLM NIM can use native Responses, Messages, and token counting when its provider key declares both API surfaces. Other NVIDIA APIs may require a passthrough route with their own endpoint.                                                                                                                                                                                                                                                                                                                |
| [SiliconFlow](https://docs.api7.ai/ai-gateway/providers/siliconflow.md)                                                                                                                                                                                                                                                        | Supports chat completions, bridged Responses, translated Messages, embeddings, audio transcription, and text-to-speech through its OpenAI-shaped API root. Audio translation fails upstream. Image generation, video generation, and rerank are not supported through the `siliconflow` provider value; native Messages and other provider routes remain available through a passthrough route.                                                                                                                                                                                                                                                           |
| [CoreWeave Serverless Inference](https://docs.api7.ai/ai-gateway/providers/wandb-inference.md)                                                                                                                                                                                                                                 | Supports chat completions, bridged Responses, and translated Messages requests. CoreWeave Serverless Inference publishes no embeddings, image-generation, video-generation, or rerank endpoint. Its native model list remains available through a passthrough route.                                                                                                                                                                                                                                                                                                                                                                                      |
| [Amazon Nova API](https://docs.api7.ai/ai-gateway/providers/amazon-nova.md), [Meta Llama API](https://docs.api7.ai/ai-gateway/providers/meta-llama-api.md), [Nebius Token Factory](https://docs.api7.ai/ai-gateway/providers/nebius-token-factory.md), and [Novita AI](https://docs.api7.ai/ai-gateway/providers/novita-ai.md) | Support chat completions and bridged Responses. Messages callers can use the chat translation in AISIX. Embeddings require a compatible embedding model and route on the provider's configured API root. Image generation, video generation, and rerank are not supported through these provider values.                                                                                                                                                                                                                                                                                                                                                  |
| [OVHcloud AI Endpoints](https://docs.api7.ai/ai-gateway/providers/ovhcloud-ai-endpoints.md) and [DigitalOcean Gradient AI](https://docs.api7.ai/ai-gateway/providers/digitalocean-gradient-ai.md)                                                                                                                              | Support chat completions and their native Responses APIs when the provider key declares `apis.responses`. Without the declaration, AISIX bridges Responses through chat completions. Messages callers can use chat translation. Embeddings require a compatible model on the configured API root. Image generation, video generation, and rerank are not supported through these provider values.                                                                                                                                                                                                                                                         |
| [Snowflake Cortex](https://docs.api7.ai/ai-gateway/providers/snowflake-cortex.md)                                                                                                                                                                                                                                              | Supports chat completions and the Responses and Messages bridges. Snowflake's Claude-only native Messages route remains available through a passthrough route. The normalized AISIX embeddings route is not compatible with Snowflake's native `POST /api/v2/cortex/inference:embed` wire format; use a passthrough route with a separate provider key or another embedding provider. Image generation, video generation, and rerank are not supported through the `snowflake-cortex` provider value.                                                                                                                                                     |
| [MiniMax](https://docs.api7.ai/ai-gateway/providers/minimax.md)                                                                                                                                                                                                                                                                | Supports chat completions, bridged Responses, and native Messages when the provider key declares `apis.messages`. Count Tokens is documented for MiniMax-M3. Embeddings are not documented on the OpenAI-compatible root, and normalized image generation, video generation, and rerank are not supported through the provider value.                                                                                                                                                                                                                                                                                                                     |
| [ModelScope](https://docs.api7.ai/ai-gateway/providers/modelscope.md)                                                                                                                                                                                                                                                          | Supports chat completions and bridged Responses requests. Embeddings depend on the configured upstream model and route because AISIX forwards the OpenAI-shaped body without provider-specific translation. Image generation, video generation, and rerank are not supported through its provider value.                                                                                                                                                                                                                                                                                                                                                  |
| [xAI](https://docs.api7.ai/ai-gateway/providers/xai.md)                                                                                                                                                                                                                                                                        | Supports Chat Completions, translated Messages, and the OpenAI-compatible Realtime WebSocket route. Declare `apis.responses` on the provider key to use the native xAI Responses API; otherwise, AISIX bridges Responses through Chat Completions. Embeddings and rerank are not usable through normalized routes. Other native xAI HTTP routes, including media and model-list APIs, remain available through passthrough. xAI marks both Chat Completions and its Anthropic-compatible Messages API as deprecated and recommends Responses for new integrations.                                                                                        |
| [Other public OpenAI-compatible providers](https://docs.api7.ai/ai-gateway/providers/openai-compatible-vendors.md)                                                                                                                                                                                                             | Require an OpenAI-compatible chat-completions route. Embeddings depend on the upstream route. Rerank also requires a provider value accepted by the rerank route.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| [Ollama](https://docs.api7.ai/ai-gateway/providers/ollama.md)                                                                                                                                                                                                                                                                  | Supports chat completions through a BYO `openai` adapter and native Responses when the provider key declares `apis.responses`. Messages requests use chat translation by default; use passthrough for Ollama's native Messages format because token counting is unavailable. Embeddings depend on the installed model. The `byo` and `ollama` provider values are not accepted by image generation, video generation, or rerank.                                                                                                                                                                                                                          |
| [vLLM](https://docs.api7.ai/ai-gateway/providers/vllm.md)                                                                                                                                                                                                                                                                      | Supports completions, chat completions, native Responses when the provider key declares `apis.responses`, embeddings, audio transcription, and audio translation when the served model has the required task. Use passthrough for authenticated vLLM Messages, token counting, and rerank. Image generation, video generation, text-to-speech, and normalized rerank are not supported.                                                                                                                                                                                                                                                                   |
| [Private OpenAI-compatible endpoints](https://docs.api7.ai/ai-gateway/providers/bring-your-own-endpoint.md)                                                                                                                                                                                                                    | Must implement each upstream route that applications call. Embeddings depend on the private endpoint, and provider-specific routes can impose additional provider-value restrictions.                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |

## Endpoint Rules[​](#endpoint-rules "Direct link to Endpoint Rules")

The tables above are the primary route reference. The rules below clarify cases where provider identity, adapter family, and endpoint behavior differ.

* Chat completions is the broadest normalized route. For non-OpenAI upstreams, the provider-facing request can still use Anthropic, Bedrock, Vertex AI, Azure OpenAI, or another adapter-specific format behind the gateway. OpenAI chat-audio fields remain specific to the `openai` and `azure-openai` adapters and compatible upstream models.
* Responses uses provider-specific handling. OpenAI-backed models and provider keys that declare `apis.responses` can forward to the upstream Responses API, but `bedrock`, `vertex`, and `azure-openai` adapters always use the bridge. Among keys that would otherwise forward natively, a request declaring tools in `additional_tools` input items is still bridged unless `provider` is `openai`, `byo`, omitted in an AISIX OSS resources file, or the literal `azure` value with an adapter other than those three. Other providers use the [Responses bridge](https://docs.api7.ai/ai-gateway/endpoints/responses-api.md) over the chat adapter path and return a Responses-shaped result. OpenAI-specific fields without a chat equivalent are ignored on this path.
* Image generation is an OpenAI-provider route that also accepts provider keys on the `azure-openai` adapter. An OpenAI-compatible vendor can use the OpenAI adapter for chat completions and still be rejected on this route when its provider value is not `openai`.
* Embeddings dispatch through the resolved adapter. The OpenAI and Azure OpenAI adapters send the OpenAI request shape, while the Bedrock and Vertex adapters translate requests for their supported embedding model families. Audio remains an OpenAI-style forwarding route, sent to Azure OpenAI's deployment audio routes on the `azure-openai` adapter, and is not translated across provider families.
* Rerank uses a route-specific provider allowlist. Accepted provider values are `openai`, `cohere`, and `jina`, but the configured upstream must provide `/v1/rerank`. The `openai` value supports compatible rerank providers; it does not imply that the public OpenAI API provides this endpoint.
* Anthropic Messages supports native Anthropic-protocol routes and translated upstreams. AISIX can translate text, images, documents, and tool-calling history into its normalized request, but the selected provider adapter determines which translated content reaches the upstream. Assistant `thinking` history blocks are replayed to another provider as unsigned `reasoning_content`, and `redacted_thinking` blocks are dropped. Token counting requires a provider key that uses the `anthropic` adapter or declares `apis.messages`, and the upstream must implement the route, or a Claude model on Amazon Bedrock or Vertex AI, which AISIX counts with the platform's own token-counting API.

AISIX preserves `reasoning_content` and normalizes `reasoning` to that canonical field. When an OpenAI-compatible provider streams reasoning from a different `delta` path, configure [`response.reasoning_field`](https://docs.api7.ai/ai-gateway/models/provider-keys.md#configure-provider-specific-overrides) on the provider key.

## Content Translation Boundaries[​](#content-translation-boundaries "Direct link to Content Translation Boundaries")

Cross-provider feature support depends on the caller-facing endpoint and translation direction. Do not assume that one result applies to every pair of provider families.

For an Anthropic-shaped `/v1/messages` request sent to a supported non-Anthropic upstream, AISIX translates supported content into its normalized request. This includes text, base64 and URL images, documents, tool definitions, tool calls, and tool results. The selected provider adapter may support only a subset of that content, and rejects a part its upstream cannot take with `400` rather than dropping it; see [Media Inputs and URL Fetching](https://docs.api7.ai/ai-gateway/endpoints/media-inputs.md). A Claude model on Amazon Bedrock or Vertex AI is not translated at all: its `/v1/messages` request goes to the platform's own Messages API. Assistant `thinking` history reaches OpenAI-compatible upstreams as `reasoning_content` without its signature, and `redacted_thinking` is dropped, because another provider cannot verify Anthropic's signed reasoning. Upstream reasoning returns to the caller as a `thinking` block with an empty `signature`. See [Anthropic-Style Messages API](https://docs.api7.ai/ai-gateway/endpoints/anthropic-messages.md#choose-an-upstream-path).

When an application depends on provider-specific content, prefer the matching caller-facing endpoint and provider family. Use [Anthropic Messages](https://docs.api7.ai/ai-gateway/endpoints/anthropic-messages.md) for the exact Anthropic-shaped translation behavior and [OpenAI Client with Anthropic Upstream](https://docs.api7.ai/ai-gateway/endpoints/openai-client-to-anthropic.md) for the reverse direction.

## Media Inputs on Native Providers[​](#media-inputs-on-native-providers "Direct link to Media Inputs on Native Providers")

For an OpenAI-shaped `/v1/chat/completions` request sent to another provider family, portable text and tool fields have the broadest support. Inline media stays inline. A remote URL is forwarded when the upstream can read it; otherwise, the gateway downloads it under SSRF, proxy, TLS, timeout, and size controls. An unsupported part is rejected with `400` rather than dropped. See [Media Inputs and URL Fetching](https://docs.api7.ai/ai-gateway/endpoints/media-inputs.md).
