# OpenAI Compatible Protocol — Endpoint Overview Source: https://ofox.io/docs/api/openai To use the official OpenAI SDK or any OpenAI-compatible client, change the API address to OfoxAI and enter your OfoxAI key. - API address: `https://api.ofox.io/v1` - Auth header: `Authorization: Bearer ` ## Endpoints For conversational requests, prefer **Responses** (the interface OpenAI currently recommends, with better prompt caching support). Existing code built on Chat Completions can stay as is; just change the address and key. | Endpoint | Method and path | Purpose | |------|------|------| | [Chat Completions](https://ofox.io/docs/api/openai/chat-completions) | `POST /v1/chat/completions` | Chat completion, the most widely compatible with existing code | | [Responses](https://ofox.io/docs/api/openai/responses) | `POST /v1/responses` | Next-generation conversational interface, recommended | | [Embeddings](https://ofox.io/docs/api/openai/embeddings) | `POST /v1/embeddings` | Text embeddings | | [Images](https://ofox.io/docs/api/openai/images) | `POST /v1/images/generations`, `/v1/images/edits` | Generate and edit images | | [Models](https://ofox.io/docs/api/openai/models) | `GET /v1/models` | List available models and their details | | [Models Count](https://ofox.io/docs/api/openai/models-count) | `GET /v1/models/count` | Model count statistics | For a side-by-side comparison of addresses and authentication across the three protocols, see [API Overview](https://ofox.io/docs/api). To get and store a key, see [API Key Setup & Usage](https://ofox.io/docs/develop/authentication).