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

# List models

> Every chat model you can call, with prices and limits.

Each model id here is the exact value to send as `model`. See [Models](https://docs.atlaso.ai/gateway/models.md) for how hosts and prices are chosen.


## OpenAPI

````yaml api-reference/openapi.json GET /models
openapi: 3.1.0
info:
  title: Atlaso Gateway API
  version: 1.0.0
  description: An OpenAI-compatible API that calls your own provider keys and adds memory.
servers:
  - url: https://api.atlaso.ai/v1
security:
  - AtlasoKey: []
paths:
  /models:
    get:
      tags:
        - Models
      summary: List models
      description: >-
        Lists every chat model Atlaso can call, each once. A model several hosts
        serve is listed under its maker id; its provider, prices and limits are
        those of the first host in `providers`, and a call may be served and
        priced by another host in that list. Checks the key like a chat call;
        makes no provider call. Filters combine.
      operationId: listModels
      parameters:
        - name: provider
          in: query
          required: false
          description: Only models this host serves. Exact host id, any case.
          schema:
            type: string
          example: openai
        - name: maker
          in: query
          required: false
          description: Only models by this maker. Exact id, any case.
          schema:
            type: string
          example: anthropic
        - name: available
          in: query
          required: false
          description: >-
            `true`: only models a working, enabled provider key of yours can
            call, by its saved model list. `false`: only the others. Any other
            value is ignored.
          schema:
            type: string
            enum:
              - 'true'
              - 'false'
      responses:
        '200':
          description: The models.
          headers:
            x-atlaso-memory:
              $ref: '#/components/headers/MemoryReceipt'
            x-atlaso-paid-by:
              $ref: '#/components/headers/PaidBy'
            x-request-id:
              $ref: '#/components/headers/RequestId'
            cache-control:
              $ref: '#/components/headers/NoStore'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelList'
        '401':
          description: >-
            The Atlaso key is missing, invalid or revoked. Codes:
            `invalid_api_key`.
          headers:
            x-request-id:
              $ref: '#/components/headers/RequestId'
            x-atlaso-memory:
              $ref: '#/components/headers/MemoryReceipt'
            x-atlaso-paid-by:
              $ref: '#/components/headers/PaidBy'
            x-should-retry:
              $ref: '#/components/headers/ShouldRetry'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  message: >-
                    Your Atlaso API key is missing, invalid or revoked. Set
                    Authorization: Bearer to an active key from the API keys
                    page.
                  type: authentication_error
                  param: null
                  code: invalid_api_key
                  doc_url: https://docs.atlaso.ai/gateway/errors#invalid_api_key
        '403':
          description: >-
            The Atlaso API is not enabled for this account. Codes:
            `gateway_not_enabled`.
          headers:
            x-request-id:
              $ref: '#/components/headers/RequestId'
            x-atlaso-memory:
              $ref: '#/components/headers/MemoryReceipt'
            x-atlaso-paid-by:
              $ref: '#/components/headers/PaidBy'
            x-should-retry:
              $ref: '#/components/headers/ShouldRetry'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  message: >-
                    The Atlaso API is not enabled for this account yet. No model
                    call was made.
                  type: permission_error
                  param: null
                  code: gateway_not_enabled
                  doc_url: https://docs.atlaso.ai/gateway/errors#gateway_not_enabled
        '429':
          description: >-
            Too many requests on this key or account. Codes: `rate_limited`,
            `account_rate_limited`.
          headers:
            x-request-id:
              $ref: '#/components/headers/RequestId'
            x-atlaso-memory:
              $ref: '#/components/headers/MemoryReceipt'
            x-atlaso-paid-by:
              $ref: '#/components/headers/PaidBy'
            retry-after:
              $ref: '#/components/headers/RetryAfter'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  message: >-
                    Too many requests on this Atlaso key. Retry after the
                    indicated delay; no model call was made.
                  type: rate_limit_error
                  param: null
                  code: rate_limited
                  doc_url: https://docs.atlaso.ai/gateway/errors#rate_limited
        '503':
          description: 'Atlaso could not check the key. Codes: `auth_unavailable`.'
          headers:
            x-request-id:
              $ref: '#/components/headers/RequestId'
            x-atlaso-memory:
              $ref: '#/components/headers/MemoryReceipt'
            x-atlaso-paid-by:
              $ref: '#/components/headers/PaidBy'
            retry-after:
              $ref: '#/components/headers/RetryAfter'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  message: >-
                    Atlaso could not check your API key right now. Retry
                    shortly; no model call was made.
                  type: api_error
                  param: null
                  code: auth_unavailable
                  doc_url: https://docs.atlaso.ai/gateway/errors#auth_unavailable
components:
  headers:
    MemoryReceipt:
      description: >-
        What memory did: `status=...; ids=...; ms=...; reason=...; added=...;
        action=...`. `status` is `used`, `none`, `skipped`, `off` or `bypass`.
        With `x-atlaso-memory: off` it reads `status=off` and
        `reason=request_off`; a key whose memory is off gives
        `reason=key_mode_off`. Routes that do not use memory say
        `status=bypass`.
      schema:
        type: string
      example: status=none; ids=; ms=38; reason=no_match; added=0; action=none
    PaidBy:
      description: 'Always `own_key`: the provider bills your own key.'
      schema:
        type: string
        enum:
          - own_key
      example: own_key
    RequestId:
      description: Atlaso's id for this request. Quote it to support.
      schema:
        type: string
      example: req_4f1c2e9a7b6d4c3e8a1f0b2d
    NoStore:
      description: Answers are never cached.
      schema:
        type: string
      example: no-store
    ShouldRetry:
      description: '`false` when retrying soon cannot help. The OpenAI SDKs read it.'
      schema:
        type: string
        enum:
          - 'false'
      example: 'false'
    RetryAfter:
      description: Seconds to wait before retrying.
      schema:
        type: string
      example: '2'
  schemas:
    ModelList:
      type: object
      required:
        - object
        - data
      properties:
        object:
          type: string
          enum:
            - list
        data:
          type: array
          items:
            $ref: '#/components/schemas/Model'
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - message
            - type
            - param
            - code
            - doc_url
          properties:
            message:
              type: string
              description: What happened and what to do.
            type:
              type: string
              description: Error type, as OpenAI uses it.
              example: invalid_request_error
            param:
              type:
                - string
                - 'null'
              description: The field or header at fault, if any.
            code:
              type: string
              description: A stable code. A provider's own code may appear too.
            doc_url:
              type: string
              format: uri
              description: Where this code is explained on the Errors page.
    Model:
      type: object
      required:
        - id
        - object
        - created
        - owned_by
        - name
        - provider
        - maker
        - kind
        - context_length
        - max_completion_tokens
        - pricing
        - supported_parameters
        - pricing_labels
        - abilities
        - available
        - where_it_runs
        - deployment
      properties:
        id:
          type: string
          description: Send this as `model`.
          example: openai/gpt-5.4-mini
        object:
          type: string
          enum:
            - model
        created:
          type: integer
          description: Unix seconds; 0 when not known.
        owned_by:
          type: string
          description: Same as `maker`.
          example: openai
        name:
          type: string
          description: Display name.
          example: GPT-5.4 mini
        provider:
          type: string
          description: The host whose facts this row shows.
          example: openai
        maker:
          type: string
          description: Who made the model.
          example: openai
        kind:
          type: string
          enum:
            - chat
        context_length:
          type:
            - integer
            - 'null'
        max_completion_tokens:
          type:
            - integer
            - 'null'
        pricing:
          $ref: '#/components/schemas/Pricing'
        price_version:
          type: string
          description: Present when the model has dated prices.
        next_price:
          $ref: '#/components/schemas/NextPrice'
        pricing_labels:
          type: object
          additionalProperties:
            type: string
          description: 'Each price as text: `$0.15`, `Free`, or `Not stated`.'
          example:
            prompt: $0.15
            completion: $0.60
            input_cache_read: $0.015
            input_cache_write: Not stated
        supported_parameters:
          type: array
          items:
            type: string
            enum:
              - tools
              - tool_choice
              - reasoning_effort
              - response_format
        abilities:
          type: object
          properties:
            tools:
              type: boolean
            vision:
              type: boolean
            reasoning:
              type: boolean
            structured_output:
              type: boolean
            tool_mode:
              type:
                - string
                - 'null'
              enum:
                - 'yes'
                - reasoning_off
                - responses_only
                - 'no'
                - null
        available:
          type: boolean
          description: True when a working, enabled provider key of yours lists this model.
        snapshot_of:
          type:
            - string
            - 'null'
          description: >-
            The model a dated version or moving name belongs to; null otherwise.
            Count distinct snapshot_of (or id when null) for model families.
          example: openai/gpt-5.6-sol
        where_it_runs:
          type:
            - object
            - 'null'
          properties:
            tag:
              type: string
            tooltip:
              type: string
            promised:
              type: boolean
            includes_mainland_china:
              type:
                - boolean
                - 'null'
        deployment:
          type:
            - object
            - 'null'
          properties:
            tag:
              type: string
            tooltip:
              type: string
            dedicated_available:
              type:
                - boolean
                - 'null'
        providers:
          type: array
          items:
            type: string
          description: >-
            Only for a model several hosts serve: the hosts your keys can reach,
            in routing order.
    Pricing:
      type: object
      description: USD per million tokens, as strings. Null means not stated, never free.
      properties:
        currency:
          type: string
          enum:
            - USD
        unit:
          type: string
          enum:
            - per_million_tokens
        prompt:
          type:
            - string
            - 'null'
        completion:
          type:
            - string
            - 'null'
        input_cache_read:
          type:
            - string
            - 'null'
        input_cache_write:
          type:
            - string
            - 'null'
        input_cache_write_1h:
          type:
            - string
            - 'null'
          description: Only when the catalog has it.
        input_cache_write_12h:
          type:
            - string
            - 'null'
          description: Only when the catalog has it.
      example:
        currency: USD
        unit: per_million_tokens
        prompt: '0.15'
        completion: '0.60'
        input_cache_read: '0.015'
        input_cache_write: null
    NextPrice:
      type: object
      description: Present only when a new price is scheduled.
      properties:
        effective_from:
          type: string
          description: When it takes effect (ISO 8601).
        price_version:
          type: string
        prices:
          $ref: '#/components/schemas/Pricing'
        long_context:
          type:
            - object
            - 'null'
          properties:
            above_input_tokens:
              type: integer
            prices:
              $ref: '#/components/schemas/Pricing'
        price_modifiers:
          type: array
          items:
            type: object
            additionalProperties: true
  securitySchemes:
    AtlasoKey:
      type: http
      scheme: bearer
      bearerFormat: sk-at-...
      description: >-
        Your Atlaso key in `Authorization: Bearer sk-at-...`. Send one
        Authorization header. A request that also sends `x-atlaso-key` is
        refused with 401.

````

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