models
Retrieves the list of available DeepSeek AI models.
This function fetches information about all models accessible with your current API credentials, including model names, capabilities, and version details.
Example:
// Get available models
val modelsList = client.models()
// Display model information
modelsList.data.forEach { model ->
println("Model: ${model.id}")
println("Owner: ${model.ownedBy}")
println("Created: ${model.created}")
}
Content copied to clipboard
Return
A ListsModels object containing information about available models