Skip to main content
POST
/
api
/
v1
/
models

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
provider
string
required

The provider of the model

name
string
required

The name of the model

type
string
required

The type of the model

label
string
required

The label of the model

vision
boolean
default:false
required

Whether the model supports vision

audio
boolean
default:false
required

Whether the model supports audio

inputCostPer1mTokens
number
required

Cost of one input million tokens

outputCostPer1mTokens
number
required

Cost of one output million tokens

apikeys
string[]
required

API keys for the model

description
string

The description of the model

Response

201

The model has been successfully created.