models

Retrieves the list of DeepSeek models available for the current API key.

Example:

val modelsList = client.models()
modelsList.data.forEach { model ->
println("${model.id} (owned by ${model.ownedBy})")
}

Return

A ListsModels object containing information about available models

Throws

if the API returns a non-2xx status