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

# List models

> The models that can serve requests right now.



## OpenAPI

````yaml /openapi.yaml get /models
openapi: 3.1.0
info:
  title: fastrun API
  version: '1.0'
  description: >-
    OpenAI-compatible inference API. Point any OpenAI SDK at
    https://api.fastrun.si/v1 and send a fastrun API key as a bearer token.
servers:
  - url: https://api.fastrun.si/v1
security:
  - bearerAuth: []
tags:
  - name: Chat
    description: Conversations with chat messages.
  - name: Completions
    description: Raw text continuation.
  - name: Models
    description: The models you can use.
paths:
  /models:
    get:
      tags:
        - Models
      summary: List models
      description: The models that can serve requests right now.
      operationId: listModels
      responses:
        '200':
          description: The models.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelList'
              example:
                object: list
                data:
                  - id: google/gemma-4-31b-it
                    object: model
                    owned_by: fastrun
        '401':
          $ref: '#/components/responses/Unauthorized'
        '503':
          $ref: '#/components/responses/Unavailable'
components:
  schemas:
    ModelList:
      type: object
      properties:
        object:
          type: string
          enum:
            - list
        data:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              object:
                type: string
                enum:
                  - model
              owned_by:
                type: string
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - message
            - type
            - code
          properties:
            message:
              type: string
              description: What went wrong, for people.
            type:
              type: string
              description: Error category, for code.
              enum:
                - invalid_request_error
                - authentication_error
                - rate_limit_error
                - upstream_error
                - unavailable
            code:
              type: integer
              description: The HTTP status.
  responses:
    Unauthorized:
      description: >-
        The API key is missing, unknown or revoked, or the account has not been
        approved yet.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              message: invalid or missing API key
              type: authentication_error
              code: 401
    Unavailable:
      description: >-
        Temporarily unavailable: no GPU server for the model is up, or API keys
        cannot be checked right now. Retry after the number of seconds in
        `Retry-After`.
      headers:
        Retry-After:
          $ref: '#/components/headers/RetryAfter'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              message: no backend is available for this model
              type: unavailable
              code: 503
  headers:
    RetryAfter:
      description: Seconds to wait before retrying.
      schema:
        type: integer
        minimum: 1
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: A key from https://fastrun.si/dashboard/keys (starts with `fr_`).

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.