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

# Serverless Models

> List models from the verified Tensormesh Serverless host.

Use this page when you need the raw model catalog from the verified serverless inference host.

* Auth: none required on the public host; `Authorization: Bearer <API_KEY>` is also accepted
* Host: `https://serverless.tensormesh.ai`
* Best for: discovering the exact `model` string to reuse in serverless requests

If you also have Control Plane access for the same Tensormesh environment, compare the result here with [`tm billing pricing serverless list`](/cli/reference/billing/pricing/serverless/list).


## OpenAPI

````yaml api-reference/serverless.openapi.yaml GET /v1/models
openapi: 3.1.0
info:
  title: Tensormesh Serverless Inference API
  version: 1.0.0
  description: |-
    OpenAI-compatible chat completions endpoint plus verified vLLM-compatible
    `/v1/models`, `/v1/completions`, `/v1/responses`, `/tokenize`,
    `/detokenize`, `/health`, and `/version` endpoints exposed through
    Tensormesh Serverless.

    Authentication: `Authorization: Bearer <API_KEY>` for `POST`
    inference requests. The public serverless host also serves
    `GET /v1/models`, `GET /health`, and `GET /version` without auth.

    If you have Control Plane access for the same Tensormesh environment,
    discover published serverless models with
    `tm billing pricing serverless list` and use the returned
    `pricing[].model` value in requests. If you are targeting a different
    serverless host override, or you only have inference credentials, get the
    model name from your Tensormesh environment before sending requests.
servers:
  - url: https://serverless.tensormesh.ai
    description: Tensormesh Serverless
security:
  - BearerAuth: []
tags:
  - name: inference.openapi_Inference
    x-displayName: Inference
paths:
  /v1/models:
    get:
      tags:
        - inference.openapi_Inference
      summary: List Models
      description: List models exposed by the verified Serverless inference host.
      operationId: list_serverless_models_v1_models_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InferenceModelList'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OpenAIErrorResponse'
      security: []
components:
  schemas:
    InferenceModelList:
      type: object
      title: InferenceModelList
      additionalProperties: true
      required:
        - object
        - data
      properties:
        object:
          type: string
          example: list
        data:
          type: array
          items:
            $ref: '#/components/schemas/InferenceModel'
    OpenAIErrorResponse:
      type: object
      title: OpenAIErrorResponse
      additionalProperties: true
      properties:
        error:
          anyOf:
            - $ref: '#/components/schemas/OpenAIError'
            - type: string
            - type: 'null'
          description: Error message (string) or structured error object.
    InferenceModel:
      type: object
      title: InferenceModel
      additionalProperties: true
      required:
        - id
        - object
      properties:
        id:
          type: string
          description: Serverless model name to pass back as `model`.
          example: openai/gpt-oss-20b
        object:
          type: string
          example: model
        owned_by:
          type: string
          example: vllm
    OpenAIError:
      type: object
      title: OpenAIError
      additionalProperties: true
      properties:
        message:
          anyOf:
            - type: string
            - type: 'null'
          title: Message
        type:
          anyOf:
            - type: string
            - type: 'null'
          title: Type
        param:
          anyOf:
            - type: string
            - type: 'null'
          title: Param
        code:
          anyOf:
            - type: string
            - type: integer
            - type: 'null'
          title: Code
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API_KEY
      description: >-
        Bearer authentication using your serverless API key. Format: Bearer
        <API_KEY>

````