Cursor
Overview
AI-native code editor with Chat, Cmd+K edits and Agent mode. It lets you override the OpenAI base URL and use your own key, so LIBRA works for chat and edits.
You need a LIBRA API key (libra_sk_...) from the console (API keys > Create key), and the base URL https://<your-host>/v1.
Installation
- Install from cursor.com and open a project.
- Gear icon (top right) or
Ctrl/Cmd+,, then Models.
Configure LIBRA
On the Models page:
OpenAI API Key : libra_sk_...
Override OpenAI Base URL : https://<your-host>/v1
+ Add Model : libra/smart (then enable it)
Press Enter after the base URL to save. Turn off the official OpenAI models to avoid mixing quotas.
Quick start (up and running in 5 minutes)
- Cursor > Settings > Models.
- Paste the LIBRA key, set the override base URL, press Enter.
- + Add Model, enter
libra/smartand switch it on. Ctrl/Cmd+Lopens Chat: picklibra/smart, send "Siapa kamu?".
FAQ
- 404 / timeout? The base URL is missing
/v1or has an extra/chat/completions. Use exactlyhttps://<your-host>/v1. - Model not found? Model ids are case-sensitive and must match the console Models page, e.g.
libra/smartorasix-deepseek-v4/deepseek-v4-flash. - 401? The key is wrong, disabled or expired. 402? Your organization balance is Rp 0; see Credits.
- 403
model_not_allowed? The key's guardrails block that model. Ask your workspace Admin or pick another model.