Skip to main content
GET
/
v1
/
models
Get Model List
curl --request GET \
  --url https://api.ai.cc/v1/models \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "data": [
    {
      "id": "gpt-4",
      "object": "model",
      "created": 123,
      "owned_by": "openai"
    }
  ]
}

Authorizations

Authorization
string
header
required

Authentication is done using Bearer Token. Format: Authorization: Bearer sk-xxxxxx

Headers

x-api-key
string

Anthropic API Key (for Claude format)

anthropic-version
string

Anthropic API version

Example:

"2023-06-01"

x-goog-api-key
string

Google API Key (for Gemini format)

Query Parameters

key
string

Google API Key (for Gemini format)

Response

Successfully retrieved the model list

object
string
Example:

"list"

data
object[]