Python SDK: Models
⚠️
Preview — this feature is being built; the design below is the spec.
Discover models and their limits.
from syntic import Syntic
client = Syntic() # reads SYNTIC_API_KEY| Method | Endpoint | Returns |
|---|---|---|
models.list | GET /v1/models | SyncPage[Model] / Page<Model> |
models.retrieve | GET /v1/models/{id} | Model |
Methods
models.list
List the models your key can use. Auto-paginates when iterated. Maps to GET /v1/models.
for item in client.models.list():
print(item.id if hasattr(item, 'id') else item)models.retrieve
One model’s limits, capabilities and prices. Maps to GET /v1/models/{id}.
result = client.models.retrieve('Amara S1.2')Conventions
Every method accepts extra_headers, extra_query, extra_body and timeout keyword arguments, and has an async twin on AsyncSyntic. List methods return pages that iterate across all pages automatically.
See the Python SDK overview for installation, errors and retries.
Was this page helpful?