Adding a Custom AI Model
Written for the Old UI
This article was written for the old UI. The instructions are still usable, but the screenshots are outdated. In some cases, items referenced in the instructions have moved or changed. If you cannot find an item, see the Where Did It Go article.
Overview
This article explains how to connect a custom AI model to DevOps, replacing Flosum’s shared AI resources. Using your own model can improve performance, reduce latency, and help prevent temporary errors caused by heavy load on Flosum's shared AI resources. A self-hosted model can also provide stronger information security than cloud AI providers. Depending on the provider and model you choose, you may see improvements in speed and reliability. To connect, you will need an API token from your chosen provider. To learn more about the AI features in DevOps, see the following article.
Best Practices
Validate your custom AI model configuration in a non-production branch before rolling it out more widely.
Use an AI model provider API endpoint that meets your security requirements (cloud vs self-hosted).
Store your API token securely and rotate it based on your security requirements.
Supported AI Models
DeepSeek Chat
DeepSeek Reasoner
GPT 4o
GPT 4o Mini
GPT 4.1
GPT 4.1 Mini
GPT 5
GPT 5 Mini
Adding a Custom Model
Enable Custom Model
Enable the Custom model toggle.

Click the Model dropdown menu.

Select the AI model you are connecting to.

In the Api Url textbox, enter the endpoint URL of the AI model you are connecting to.
API URL
DeepSeek API Endpoint
You can connect to a DeepSeek model hosted by DeepSeek using the following URL:
https://api.deepseek.com
OpenAI API Endpoint
You can connect to a GPT model hosted by OpenAI using the following URL:
https://api.openai.com/v1
Third-Party or Self-Hosted API Endpoint
You can connect to any third-party or self-hosted AI model that uses an OpenAI-compatible API endpoint. The API URL must be accessible from Flosum’s servers.
In the Token textbox, enter your API token for connecting to the AI model.

Click Save.

If the connection to the AI model is successful, you will see the message "AI model configured successfully."
Last updated
Was this helpful?
