GET
https://octopusx.ai
/
v1
/
models
curl https://octopusx.ai/v1/models \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "object": "list",
  "data": [
    {
      "id": "gpt-4o",
      "object": "model",
      "created": 1735689600,
      "owned_by": "openai"
    },
    {
      "id": "claude-sonnet-4-20250514",
      "object": "model",
      "created": 1735689600,
      "owned_by": "anthropic"
    }
  ]
}

Model List

Query the list of available models. The route determines the compatible format based on the request headers: it returns OpenAI style by default; with x-api-key and anthropic-version, it uses Claude style; with x-goog-api-key or the key query parameter, it uses Gemini style.
If you only want to know “roughly what text model names are available in the system” and do not want to send an API request right away, you can first look at the “Common Model Name Examples” in the text model support matrix. However, the models actually available for your current key are still determined by the response from this endpoint.

Common Model Name Examples

FamilyCommon Model Names
GPT / OpenAIgpt-4o, gpt-4o-mini, gpt-4.1, gpt-4.1-mini, gpt-4.1-nano, o1, o3
Claudeclaude-sonnet-4-20250514, claude-sonnet-4-6, claude-opus-4-6, claude-opus-4-7, claude-haiku-4-5-20251001
Geminigemini-2.0-flash, gemini-2.5-flash, gemini-2.5-pro, gemini-3.1-pro-preview
DeepSeekdeepseek-chat, deepseek-reasoner, deepseek-v4-flash, deepseek-v4-pro, deepseek-r1
Qwenqwen-max, qwen3-max, qwen3-omni-flash

Path

MethodPathDescription
GET/v1/modelsOpenAI/Claude/Gemini compatible model list
GET/v1/models/{model}Query a single model
GET/v1beta/modelsGemini native model list
GET/v1beta/openai/modelsOpenAI-compatible model list under Gemini

Request Example

curl https://octopusx.ai/v1/models \
  -H "Authorization: Bearer YOUR_API_KEY"

Claude Style

curl https://octopusx.ai/v1/models \
  -H "x-api-key: YOUR_API_KEY" \
  -H "anthropic-version: 2023-06-01"

Gemini Style

curl https://octopusx.ai/v1beta/models \
  -H "x-goog-api-key: YOUR_API_KEY"

Response Example

{
  "object": "list",
  "data": [
    {
      "id": "gpt-4o",
      "object": "model",
      "created": 1735689600,
      "owned_by": "openai"
    },
    {
      "id": "claude-sonnet-4-20250514",
      "object": "model",
      "created": 1735689600,
      "owned_by": "anthropic"
    }
  ]
}

Query a Single Model

curl https://octopusx.ai/v1/models/gpt-4o \
  -H "Authorization: Bearer YOUR_API_KEY"