---
schema_version: "1"
id: ec880e9098fd06df5c1e910384fccf8f2caf03ff46791437263a2e7b106cd6a5
title: Select Agentforce Model Option
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/agent_setup_select_model_provider.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.agent_setup_select_model_provider.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 6e6cbbc56f3a7efa879a4751896008cf5ff7c5f533d977d5c7fde72cb4731a15
description: We recommend using the Salesforce Default model option for Agentforce, which enables Salesforce to select the best model mix for agent accuracy and performance. But you can choose an AWS-Hosted or Google Gemini model option instead.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Select Agentforce Model Option

We recommend using the Salesforce Default model option for Agentforce, which enables Salesforce to select the best model mix for agent accuracy and performance. But you can choose an AWS-Hosted or Google Gemini model option instead.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions. <a href="https://help.salesforce.com/s/articleView?id=ai.agent_setup_explore_types.htm&amp;release=264.0.0&amp;type=5" title="Learn about agent types and default templates for specific clouds and common use cases.">Required add-on licenses vary by agent type.</a></td></tr></tbody></table>

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ai-generative_ai-264-0-0-production-enus/f8ef6498-d7b2-44e3-9b34-ffd5a850aae9/images/icon_note.png)

Note Although Agentforce is limited to a few model options, a custom action that uses a prompt template, Apex, or the Models API can reference any Salesforce-managed or BYO model.

## Override Model Option for Agent or Subagent

This page explains how to select the default model option for Agentforce agents. When you're designing an agent, you can override the default model selection and specify a different model for an agent or subagent. For more information, see [Configure Models in Agent Script](https://developer.salesforce.com/docs/ai/agentforce/guide/ascript-model.html) in the Agentforce Developer Guide.

## Salesforce Default

The Salesforce Default model option for Agentforce is a managed mix of trusted models optimized by Salesforce for accuracy, trust, and performance.

- Agents created in the new Agentforce Builder use GPT-4.1
- Agents created in the legacy Agentforce Builder use GPT-4o

## AWS-Hosted

The AWS-Hosted option uses Anthropic Claude Haiku 4.5 on Amazon Bedrock. Because the Salesforce-managed instance of Anthropic is hosted on the Salesforce instance of Amazon Bedrock:

- All LLM traffic remains within the Salesforce virtual private cloud (VPC) enabling a highly secure network architecture.
- The traffic is encrypted using TLS 1.2 at a minimum always.
- The Bedrock instances where Salesforce hosts Anthropic models are connected with AWS PrivateLink.
- Model providers, including Anthropic, can't access the customer’s data.
- No customer data is stored within the Amazon Bedrock service.
- No customer data is persisted or used to train any models.

## Google Gemini

The Google Gemini option uses Gemini 3.5 Flash on Vertex AI (Google).

Google Gemini is supported for agents built in the new Agentforce Builder only. Don't select Google Gemini if you have active agents created in the legacy Agentforce Builder.

## Scope for Model Option Selection

The Agentforce reasoning engine uses the selected model option.

For any option, specific tasks, such as subagent classification or citations, may use Salesforce-owned models.

## Select Your Model Option

To select the model option for Agentforce, from Setup, in the Quick Find box, enter Audit, Analytics, and Monitoring and select **Einstein Audit, Analytics, and Monitoring Setup**. Choose an option in the Select the Model for Agentforce section. The model option selection applies to all Agentforce agents.

If you previously created any prompts or custom actions or subagents for Agentforce, test them after switching your model option.

If you choose the AWS-Hosted or Google Gemini options, update custom agent actions to use Anthropic Claude Haiku 4.5 on Amazon or Gemini 3.5 Flash respectively for consistency.

## Zero-Data Retention

Your data isn’t retained by third-party LLMs. We partner with all our external model providers, such as OpenAI, Anthropic, and Google to enforce the zero-data retention policy.

## Salesforce Trust Boundary

The Salesforce-managed instance of Anthropic is the first LLM provider that’s fully contained within the Salesforce trust boundary. All LLM traffic remains within the Salesforce VPC enabling a highly secure network architecture.

![Salesforce Trust Boundary](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ai-generative_ai-264-0-0-production-enus/f8ef6498-d7b2-44e3-9b34-ffd5a850aae9/generative_ai/images/agent_salesforce_trust_boundary.png)

## Best Practices for the AWS-Hosted Option

Consider these best practices if you select the AWS-Hosted option.

- If you previously created any custom actions or subagents for Agentforce, test them after switching the model option. You may need to adjust some prompts to perform as expected with Anthropic.
- Compared to OpenAI, Anthropic tends to be more sensitive to the nuances in the input payload. Anthropic returns more accurate and reliable responses if the prompts are clear, concise, and thorough.

Use these resources for examples and detailed guidance.

- [Subagents in the Legacy Builder](https://help.salesforce.com/s/articleView?id=ai.copilot_topics.htm&release=264.0.0&type=5 "A subagent is a particular job an agent can do and an essential element of an agent’s reasoning. A subagent contains actions, which are the tools available for the job, and instructions, which tell the agent how to make decisions. Collectively, the subagents assigned to your agent define the capabilities your agent can handle. Salesforce provides a library of standard subagents for common use cases, and you can create custom subagents to meet your users’ specific business needs.")
- [Best Practices for Subagent Instructions in the Legacy Builder](https://help.salesforce.com/s/articleView?id=ai.copilot_topics_instructions.htm&release=264.0.0&type=5 "Subagent instructions set guidelines for agent behavior and give an agent the context it needs to do its job. Review best practices for writing subagent instructions to reduce latency and help your agent respond accurately and consistently.")
- [Best Practices for Agent Action Instructions](https://help.salesforce.com/s/articleView?id=ai.copilot_actions_instructions.htm&release=264.0.0&type=5 "Action instructions tell an agent what your action does and when to use it. When you create a custom action, carefully plan and test your instructions to ensure that your action performs as expected.")
- [Troubleshooting Agents in the Legacy Builder](https://help.salesforce.com/s/articleView?id=ai.copilot_troubleshoot.htm&release=264.0.0&type=5 "Solve common agent issues.")
- _The Agentforce Guide_: [Best Practices for Subagents, Instructions, and Actions](https://www.salesforce.com/agentforce/guide/#best-practices-for-topics-instructions-and-actions)
- _Anthropic_: [Prompt Engineering](https://docs.anthropic.com/en/docs/build-with-claude/prompt-engineering/be-clear-and-direct)