Bring Your Own AI, or BYO AI, lets you use your own provider subscription for Mini DBA AI Assistant requests. This is useful when your organization requires an approved model, private endpoint, specific region, local model, or centralized billing.
The default Mini DBA AI provider can be useful for quick analysis, but it has a daily free token allowance. BYO AI sends AI Assistant requests to the provider you configure in AI Provider Settings. That means usage is governed by your provider subscription, model limits, network access, and internal policy rather than the Mini DBA default free token quota.
Use BYO AI when you need:
| Provider | Typical Use | Authentication Options |
|---|---|---|
| OpenAI | Standard OpenAI API usage. | API key. |
| Azure OpenAI | Enterprise Azure deployment and regional control. | API key or Azure Entra where configured. |
| OpenAI Compatible | Gateways and providers that expose OpenAI-style endpoints. | API key or no authentication, depending on provider. |
| Ollama | Local or self-hosted models. | No authentication or API key. |
| Anthropic Claude | Claude models through Anthropic API. | API key. |
Mini DBA stores BYO AI settings in the browser local storage for the current user. Settings are encrypted before storage, and provider capability information may be cached so the console can adapt to the provider.
For Azure OpenAI, the model field is the deployment name. The endpoint should be the Azure OpenAI resource URL, not a generic OpenAI URL. If Azure Entra authentication is used, confirm the identity has permission to call the deployment.
For OpenAI-compatible providers, use the provider's OpenAI-compatible base URL. Examples include model gateways, inference providers, or internal proxy services. Test the connection because compatibility can vary by provider and model.
For Ollama, the default base URL is commonly http://localhost:11434/v1. The browser and Mini DBA Console need network access to the endpoint you enter. If Mini DBA runs on a server and the browser runs elsewhere, localhost may not point where you expect.
For Anthropic, use the Anthropic base URL and the API version required by your account or deployment.
When BYO AI is enabled, Mini DBA uses your configured provider and does not apply the default free daily Mini DBA token quota. Your provider may still charge for input tokens, output tokens, requests, or model runtime. The AI Assistant may show duration, token count, and model information when the provider returns it.
Control cost by:
If the Test action fails, check the provider name, endpoint URL, model or deployment name, API key, authentication mode, tenant ID, managed identity client ID, API version, network path, proxy rules, and provider quota. Check Web Log for console-side errors and Service Log when engine-side network or settings issues are suspected.
If the AI panel still shows Default AI, return to AI Provider settings and confirm the BYO AI provider is enabled and saved. The provider badge updates when settings are changed.