---
schema_version: "1"
id: 8ef0501ce5f22e6690f94e64d2f4c37c0f84386cf0f6ddc7a647b422be3716e9
title: Use Salesforce and Other Premium Models
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/salesforcedx/einsteinfordevs/guides/files/devagent-mms.md
canonical_url: https://developer.salesforce.com/docs/platform/einstein-for-devs/guide/devagent-mms.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 1b1bac882772e3df56e236335a199f38f49e400d82b4bc25bb55611c643ada51
products:
  - Agentforce Vibes Developer Guide (Deprecated)
  - salesforcedx
---
# Use Salesforce and Other Premium Models

Agentforce supports multiple models to improve code generation quality and accuracy of Salesforce-related answers. Our architecture enables integration of both Salesforce-hosted models and premium third-party models, with automatic model selection. Model selection defaults to a Salesforce-hosted model after certain number of requests or when token limit is reached. Multi-model architecture offers these benefits:

- Higher quality code generation and Salesforce-specific guidance.
- Cost optimization through tiered model access.
- Maintained trust with default routing through Einstein Trust Layer.
- Architecture that can adapt as LLM technology evolves.

## See Also

[Model Usage and Choice Limits](https://developer.salesforce.com/docs/platform/einstein-for-devs/guide/einstein-overview.html#model-usage-and-choice-limits)
