Skip to main content

List Available Models

Use list_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 id as the model argument 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.