General Chat API Reference
OpenAI-compatible chat completions for Cursor, ChatGPT clients, and SDKs.
Note: OpenAI SDK base_url must include /v1. Playground debug path /pg/chat/completions differs from the production API.
Endpoints
| Method | Path | Description |
|---|---|---|
| POST | /chat/completions | Chat completions (streaming supported) |
| GET | /models | List available models |
| POST | /embeddings | Text embeddings |
| POST | /completions | Legacy text completions |
Full URL is https://token.easyapi.com/v1 + path above, e.g. https://token.easyapi.com/v1/chat/completions.