GET
/
models
curl --request GET \
  --url https://nano-gpt.com/api/models \
  --header 'x-api-key: <api-key>'
{
  "models": [
    "chatgpt-4o-latest"
  ]
}

Authorizations

x-api-key
string
header
required

Response

200
application/json
List of available models (legacy format)
models
string[]

List of available model names

Model identifier