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

# List models

> Returns the catalog of models currently available on Tera, including
context length, pricing, supported features, and quantization.




## OpenAPI

````yaml GET /v1/models
openapi: 3.0.3
info:
  title: Tera API
  description: >
    OpenAI-compatible inference API. Existing OpenAI SDKs work without
    modification —

    point them at `https://api.tera.gw` with your Tera API key.
  version: 1.0.0
servers:
  - url: https://api.tera.gw
    description: Production
security:
  - bearerAuth: []
tags:
  - name: chat
    description: Chat completions
  - name: completions
    description: Text completions
  - name: models
    description: Model catalog
  - name: audio
    description: Text-to-speech
paths:
  /v1/models:
    get:
      tags:
        - models
      summary: List available models
      description: |
        Returns the catalog of models currently available on Tera, including
        context length, pricing, supported features, and quantization.
      operationId: listModels
      responses:
        '200':
          description: Catalog
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelList'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    ModelList:
      type: object
      properties:
        object:
          type: string
          example: list
        data:
          type: array
          items:
            $ref: '#/components/schemas/Model'
    Model:
      type: object
      properties:
        id:
          type: string
          example: Qwen/Qwen2.5-7B-Instruct
        object:
          type: string
          example: model
        created:
          type: integer
        owned_by:
          type: string
        context_length:
          type: integer
        max_output_length:
          type: integer
        input_modalities:
          type: array
          items:
            type: string
        output_modalities:
          type: array
          items:
            type: string
        supported_sampling_parameters:
          type: array
          items:
            type: string
        supported_features:
          type: array
          items:
            type: string
        pricing:
          type: object
          description: |
            Per-unit USD pricing, encoded as decimal strings. The updated
            pricing contract uses `input`, `output`, and `cache_read`; older
            `prompt` and `completion` aliases are deprecated and retained here
            only for rollout compatibility.
          properties:
            input:
              type: string
              description: USD per input token
            output:
              type: string
              description: USD per output token
            cache_read:
              type: string
              description: USD per cached input token read
            image:
              type: string
              description: USD per image unit
            request:
              type: string
              description: USD per request
            prompt:
              type: string
              deprecated: true
              description: Deprecated alias for `input`.
            completion:
              type: string
              deprecated: true
              description: Deprecated alias for `output`.
        quantization:
          type: string
          enum:
            - bf16
            - fp8
            - fp32
            - int4
            - mxfp4
        hugging_face_id:
          type: string
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
            type:
              type: string
            code:
              type: string
  responses:
    Unauthorized:
      description: Missing or invalid API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: sk-tera-...

````