Devlog · Loop 007 · 2026-12-02

What it costs

A Costs tab, every model call counted, and the model you chose used for summaries too.

What started it

The owner tried the public repository as a first-time user, with a real key, and put one thing first: see what the key costs. They also decided that when one chooses a model, that model must be the one used. While the loop was being built they asked that the capture dialog show the real folder one is in.

What one sees

The Costs tab of a Brain: estimate for the last 30 days, tokens, the average per item filed, the month, a bar per day, a table by kind of use and a table by model, and a note saying it is an estimate and what it leaves out.
The Costs tab, key 8. The words « estimate, not an invoice » come first. The past 29 days in this picture were written by the screenshot tool into its own throwaway Brain, priced by a stand-in: no such calls were made.
The same tab with a monthly ceiling passed: a line says the month's estimate is over the ceiling and that nothing is blocked.
A monthly ceiling (g, a number, Enter) warns at 80 and at 100 percent. It blocks nothing.
The capture dialog asking for a file's path, with a line above the field: You are in, followed by the folder the panel was started in.
The capture dialog now says which folder you are in; a path that is not whole is taken from there.

What changed

PartBeforeNow
Vector callsno usage event, no pricecounted, priced, their own line
Summary of a file or pagea fixed model, whatever was chosenthe model chosen for filing
Picturesa small vision modelthe same, said under the tables
Costs over timeone day, one routea range of days in one call, a line per day
A ceilingnoneper Brain, per month; warns in the tab, the Brains screen and status
Commandsnonearchivist costs PROJECT [--days N], archivist costs ceiling PROJECT AMOUNT|none
Capture dialoga bare path fieldthe folder you are in above it; a relative path and ~ understood
Tests398440, 1 skipped

A run with a real model

One throwaway Brain, a real key, the commands as a user types them. A note, a one-page PDF, a DOCX, a small picture and a web page, then the model changed and one more file.

$ archivist costs "Costs check" --days 1
Costs of Costs check: an estimate, not an invoice
Estimate for today (2026-12-02, a UTC day): $0.0310 · 35 model calls · 18,960 tokens read, 2,068 written
Items filed: 6 · estimated average per item filed: $0.0052
Month 2026-12: OVER THE CEILING: this month's estimate is $0.0310, 310% of the $0.0100 ceiling. Nothing is blocked: the archivist goes on filing.

KIND     CALLS  TOKENS READ  WRITTEN  ESTIMATE       SHARE
filing   6      7,192        1,408    $0.0238        77%
summary  4      841          567      $0.0058        19%
picture  1      8,564        93       $0.0013        4%
vectors  24     2,363        0        under $0.0001  0%
total    35     18,960       2,068    $0.0310        100%

MODEL                   CALLS  TOKENS READ  WRITTEN  ESTIMATE       SHARE
gpt-6-sol               8      6,491        1,626    $0.0292        94%
gpt-4o-mini             1      8,564        93       $0.0013        4%
gpt-6-luna              2      1,542        349      $0.0003        1%
text-embedding-3-small  24     2,363        0        under $0.0001  0%

A fault made and caught

The first version wrote the usage event of a search before the filing call, which held the database's write lock during the whole model answer. An existing test failed on it. The event is now written after the answer, and a new test takes the lock from another connection during the call.

What is not done

Next

A conversation with the archivist in the terminal: ask a Brain a question and get an answer from what it holds. Then isolation and hardening, to be defined with the owner, before the engine is ever exposed on a network.