curl --request GET \
--url https://api.avidoai.com/v0/model-pricing \
--header 'x-api-key: <api-key>' \
--header 'x-application-id: <api-key>'{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"orgId": "org_123456",
"applicationId": "456e4567-e89b-12d3-a456-426614174000",
"createdAt": "2024-01-05T12:34:56.789Z",
"modifiedAt": "2024-01-05T12:34:56.789Z",
"modelId": "gpt-4o-2024-08-06",
"inputCostPer1kTokens": 0.0025,
"outputCostPer1kTokens": 0.01,
"currency": "USD"
}
],
"pagination": {
"skip": 0,
"limit": 25,
"total": 100,
"totalPages": 4,
"totalCount": 100
}
}Retrieves a paginated list of model pricing entries with optional filtering
curl --request GET \
--url https://api.avidoai.com/v0/model-pricing \
--header 'x-api-key: <api-key>' \
--header 'x-application-id: <api-key>'{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"orgId": "org_123456",
"applicationId": "456e4567-e89b-12d3-a456-426614174000",
"createdAt": "2024-01-05T12:34:56.789Z",
"modifiedAt": "2024-01-05T12:34:56.789Z",
"modelId": "gpt-4o-2024-08-06",
"inputCostPer1kTokens": 0.0025,
"outputCostPer1kTokens": 0.01,
"currency": "USD"
}
],
"pagination": {
"skip": 0,
"limit": 25,
"total": 100,
"totalPages": 4,
"totalCount": 100
}
}Your unique Avido API key
Your unique Avido Application ID
Number of items to skip before starting to collect the result set.
0 <= x <= 90071992547409910
Number of items to include in the result set.
1 <= x <= 10025
Field to order by in the result set.
"createdAt"
Order direction.
asc, desc "desc"
Filter by model ID
"gpt-4o-2024-08-06"