Get a Model

GET

Returns the details of a model, provided its name.

Path parameters

modelstringRequired

Headers

X-Client-NamestringOptional

The name of the project that is making the request.

Response

This endpoint returns an object.
namestringOptional

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

endpointslist of enumsOptional

The API endpoints that the model is compatible with.

finetunedbooleanOptional

Whether the model has been fine-tuned or not.

context_lengthdoubleOptional

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_urlstringOptional

Public URL to the tokenizer’s configuration file.

default_endpointslist of enumsOptional

The API endpoints that the model is default to.