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

Available in: Lightning Experience
Available in: Enterprise, Performance, Unlimited, and Developer Editions. Required add-on licenses vary by agent type.
Note
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 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

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.