DefaultModel Property  
 

Returns the default model name for the current provider.

Syntax

object.DefaultModel

Remarks

The DefaultModel property returns the default model name associated with the current provider. This is the model that will be used if a session is created or connected without explicitly specifying a model name. In most cases, the default model is selected to provide a balance of performance and cost, typically favoring smaller, faster models that are suitable for general use. For more information about providers and their default models, refer to the Large Language Model Providers section.

Applications can use this property to determine a suitable default model for a provider, or to present a default selection to the user. The default model may change over time as providers update, replace or retire existing models. Applications that require consistent behavior should explicitly specify a model name instead of relying on the provider default.

Data Type

String

See Also

ModelName Property, Provider Property, ProviderName Property, GetProvider Method