Bruno AI is available from v4.0.0 and higher. Turn it on under
Preferences → AI → Configuration before configuring a provider.
What OpenAI-compatible means
An OpenAI-compatible provider implements API routes and request formats based on the OpenAI API. Bruno needs:- A Base URL for the compatible API
- An optional API Key
- At least one exact Model ID accepted by the endpoint
Compatibility refers to the API format. The model itself does not need to be
made by OpenAI.
Before you begin
Start the provider or local model server and find its Base URL and model ID in its documentation or interface. Common local examples:
The exact values depend on your provider and configuration.
Add an endpoint
- Open Preferences from the bottom-left corner of Bruno.
- Go to AI → Configuration.
- Turn on AI Features if it is not already enabled.
- Under OpenAI-Compatible Endpoints, click + Add endpoint.
- Enter a Name that identifies the provider, such as
Ollama localorCompany AI gateway. - Enter the provider’s Base URL, including any required API prefix such as
/v1. - Add an API Key if the endpoint requires authentication.
Add models
Under Models:- Enter the Model ID expected by the provider.
- Optionally enter a friendlier display Label.
- Click Add.
- Enable the model using its checkbox.
- Toggle the custom provider on.
llama3.1:8b, not only llama3.1.
You can add multiple model IDs to one endpoint and configure multiple custom endpoints.
Test the connection
After setting the Base URL and enabling the provider, click Test connection (the bolt icon).- Connection successful means Bruno can reach the endpoint and use its configuration.
- If the test fails, review the error and check the endpoint, authentication, and model configuration.
Edit or remove an endpoint
Expand the endpoint to:- Change its Name or Base URL
- Add, replace, or remove its API key
- Add, rename, disable, or remove models
- Select Remove endpoint to delete the endpoint from Bruno
Local provider examples
Ollama
- Install and start Ollama.
- Pull a model:
- Confirm the OpenAI-compatible API is running:
- In Bruno, use:
- Base URL:
http://localhost:11434/v1 - API Key: leave empty
- Model ID: the exact name shown by
ollama list
- Base URL:
LM Studio
- Download and load a model in LM Studio.
- Open Developer (called Local Server in some versions).
- Start the local server.
- Confirm the API is running:
- In Bruno, use:
- Base URL:
http://localhost:1234/v1 - API Key: leave empty unless authentication is enabled
- Model ID: the identifier shown by LM Studio
- Base URL:
Troubleshooting
Connection refused
The endpoint is not running, the port is incorrect, or Bruno cannot reach the host. Test the provider’s models endpoint from the same machine before testing it in Bruno.404 Not Found
Check the Base URL. Many compatible providers require an API prefix such as/v1.
Unauthorized or forbidden
Confirm that the endpoint requires an API key and that the key has the necessary permissions. Replace the saved key if it has expired or been revoked.Model not found
Copy the model ID exactly from the provider. Include required tags or versions.Models do not appear in Bruno
Make sure:- The endpoint has a Base URL.
- The custom provider is enabled.
- At least one model has been added and selected.
- The main AI Features toggle is enabled.