Skip to main content
The Models API gives you programmatic access to the full Meliai model catalog — more than 60 open-weight models routed across European providers. You can list the entire catalog, narrow it down by output modality or supported parameters, sort results by cost or performance characteristics, and retrieve detailed metadata for any individual model. Use this endpoint to build dynamic model pickers, automate cost-optimized routing decisions, or simply discover what is available before you start building.

List Models

Fetch all models your API key has access to. Apply query parameters to filter and sort the results. GET /v1/models
string
Comma-separated list of modalities to filter by. Accepted values: text, image, audio, embeddings, all. Example: output_modalities=image returns only image-generation models.
string
Filter to models that support a specific API parameter. For example, pass tools to return only tool-calling capable models.
string
Sort order for the returned list. Accepted values:
  • pricing-low-to-high — cheapest models first
  • pricing-high-to-low — most expensive models first
  • context-high-to-low — largest context window first
  • throughput-high-to-low — highest throughput first
  • latency-low-to-high — lowest latency first
  • newest — most recently added first
  • most-popular — most used models first
integer
Number of results to skip for pagination. Defaults to 0.
integer
Maximum number of results to return. Defaults to 100, maximum 1000.

Retrieve a Single Model

Fetch the full metadata object for one specific model by its ID. GET /v1/models/{id}

Model Object Schema

Every model object returned by the API contains the following fields.

Browse the full model catalog visually, compare specs side-by-side, and filter by category at meliai.ai/hub — no API key required.
Use ?supported_parameters=tools to find every model that supports tool calling. Combine it with &sort=pricing-low-to-high to pick the most cost-effective tool-calling model for your use case.