Coding agents
Use Libremodel in Cursor
Cursor lets you bring your own OpenAI-compatible key. Add ours, override the base URL, and our models show up in the chat's model picker.
1. Install Cursor
Download it from cursor.com and sign in. Using your own API key requires a Cursor plan that allows it.
2. Add your key
- Create a key in API keys.
- Open Cursor Settings (
Cmd+Shift+J, orCtrl+Shift+J), then Models and API Keys. - Paste the key as your OpenAI API key and turn it on.
- Turn on Override OpenAI Base URL and enter the URL below.
Base URL
https://api.libremodel.ai/v13. Add the models
On the same page, add each model you want as a custom model:
Model IDs
kimi-k3.1-pro-uncensored
deepseek-v4.1-flash-1017-uncensored
glm-5.3-flash-uncensored
kimi-k3.1-pro
deepseek-v4.1-flash-1017
minimax-m3.1-flash4. Pick a model
Open a new chat and choose one of our models instead of Auto.
Troubleshooting
If Cursor says the model name is not valid, the OpenAI key got switched off; updates sometimes do that. Turn it back on.
Notes
- While the base URL override is on, Cursor's own models stop working. Turn it off to use them again.
- Cursor does not send a reasoning effort for custom models, so each one thinks at its default level.
- Tab completion always uses Cursor's own models.
- Custom models work in chat. Agent mode may not work with them.