Prerequisites
- You have completed Create an account.
- You have completed Get an API Key.
- Cursor is installed and Settings opens normally.
- You have the 4096bytes API Key, Base URL, and model name.
cursor-desktop or cursor-work.
Install
If Cursor is not installed, open the Cursor download page and choose the package for macOS, Windows, or Linux.Download the installer
Choose the correct package for your machine. On macOS, distinguish Apple Silicon from Intel. On Windows, distinguish x64 from ARM64.
Open model settings
Open Cursor settings
Open Settings in Cursor. Common entry points include the lower-left gear icon, Cursor Settings in the command palette, or Cursor > Settings in the menu.
Open the model page
Open Models, AI, or a provider-related page. Find OpenAI API Key, custom API, or Override Base URL settings.
Fill connection fields
| Cursor field | Value |
|---|---|
OpenAI API Key, API Key | The API Key you created in the 4096bytes dashboard. |
Override OpenAI Base URL, Base URL | https://api.4096bytes.com. |
Model name, Custom model | The model name shown in the dashboard. |
/v1/chat/completions, /v1/responses, or another full endpoint path.
Add the model name
Enter the model name
Enter the model name shown in the dashboard. It must match exactly, including capitalization, hyphens, and version numbers.
Select and test the model
After saving, open Cursor Chat or Agent and choose the 4096bytes model from the model selector. Use a low-risk test prompt:Tips
- Use a dedicated API Key for Cursor.
- Start with a short prompt to confirm the model, key, and Base URL.
- If multiple providers are configured, check the selected model before sending a message.
- For teams, use separate keys per person or device to diagnose usage.
Troubleshooting
The new model does not appear
The new model does not appear
Confirm the model was added to the model list and restart Cursor. Some versions refresh the selector only after reopening the Chat panel.
model not found
model not found
Copy the model name again from the dashboard and check for extra spaces, capitalization errors, or missing version suffixes.
Authentication failed
Authentication failed
Check that the API Key is complete. Make sure you did not paste an old, deleted, or newline-containing key.
Wrong request address
Wrong request address
Use
https://api.4096bytes.com as the Base URL. Do not fill a full endpoint path or copy another client’s address format.Cursor still uses official models
Cursor still uses official models
Manually choose the 4096bytes model in Chat or Agent. Custom API Keys may not affect every built-in Cursor feature.
Requests fail even though settings look correct
Requests fail even though settings look correct
Check account balance, key quota limits, model availability in the current group, and network access to
https://api.4096bytes.com.