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

# List models

> Returns all active Model IDs and live per-1M-token USD pricing on the CerasAI inference gateway.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/models
openapi: 3.1.0
info:
  title: CerasAI Inference API
  version: 1.0.0
  description: >-
    Low-latency AI inference API compatible with OpenAI Chat Completions
    (/v1/chat/completions) and Anthropic Messages (/v1/messages).
servers:
  - url: https://api.cerasai.cloud
    description: Production Inference Gateway
security:
  - BearerAuth: []
paths:
  /v1/models:
    get:
      summary: List models
      description: >-
        Returns all active Model IDs and live per-1M-token USD pricing on the
        CerasAI inference gateway.
      operationId: listModels
      responses:
        '200':
          description: List of active models.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelListResponse'
      security: []
components:
  schemas:
    ModelListResponse:
      type: object
      properties:
        object:
          type: string
          example: list
        data:
          type: array
          items:
            $ref: '#/components/schemas/ModelObject'
    ModelObject:
      type: object
      properties:
        id:
          type: string
          example: deepseek-ai/DeepSeek-V4.1-Flash-1017
        object:
          type: string
          example: model
        created:
          type: integer
          example: 1735689600
        owned_by:
          type: string
          example: DeepSeek
        pricing:
          $ref: '#/components/schemas/ModelPricing'
    ModelPricing:
      type: object
      properties:
        input_per_1m_usd:
          type: number
          example: 0.3
        cached_input_per_1m_usd:
          type: number
          example: 0.006
        output_per_1m_usd:
          type: number
          example: 1.2
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: 'CerasAI workspace API key (`Authorization: Bearer $CERASAI_API_KEY`).'

````

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