> ## 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.

# Detail model

> Lihat model aktif dan tarif USD terkini berdasarkan ID model.



## OpenAPI

````yaml id/api-reference/openapi.json GET /v1/models/{model}
openapi: 3.1.0
info:
  title: API Inferensi CerasAI
  version: 1.0.0
  description: >-
    API inferensi AI berlatensi rendah yang kompatibel dengan OpenAI Chat
    Completions (/v1/chat/completions) dan Anthropic Messages (/v1/messages).
servers:
  - url: https://api.cerasai.cloud
    description: Gateway Inferensi Produksi
security:
  - BearerAuth: []
paths:
  /v1/models/{model}:
    get:
      summary: Detail model
      description: Lihat model aktif dan tarif USD terkini berdasarkan ID model.
      operationId: retrieveModel
      parameters:
        - name: model
          in: path
          required: true
          schema:
            type: string
          example: zai-org/GLM-5.3-Flash
      responses:
        '200':
          description: Detail model
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelObject'
        '404':
          description: Model tidak ditemukan.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security: []
components:
  schemas:
    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'
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
            type:
              type: string
            param:
              type:
                - string
                - 'null'
            code:
              type: string
    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: 'API key workspace CerasAI (`Authorization: Bearer $CERASAI_API_KEY`).'

````

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