Skip to main content

Configure Model Providers

Model providers connect Dremio to the large language models (LLMs) that power AI features, including the AI agent and AI functions. A model provider is the external service that hosts the model (for example, Anthropic, OpenAI, or Amazon Bedrock); the model is the specific LLM within that service (for example, claude-opus-4-6 or gpt-5.1). Every organization includes the Dremio-Provided LLM by default, but you can configure your own.

Supported Model Providers

ServiceConnection Method(s)
OpenAIOrganization ID + API key + region (US, EU, or Global). US and EU route LLM calls to region-specific infrastructure; Global routes to OpenAI's default infrastructure without data residency guarantees. Region selection adheres to OpenAI Regional Data Controls.
AnthropicAPI key
Google GeminiAPI key without HTTP Referer restrictions. Dremio does not send an HTTP Referer header, causing restricted keys to fail with Requests from referer <empty> are blocked.
Amazon BedrockChoose one of the following:
  • Region + access key ID + secret access key
  • Region + IAM role ARN
Azure OpenAIResource name + directory ID + application ID + client secret value
OpenAI-Compatible APIAPI endpoint URL, and optionally organization ID and API key

Add a Model Provider

Before you add a model provider, ensure you have:

Select the tab for your model provider service and follow the steps to connect it to Dremio.

To add a model provider for OpenAI, Anthropic, Gemini, or Azure OpenAI:

  1. In the Dremio console, click Admin icon in the side navigation bar and select Organization.
  2. Select AI Configurations from the organization settings sidebar.
  3. Click Add model provider.
  4. In the Add model provider dialog, select the Service for your provider (for example, OpenAI, Anthropic, or Google Gemini).
  5. Enter a Name for the model provider.
  6. Enter the required connection credentials for your provider. See Supported Model Providers for the required fields.
  7. For Default Model ID, enter the model to use for AI agent interactions. For Azure OpenAI, enter the deployment name you configured in the Azure portal (for example, my-gpt4-deployment), not the underlying model name (for example, gpt-4). Dremio does not verify this value; if the deployment name is incorrect or inaccessible, errors appear at runtime.
  8. (Optional) For Allowed Model IDs for AI Functions, enter the model IDs you want to make available for AI functions.
  9. Click Add.

Model Allowlist

Admins can configure an allowlist of models available for use in AI functions. Any model on the allowlist can be referenced by name in AI_GENERATE and other AI function calls. Models not on the allowlist are not available to users, even if the model provider is otherwise configured.

Default Model Provider

Admins set the default model provider through Admin > Organization > AI Configurations. The default is used for all AI agent interactions and AI function calls; changes take effect for all users immediately. By default, CALL MODEL is granted to all users for all new model providers, so users can continue using the AI agent without interruption if the default changes.

Edit a Model Provider

You can edit a model provider, such as to rotate API credentials or change the default model ID. To change the default model provider, you must have MODIFY privilege on both the current default model provider and the new proposed default.

To edit a model provider:

  1. In the Dremio console, click Admin icon in the side navigation bar and select Organization.
  2. Select AI Configurations from the organization settings sidebar.
  3. Click Edit next to the model provider.

Delete a Model Provider

You must have MODIFY privilege on the model provider in order to delete it. If the provider is currently set as the default, assign a new default before deleting it. If no other configured providers exist, the Dremio-Provided LLM automatically becomes the default when you delete the provider.

To delete a model provider:

  1. In the Dremio console, click Admin icon in the side navigation bar and select Organization.
  2. Select AI Configurations from the organization settings sidebar.
  3. Click Delete next to the model provider.

Model Selection Guidelines

Dremio includes the Dremio-Provided LLM, which requires no configuration. LLM calls route to US or EU endpoints based on your organization's control plane. This provider cannot be deleted, but you can add your own.

Dremio recommends that you have a mid-tier or higher LLM for the AI agent. An underpowered model generates invalid SQL, fails to recover from errors, and produces unreliable responses.

TierExamplesNotes
MidClaude Sonnet 4.5, GPT-5.1Best balance of quality, latency, and cost for most organizations. Handles multi-step queries, joins, visualizations, and error recovery well.
HighClaude Opus 4.6, GPT-5.2Most accurate SQL generation and strongest reasoning on complex analytical questions. Higher cost than mid-tier.

When selecting a model, consider:

  • Data residency: OpenAI model selection is region-aware. Selecting US, EU, or Global determines where LLM calls are routed. For EU deployments, select an EU-compliant endpoint to meet data residency requirements.
  • Cost and throughput: Higher-capability models generally have higher token costs. If you have high-volume AI function usage, evaluate the cost implications of your default model selection.
  • Model availability: Some models may be restricted in certain regions even if your provider offers them. Refer to your provider's documentation to confirm model availability in your region.

The AI agent requires a text-generation (chat/completion) model with a context window of at least 128K tokens. Embedding, image generation, audio, video, computer-use, and lightweight (Nano, Mini, Flash-class) models are not supported for the AI agent.

When you have selected your model provider, see Add a Model Provider for the steps.

  • Analyze Using AI Agent – Learn how users interact with the AI agent once a model provider is configured.
  • Data Privacy – Learn more about Dremio's data privacy practices.