Prompt Builder Limits
Learn the numerical limits of prompt templates.
Required Editions
| Available in: Lightning Experience |
| Available in: Enterprise, Performance, and Unlimited Editions with the Einstein for Platform, or Einstein or Agentforce for Sales or Service add-on, or Agentforce Foundations |
Numerical Limits
Prompt templates have these numerical limits.
| Limit Description | Limit |
|---|---|
| Maximum template size | 128,000 characters |
| Maximum number of template versions | 50 |
| Maximum number of merge fields | 50 |
| Maximum number of flow merge fields | 5 |
| Maximum number of Apex merge fields | 5 |
| Maximum number of related list merge fields | 5 |
| Maximum number of inputs in a Flex template | 5 |
File Upload Limits
Most models support at least one file type that can be used with prompt templates.
These file limits apply across all models:
- Maximum quantity: 10 images per request
- Total file size: 15MB per request
Important Some models may have smaller limits than the ones listed here. Check
with your model provider for exact details.
Unsupported files are excluded from the request. Due to post-processing, the size of a file may exceed the listed limits. A list of excluded files is displayed in the resolution panel after processing.
Did this article solve your issue?
Let us know so we can improve!

