Models - TypeScript SDK
Models - TypeScript SDK
Models method reference
Models - TypeScript SDK
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
Model information endpoints
List all models and their properties
The standalone function version of this method:
Promise<models.ModelsListResponse>
Get total count of available models
The standalone function version of this method:
Promise<models.ModelsCountResponse>
List models filtered by user provider preferences, privacy settings, and guardrails. If requesting through eu.openrouter.ai/api/v1/... the results will be filtered to models that satisfy EU in-region routing.
The standalone function version of this method:
Promise<models.ModelsListResponse>