Legacy endpoint to list available models

Request

  • Base URL
    https://nano-gpt.com/api
  • URL
    https://nano-gpt.com/api/models
  • Auth
    API key in header x-api-key

Response

List of available models (legacy format)

modelsstring[]

List of available model names

Example response

{
  "models": [
    "openai/gpt-6.1-sol"
  ]
}

Changes