What it costs
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
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.
g, a number, Enter) warns at 80 and at 100 percent. It blocks nothing.
What changed
| Part | Before | Now |
|---|---|---|
| Vector calls | no usage event, no price | counted, priced, their own line |
| Summary of a file or page | a fixed model, whatever was chosen | the model chosen for filing |
| Pictures | a small vision model | the same, said under the tables |
| Costs over time | one day, one route | a range of days in one call, a line per day |
| A ceiling | none | per Brain, per month; warns in the tab, the Brains screen and status |
| Commands | none | archivist costs PROJECT [--days N], archivist costs ceiling PROJECT AMOUNT|none |
| Capture dialog | a bare path field | the folder you are in above it; a relative path and ~ understood |
| Tests | 398 | 440, 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%
- Each capture was filed in under 6 seconds. The PDF and the DOCX were found again by words that are only in the document, not in its summary.
- After the change of model: exactly two calls with the new one, the summary and the filing, and none more with the old.
- The estimates were recomputed by hand from the tokens and the price table, and agree.
- The picture was filed, but its title and receipt came out in French in an English Brain: the description is asked in French. It is in the backlog.
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
- The estimate was never compared with the provider's invoice. The price table was read on 2026-11-06 and nothing refreshes it.
- No sum by user: a usage event does not say who caused the call.
- The model that describes pictures and the one that makes vectors are not the owner's choice.
- The tab and the ceiling dialog were driven in a terminal with a stand-in model; the real run used the commands.
- Not tried: a PDF whose pages are pictures, a DOCX with tables, a large file.
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.