OpenAI-compatible API
Configure an OpenAI client for OpenPond hosted model inference.
OpenAI-compatible API
OpenPond's hosted catalog uses the OpenAI-compatible base URL:
text
https://api.openpond.ai/opchat/v1Authenticate with an OpenPond API key that has opchat:model:read to list
models and opchat:chat:create to create completions.
Core endpoints
| Endpoint | Purpose |
|---|---|
GET /models | List public hosted catalog models. |
GET /models/{model} | Read one public hosted model. |
POST /chat/completions | Create a regular or streaming completion. |
Compatibility boundary
Use standard chat-completions request and streaming shapes. Always validate the exact feature you need—such as tools, streaming, cancellation, or structured errors—against the selected model and the current API response.
Next: JavaScript quickstart.