OpenAI Compatible Protocol
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/v1Auth header
Authorization: Bearer <your OFOXAI_API_KEY>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.
For a side-by-side comparison of addresses and authentication across the three protocols, see API Overview. To get and store a key, see API Key Setup & Usage.
Last updated on