Skip to content

List Models

This example assumes using DeepInfra; is in scope and apiKey contains your DeepInfra API key.

1
2
3
4
5
6
var client = new DeepInfraClient(apiKey);
var models = await client.ModelsListAsync();
foreach (var model in models)
{
    Console.WriteLine(model.ModelName);
}