太陽と向日葵 on Discord: Usage no longer showed what calls through Devin
cost. Devin's own models (SWE-2, SWE-1.7 Lightning) are in no catalog,
and ListPrice read only catalogs. In the owner's ledger on origin/main,
devin claude-opus-5-5 and deepseek-v4-1-flash rows are priced and the
swe-1.7-lightning row is blank. Devin lists its own price for each paid
model in GetCliModelConfigs, and devin 0.1.18 (plugins 43d93b0) now gives
it as the model's cost. 0.1.18 also makes swe-2 free again: Devin's new
-lightning variants under SWE-2 had taken that away on 0.1.17.
After every catalog, ListPrice now takes the plugin's price
(pluginListPrice, an input or output above 0, read with plugin.Cost,
which now carries cache read and write). If there is none, a model the
plugin marks free (plugin.Model.Free) costs $0 (pluginFree). A catalog's
price is still kept over the plugin's, and a plugin model with neither
stays unpriced. The devin mover's min is raised to 0.1.18 (npm view
--prefer-online on registry.npmjs.org: 0.1.18). A row is added to
providers-accounts.md.
Run: TestPluginFreeModelCostsNothing (new) and
TestPluginCatalogPriceAndImages, -p 1: ok. Broke it by hand:
pluginListPrice off turns swe-1.7-lightning red; pluginFree off turns
swe-2 red. gofmt -l clean. go vet -tags nogui ./... for darwin, linux and
windows: ok.
Real use: a sandbox HOME with only the owner's Devin key, plugin 0.1.18
and this build.
- `magpie plugin list --json` on Devin's live answer: swe-2 free;
swe-1.7-lightning 2.5/12.5 (cache 1); swe-2-high-lightning 1/5;
claude-opus-5-5 4/20.
- `magpie usage --csv`: the 10-03 swe-1.7-lightning row is $0.000819,
where origin/main gave none.
Not done: Cursor auto, Qoder's and WorkBuddy's own models have no USD
price from their plugins (they list credit multipliers), so they stay
unpriced unless marked free.
Full suite: SUITE_LINE