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

# List models

> List available models, pricing, aliases, and supported endpoint metadata. This endpoint can be called anonymously or with standard API authentication.



## OpenAPI

````yaml /openapi/naga-api.json get /v1/models
openapi: 3.1.0
info:
  title: NagaAI API
  summary: Unified AI API with OpenAI and Anthropic compatibility layers.
  version: '2026-03-31'
  contact:
    name: NagaAI
    url: https://naga.ac
  termsOfService: https://naga.ac/legal/terms
servers:
  - url: https://api.naga.ac
    description: Production
  - url: http://localhost:8500
    description: Local development
security: []
tags:
  - name: Chat Completions
    description: >-
      OpenAI-compatible chat completion requests, including streaming, tools,
      and multimodal input.
  - name: Messages
    description: >-
      Anthropic-compatible Messages API requests used by Claude-style clients
      and agents.
  - name: Responses
    description: >-
      OpenAI-compatible Responses API requests for structured input, tools, and
      streaming output items.
  - name: Embeddings
    description: >-
      Create vector embeddings for search, retrieval, clustering, and ranking
      use cases.
  - name: Images
    description: >-
      Generate or edit images with multimodal models and OpenAI-compatible
      payloads.
  - name: Audio
    description: >-
      Generate speech or convert uploaded audio into transcriptions and
      translations.
  - name: Moderations
    description: Classify text and image inputs for safety policy categories.
  - name: Models
    description: List available models, capabilities, and pricing metadata.
  - name: Startups
    description: >-
      Public metadata about AI startups and model providers surfaced by the
      gateway.
  - name: Account
    description: Provisioning-key protected account balance and usage endpoints.
  - name: API Keys
    description: Provisioning-key protected API key management endpoints.
paths:
  /v1/models:
    get:
      tags:
        - Models
      summary: List models
      description: >-
        List available models, pricing, aliases, and supported endpoint
        metadata. This endpoint can be called anonymously or with standard API
        authentication.
      operationId: listModels
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicModelListResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '402':
          description: Insufficient credits
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '410':
          description: Model deprecated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '422':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationErrorResponse'
        '429':
          description: Rate limited
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '503':
          description: Upstream service error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
      security:
        - {}
        - bearerAuth: []
        - xApiKeyAuth: []
components:
  schemas:
    PublicModelListResponse:
      properties:
        object:
          type: string
          const: list
          title: Object
          default: list
        data:
          items:
            $ref: '#/components/schemas/PublicModelResponse'
          type: array
          title: Data
      additionalProperties: true
      type: object
      required:
        - data
      title: PublicModelListResponse
      examples:
        - data:
            - aliases:
                - claude-sonnet-4-5
              architecture:
                input_modalities:
                  - text
                  - image
                  - file
                output_modalities:
                  - text
              created: 1743393600
              description: >-
                Fast frontier model for coding, tool use, and long-context
                reasoning.
              display_name: Claude Sonnet 4.5
              id: claude-sonnet-4.5
              object: model
              owned_by: anthropic
              pricing:
                per_cached_input_token: 3.e-7
                per_input_token: 0.000003
                per_output_token: 0.000015
              supported_endpoints:
                - chat.completions
          object: list
    ErrorEnvelope:
      properties:
        error:
          $ref: '#/components/schemas/ErrorBody'
      additionalProperties: true
      type: object
      required:
        - error
      title: ErrorEnvelope
      examples:
        - error:
            message: The request body is invalid.
            type: invalid_request_error
    HTTPValidationErrorResponse:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationErrorItem'
          type: array
          title: Detail
      additionalProperties: true
      type: object
      required:
        - detail
      title: HTTPValidationErrorResponse
    PublicModelResponse:
      properties:
        id:
          type: string
          title: Id
        object:
          type: string
          const: model
          title: Object
          default: model
        created:
          type: integer
          title: Created
        owned_by:
          type: string
          title: Owned By
        display_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Display Name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        context_window:
          anyOf:
            - type: integer
            - type: 'null'
          title: Context Window
        max_output_images:
          anyOf:
            - type: integer
            - type: 'null'
          title: Max Output Images
        supported_endpoints:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Supported Endpoints
        pricing:
          anyOf:
            - $ref: '#/components/schemas/ModelPricing'
            - type: 'null'
        architecture:
          anyOf:
            - $ref: '#/components/schemas/ModelArchitecture'
            - type: 'null'
        aliases:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Aliases
        deprecates_at:
          anyOf:
            - type: integer
            - type: 'null'
          title: Deprecates At
        supported_parameters:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Supported Parameters
        supported_parameters_by_endpoint:
          anyOf:
            - additionalProperties:
                items:
                  type: string
                type: array
              type: object
            - type: 'null'
          title: Supported Parameters By Endpoint
      additionalProperties: true
      type: object
      required:
        - id
        - created
        - owned_by
      title: PublicModelResponse
    ErrorBody:
      properties:
        type:
          type: string
          title: Type
          description: Stable machine-readable error type.
        message:
          type: string
          title: Message
          description: Human-readable error message.
        code:
          anyOf:
            - type: string
            - type: integer
            - type: 'null'
          title: Code
        param:
          anyOf:
            - type: string
            - type: 'null'
          title: Param
      additionalProperties: true
      type: object
      required:
        - type
        - message
      title: ErrorBody
    ValidationErrorItem:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Loc
        msg:
          type: string
          title: Msg
        type:
          type: string
          title: Type
      additionalProperties: true
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationErrorItem
    ModelPricing:
      properties:
        per_input_token:
          anyOf:
            - type: number
            - type: 'null'
          title: Per Input Token
        per_cached_input_token:
          anyOf:
            - type: number
            - type: 'null'
          title: Per Cached Input Token
        per_output_token:
          anyOf:
            - type: number
            - type: 'null'
          title: Per Output Token
        per_audio_token:
          anyOf:
            - type: number
            - type: 'null'
          title: Per Audio Token
        per_output_image_token:
          anyOf:
            - type: number
            - type: 'null'
          title: Per Output Image Token
        per_input_text_token:
          anyOf:
            - type: number
            - type: 'null'
          title: Per Input Text Token
        per_input_image_token:
          anyOf:
            - type: number
            - type: 'null'
          title: Per Input Image Token
        per_token:
          anyOf:
            - type: number
            - type: 'null'
          title: Per Token
      additionalProperties: true
      type: object
      title: ModelPricing
    ModelArchitecture:
      properties:
        input_modalities:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Input Modalities
        output_modalities:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Output Modalities
      additionalProperties: true
      type: object
      title: ModelArchitecture
  securitySchemes:
    bearerAuth:
      type: http
      description: >-
        Primary authentication for inference endpoints. Send your Naga API key
        as `Authorization: Bearer <api-key>`.
      scheme: bearer
    xApiKeyAuth:
      type: apiKey
      description: >-
        Alternate authentication for inference endpoints. Useful for clients
        that send `x-api-key: <api-key>`.
      in: header
      name: x-api-key

````