List the currently available models and provide prices for each model.
Request
1 is the llm model list, 0 is the non-llm model list, if not passed, it is all models
Example:Bearer {{YOUR_API_KEY}}
Request samples
curl --location --request GET 'https://api.302.ai/v1/models?llm=1' \
--header 'Authorization: Bearer sk-jls4AaVBGoe1GwZD64qZA1qyKTN1MPHa4NmvH1cT68z7K1Zz'
Responses
application/json {
"data": [
{
"id": "model-id-0",
"object": "model"
},
{
"id": "model-id-1",
"object": "model"
},
{
"id": "model-id-2",
"object": "model"
}
],
"object": "list"
}
Modified at 2025-02-18 06:29:06