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

# The model catalog for the picker

> Tool-capable models from OpenRouter's public catalog (the assistant requires native
tool calling), shaped for display: USD per million input/output tokens, context
window, provider (the model id's prefix). Cached daemon-side for an hour; a stale
copy keeps serving if OpenRouter is unreachable. `defaultModel` is the daemon's
configured chat model, or null in offline mode.




## OpenAPI

````yaml /openapi.yaml get /assistant/models
openapi: 3.1.0
info:
  title: memloom local API
  version: 0.1.0
  description: >
    The HTTP API served by the `memloom serve` daemon on your machine. The CLI,
    the MCP server,

    and the viewer all route through this API. The daemon is the single owner of
    the store, so

    every client shares one consistent view of your memories.


    No authentication: the daemon binds to `127.0.0.1` only and is reachable
    solely from your

    own machine. Browser clients on other localhost ports are allowed via CORS.
servers:
  - url: http://127.0.0.1:4319
    description: Local memloom daemon
security: []
paths:
  /assistant/models:
    get:
      summary: The model catalog for the picker
      description: >
        Tool-capable models from OpenRouter's public catalog (the assistant
        requires native

        tool calling), shaped for display: USD per million input/output tokens,
        context

        window, provider (the model id's prefix). Cached daemon-side for an
        hour; a stale

        copy keeps serving if OpenRouter is unreachable. `defaultModel` is the
        daemon's

        configured chat model, or null in offline mode.
      operationId: assistantModels
      responses:
        '200':
          description: The catalog.
          content:
            application/json:
              schema:
                type: object
                properties:
                  defaultModel:
                    type:
                      - string
                      - 'null'
                    example: google/gemini-2.5-flash
                  models:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          example: anthropic/claude-sonnet-5
                        name:
                          type: string
                          example: 'Anthropic: Claude Sonnet 5'
                        description:
                          type: string
                        contextLength:
                          type:
                            - integer
                            - 'null'
                          example: 1000000
                        promptPer1M:
                          type:
                            - number
                            - 'null'
                          example: 2
                        completionPer1M:
                          type:
                            - number
                            - 'null'
                          example: 10
                        provider:
                          type: string
                          example: anthropic
        '502':
          description: OpenRouter unreachable and no cached copy yet.

````