# What the project has used of the model service

`GET /models/v1/usage` · Rivier · models

What the project has used of the model service: its token allowances this period, how far it is into its spending limits for today and this month, as a share, and today's calls, tokens and cost by route and purpose.

- Scope: models:read
- Graphql: Query.modelsUsageGet
- Sdk: models.usage.get
- Cli: models usage get

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X GET 'https://api.rivier.ai/models/v1/usage' \
  -H 'Authorization: Bearer $KEY'
```
