Skip to content

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.

FieldAPI nameTypeDescription
ActiveIsActive__cCheckboxWhether agents may use this model. Unchecking it stops every agent that uses the model at its next model call.
Input Price per Million TokensInputPricePerMillion__cNumberCurrent USD price for one million input tokens. Core copies it onto each model invocation with the estimated cost.
Max Output TokensMaxOutputTokens__cNumberMost tokens the model may write in one turn, including reasoning. Core passes it to the model adapter on every request.
Model Adapter ClassModelAdapterClass__cTextApex class that implements IModelProvider and calls this model.
Model IdentifierModelIdentifier__cTextExact model identifier the adapter sends to the provider.
Named CredentialNamedCredential__cTextAPI name of the Named Credential the adapter calls this model through.
Output Price per Million TokensOutputPricePerMillion__cNumberCurrent 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.