cURL
curl --request GET \ --url https://api.promptmetrics.dev/llm-provider/modals \ --header 'Authorization: <api-key>'
{ "responseData": [ { "_id": "<string>", "name": "<string>", "slug": "<string>", "models": [ { "_id": "<string>", "name": "<string>", "model_id": "<string>", "context_length": 123, "input_cost": 123, "output_cost": 123 } ] } ] }
Returns all providers along with their associated models.
SDK API key in format: pm_
Providers with models
Show child attributes