Docs
cortecs.aiDedicated ModelsServerless ModelsLogin
  • Introduction
  • DEDICATED INFERENCE
    • Quickstart
    • Provisioning API
      • Authentication
      • User
      • Instances
      • Models
      • Hardware Types
    • Python client
      • Objects
      • Langchain integration
    • Examples
      • Batch jobs
      • Realtime streams
  • SERVERLESS INFERENCE
    • Quickstart
    • About Serverless Routing
    • API
      • Chat Completions
      • Models
  • Discord
Powered by GitBook
On this page
  1. SERVERLESS INFERENCE
  2. API

Models

PreviousChat Completions

Last updated 8 days ago

Retrieve all available models

get

This endpoint retrieves information about all available models. The request requires a Bearer token in the header.

Responses
200
A list of available models
application/json
500
Internal server error
get
GET /api/v1/models/serverless HTTP/1.1
Host: cortecs.ai
Accept: */*
{
  "models": [
    {
      "model": "mistral-small-2503",
      "providers": {
        "ANY_ADDITIONAL_PROPERTY": {
          "input_cost_per_1m_tokens": 1,
          "output_cost_per_1m_tokens": 1,
          "context_size": 1,
          "max_output_tokens": 1
        }
      },
      "created_at": "2025-03-20T14:58:50.000Z",
      "screen_name": "Mistral Small 2503",
      "size": 24000000000,
      "creator": {
        "name": "Mistral AI",
        "url": "https://mistral.ai"
      },
      "tags": [
        "Instruct",
        "Image"
      ],
      "short_description": "Combines advanced text and vision capabilities with 24 billion parameters...",
      "description": "Mistral Small 2503 is a cutting-edge AI model developed by Mistral AI..."
    }
  ]
}