# Get AI models

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

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

Returns the AI models available on Cryptohopper as an object keyed by model key. Pass a key as model to Generate a strategy with AI.

Needs a valid access token, but no specific scope.

## 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/strategy/models" \
  -H "access-token: YOUR_ACCESS_TOKEN"
```

## Response

Example response (illustrative values):

```json
{
    "data": {
        "google/gemini-2.5-flash-lite": {
            "name": "Gemini 2.5 Flash Lite",
            "credit_use": "1.00",
            "credit_start": "0.00000000",
            "provider": "openrouter",
            "context_length": "1048576",
            "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.
