Skip to main content
GET
List Models
List all currently available models, including model ID, context length, and capability flags. We recommend querying this endpoint before creating a chat completion to verify the target model is available and supports the required capabilities.
The response is an object containing the following fields:Each model object in the data array has the following fields:
The model list and capability flags may change as the platform is updated. If you receive a resource_not_found_error (404) when creating a chat completion, the model does not exist or your account does not have access to it. Check the model parameter spelling and confirm your account tier.
This endpoint requires a valid API Key for authentication. If you receive a 401 error, verify that the Authorization header is Bearer <MOONSHOT_API_KEY> and that the API Key matches the platform endpoint (Keys from platform.kimi.ai and platform.kimi.com are not interchangeable).

Authorizations

Authorization
string
header
required

The Authorization header expects a Bearer token. Use an MOONSHOT_API_KEY as the token. This is a server-side secret key. Generate one on the API keys page in your dashboard.

Response

Model list

object
string
Example:

"list"

data
object[]