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

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.

Example request

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

Parameters

Headers

NameTypeRequiredDescription
access-token string Required The OAuth access token of the user.

Response

Example response (illustrative values)

{
    "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. See How the API works for response codes and rate limits.