List Available Models
Uselist_models() to see the models available on Mira Network and get the IDs you pass to chat completions.
Example
Response Structure
list_models() returns an OpenAI-style object with a data array:
Usage Notes
- Pass a model’s
idas themodelargument in chat completions. - Different models have different capabilities and per-token pricing.
- The available models can change over time, so fetch this list rather than hardcoding it.

