Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Cohere Models API

The Cohere Models API allows developers to list and retrieve information about available Cohere models, including the Command, Embed, and Rerank model families. It provides details such as model names, versions, supported endpoints, context lengths, and capabilities. This API is useful for programmatically discovering which models are available and selecting the appropriate model for a given task.

Cohere Models API is one of 9 APIs that cohere publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Artificial Intelligence, Machine Learning, and Models. The published artifact set on APIs.io includes API documentation and an OpenAPI specification.

This API exposes 2 operations across 2 paths, and defines 3 schemas. It is described by OpenAPI 3.1.0, at version 2.0.

Requests are made against a single base URL, https://api.cohere.com.

2 operations 2 paths 3 schemas 2 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
2.0
Base URL
https://api.cohere.com
Authentication
HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 1

Cohere Models API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

  • bearerAuth — Bearer authentication using a Cohere API key. Pass the API key in the Authorization header as Bearer .

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 GET. Each is listed below with its method, path, parameters, and response codes.

Models 2

Endpoints for listing and retrieving details about available Cohere models.

GET
/v1/models
List available models
listModels 4 params → 200401
GET
/v1/models/{model}
Get model details
getModel 1 param → 200401404

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are Model (6 properties), ListModelsResponse (2 properties), Error (1 property). Each schema is shown below with its type and property counts.

Error
object
1 property
Model
object
6 properties
ListModelsResponse
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

cohere-models-api-openapi.yml Raw ↑

Other APIs cohere publishes across the network.

Cohere Chat API
Cohere Embed API
Cohere Rerank API
Cohere Classify API
Cohere Embed Jobs API
Cohere Datasets API
Cohere Tokenize API
Cohere Detokenize API