← All applications · Connect apps section on /docs
OpenAIManual setup
Cursor
Cursor: hướng dẫn cấu hình model và nhà cung cấp trong trình soạn thảo.
Published instructions · App version: unverified
Chat, ping, invoke and content-generation examples may send real billable requests. Check the model, balance, rate and minimum before running them. GET /v1/models checks authentication and the catalogue only. Set up environment variables safely
Base URL to paste
OpenAI SDKs generally use a URL ending in /v1; Anthropic SDKs use the root URL. Avoid adding /v1 twice. Protocol compatibility does not guarantee every provider feature.
https://apistack.vn/v1Prerequisites
- Cursor đã cài
- API key API Stack
Recommended model: claude-fable-5
Quick way — command / config
Cursor → Settings → Models
OpenAI API Key : sk-stk-...
☑ Override OpenAI Base URL
Base URL : https://apistack.vn/v1
Thêm Model Names (nếu cần):
claude-fable-5
claude-sonnet-5
gpt-5.6-sol
Bấm Verify / dùng Chat với model vừa thêm.Where to place file / fill Settings
Interfaceany
Settings → Models
Bật Override Base URL trước khi Verify. Base URL phải có /v1.
Interfacemacos
Cursor → Settings… (⌘,)
Tìm Models trong sidebar Settings.
Interfacewindows
File → Preferences → Cursor Settings
Mục Models / OpenAI.
Verify connection
- Verify thành công hoặc Chat trả lời.
- Dashboard Sử dụng.
Troubleshooting
| Symptom | Reason | How to handle |
|---|---|---|
| 404 | Base URL thiếu /v1 hoặc thừa /v1/v1. | Chính xác: https://apistack.vn/v1 |
| Tab/Composer đám mây không trừ API Stack | Một số tính năng Cursor chạy trên cloud Cursor. | Dùng Chat/Agent với model custom OpenAI override — đó là đường qua API Stack. |
Notes
- Claude qua Cursor vẫn đi OpenAI Chat Completions; cổng API Stack chuyển sang Messages + tools.