Get a Model

Returns the details of a model, provided its name.

Path parameters

modelstringRequired

Headers

AuthorizationstringRequired

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

X-Client-NamestringOptional
The name of the project that is making the request.

Response

OK
namestring or null

Specify this name in the model parameter of API requests to use your chosen model.

endpointslist of enums or null
The API endpoints that the model is compatible with.
finetunedboolean or null

Whether the model has been fine-tuned or not.

context_lengthdouble or null
The maximum number of tokens that the model can process in a single request. Note that not all of these tokens are always available due to special tokens and preambles that Cohere has added by default.
tokenizer_urlstring or null
Public URL to the tokenizer's configuration file.
supports_visionboolean or null
Whether the model supports image inputs or not.
default_endpointslist of enums or null
The API endpoints that the model is default to.
featureslist of strings or null
The features that the model supports.

Errors