Base URL
All API endpoints are served from a single base URL. The EmberCloud API is fully OpenAI-compatible, so you can use any existing OpenAI SDK or HTTP client by simply changing the base URL.
Base URL
https://api.embercloud.ai/v1
Available Endpoints
The following endpoints are available under the base URL:
| Method | Endpoint | Description |
|---|---|---|
| POST | /v1/chat/completions | Create a chat completion (streaming & non-streaming) |
| GET | /v1/models | List all available models and pricing |
SDK Configuration
Point any OpenAI-compatible SDK at EmberCloud by setting the base URL:
from openai import OpenAI
client = OpenAI(
base_url="https://api.embercloud.ai/v1",
api_key="YOUR_API_KEY",
)Tip: You can also set the OPENAI_BASE_URL environment variable to https://api.embercloud.ai/v1 and the OpenAI SDK will use it automatically without any code changes.