Create an AI model config
Create an AI model config. You can use this in any variation for any AI Config in your project.
Path parameters
projectKey
Headers
Authorization
LD-API-Version
Version of the endpoint.
Request
This endpoint expects an object.
name
Human readable name of the model
key
Unique key for the model
id
Identifier for the model, for use with third party providers
icon
Icon for the model
provider
Provider for the model
params
customParams
costPerInputToken
Cost per input token in USD
costPerOutputToken
Cost per output token in USD
Response
Successful response
name
Human readable name of the model
key
Unique key for the model
id
Identifier for the model, for use with third party providers
global
Whether the model is global
version
_access
icon
Icon for the model
provider
Provider for the model
params
customParams
costPerInputToken
Cost per input token in USD
costPerOutputToken
Cost per output token in USD