Agent Model
Custom metadata type AgentModel__mdt. Models this org approves for agents. Each record names the model adapter, Named Credential, and provider model identifier, with optional USD token prices. Agent definitions choose one active record.
| Field | API name | Type | Description |
|---|---|---|---|
| Active | IsActive__c | Checkbox | Whether agents may use this model. Unchecking it stops every agent that uses the model at its next model call. |
| Input Price per Million Tokens | InputPricePerMillion__c | Number | Current USD price for one million input tokens. Core copies it onto each model invocation with the estimated cost. |
| Max Output Tokens | MaxOutputTokens__c | Number | Most tokens the model may write in one turn, including reasoning. Core passes it to the model adapter on every request. |
| Model Adapter Class | ModelAdapterClass__c | Text | Apex class that implements IModelProvider and calls this model. |
| Model Identifier | ModelIdentifier__c | Text | Exact model identifier the adapter sends to the provider. |
| Named Credential | NamedCredential__c | Text | API name of the Named Credential the adapter calls this model through. |
| Output Price per Million Tokens | OutputPricePerMillion__c | Number | Current USD price for one million output tokens. Core copies it onto each model invocation with the estimated cost. |
Pluto is licensed under the GNU Affero General Public License, version 3 only.