# List the available AI models

`GET https://api.cryptohopper.com/v1/ai/models`

Part of [AI](https://www.cryptohopper.com/api-documentation/api-reference/ai.md) in the Cryptohopper API reference.

Returns the language models an AI can use, keyed by model key, with their credit cost and provider.

The handler checks no OAuth scope. Only active models are listed.

## Headers

| Name | Type | Required | Description |
|---|---|---|---|
| `access-token` | string | yes | The OAuth access token of the user. |

## Example request

```bash
curl "https://api.cryptohopper.com/v1/ai/models" \
  -H "access-token: YOUR_ACCESS_TOKEN"
```

## Response

Example response (illustrative values):

```json
{
    "data": {
        "deepseek/deepseek-chat": {
            "name": "DeepSeek V3",
            "credit_use": "0.50",
            "credit_start": "1.00000000",
            "provider": "openrouter",
            "context_length": "164000",
            "status": "1"
        }
    }
}
```

Status codes: 200. Errors return JSON with `status`, `error` and `message`, plus a numeric `code` when the error comes from the API itself rather than the gateway.
