List all models
- Python
- Node.js
- Go
List free or paid models
Passfree to list(): true returns free models only, false paid models only.
- Python
- Node.js
- Go
Filter by type or provider
list() also takes type (text, embedding, image, audio, video) and provider
(a provider slug such as openai or vertex). Filters combine. The API also accepts
type=evaluation, though the SDK type hints list only the five values above.
- Python
- Node.js
- Go
Search models
search() calls GET /v1/models/search: fuzzy text search (q) plus filters (free,
discounted, input_modality, output_modality, brand), sorting (sort, order), and
paging (limit, offset). It returns a page with items, total, limit, offset, and
brands.
- Python
- Node.js
- Go
Get one model
- Python
- Node.js
- Go