> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gloo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Models V2

> Returns all available models with metadata and accurate pricing. No authentication required.

Returns all available Gloo AI models with metadata and pricing. No authentication required.

Each model includes:

* **Identification** — Gloo model ID (for API requests), provider ID, name, and family
* **Capabilities** — Context window, max input/output tokens, supported modalities, speed rating
* **Pricing** — Per-1K and per-1M token **list** rates for input and output (and cache segments where applicable)

<Note>
  The rates returned here are **list prices** (the model's base rate). Usage is
  billed at the list rate plus a flat **platform rate** applied to every segment
  (input, cached, output).
</Note>

Use the `id` field as the `model` parameter in [Completions V2](/api-reference/completions/v2) requests.


## OpenAPI

````yaml get /platform/v2/models
openapi: 3.1.0
info:
  title: AI API
  description: |-
    Optimized for high-speed inference and scalability by Gloo AI

    [Swagger UI](./docs) | [ReDoc UI](./redoc)
  version: 1.0.0
servers:
  - url: https://platform.ai.gloo.com
security:
  - bearerAuth: []
tags:
  - name: Content Controls
  - name: Data Engine
  - name: Ingestion & Enrichment
  - name: answers
  - name: chat
  - name: completions
  - name: content
  - name: core
  - name: data
  - name: get-models
  - name: ingestion
  - name: sotc
paths:
  /platform/v2/models:
    get:
      tags:
        - get-models
      summary: Get models v2
      description: >-
        Returns all available models with metadata and accurate pricing. No
        authentication required.
      operationId: get-models-v2
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelsV2ListResponse'
              example:
                object: list
                data:
                  - id: gloo-openai-gpt-5-mini
                    provider_id: openai/gpt-5-mini
                    name: GPT-5 Mini
                    family: OpenAI
                    description: >-
                      Balanced small model providing strong reasoning at minimal
                      compute.
                    context_window: 400000
                    max_input_tokens: 400000
                    max_output_tokens: 128000
                    modalities: []
                    speed: 4
                    pricing:
                      input:
                        rate_per_1k_tokens: '0.0003059'
                        rate_per_1m_tokens: '0.3059'
                      output:
                        rate_per_1k_tokens: '0.0021944'
                        rate_per_1m_tokens: '2.1944'
        '500':
          description: Internal Server Error - Models could not be loaded
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
              example:
                detail: Something went wrong while fetching models.
      security: []
components:
  schemas:
    ModelsV2ListResponse:
      type: object
      properties:
        object:
          type: string
          description: Object type, always "list".
        data:
          type: array
          items:
            $ref: '#/components/schemas/ModelV2Response'
      title: ModelsV2ListResponse
    ModelV2Response:
      type: object
      properties:
        id:
          type: string
          description: Gloo model ID used in API requests (e.g., gloo-openai-gpt-5-mini).
        provider_id:
          type: string
          description: Upstream provider model ID (e.g., openai/gpt-5-mini).
        name:
          type: string
          description: Human-readable model name.
        family:
          type: string
          description: Model family (e.g., OpenAI, Anthropic, Google, Meta).
        description:
          type: string
          description: Short description of the model's capabilities.
        context_window:
          type: integer
          description: Total context window size in tokens.
        max_input_tokens:
          type: integer
          description: Maximum number of input tokens.
        max_output_tokens:
          type: integer
          description: Maximum number of output tokens.
        modalities:
          type: array
          items:
            type: string
          description: Supported input modalities (e.g., text, image).
        speed:
          type: integer
          minimum: 1
          maximum: 5
          description: Relative speed rating from 1 (slowest) to 5 (fastest).
        pricing:
          $ref: '#/components/schemas/ModelPricing'
      title: ModelV2Response
    ModelPricing:
      type: object
      properties:
        input:
          $ref: '#/components/schemas/PricingTier'
        output:
          $ref: '#/components/schemas/PricingTier'
      description: Input and output pricing for the model.
      title: ModelPricing
    PricingTier:
      type: object
      properties:
        rate_per_1k_tokens:
          type: string
          description: USD cost per 1,000 tokens.
        rate_per_1m_tokens:
          type: string
          description: USD cost per 1,000,000 tokens.
      description: Token pricing at two scales.
      title: PricingTier
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Bearer authentication header of the form Bearer `<token>`, where
        `<token>` is your [auth token](/studio/manage-api-credentials).

````