← ClaudeAtlas

update-model-priceslisted

Refresh the model price table that powers Fluxion's token-usage cost estimates — the upstream llm-price-table repo plus the bundled snapshot at src/fluxion/usage/model_prices.json — by pulling current prices from the official provider pricing pages (Anthropic, OpenAI, Google Gemini). Use this whenever the user wants to update, check, or verify model prices; suspects a price is stale, wrong, or too high/low; says a provider changed prices or a new model version shipped; or asks "are these prices still right" — even if they don't name the file. It fetches the official pages (rendering OpenAI's JS-heavy page via the browser), reads per-model prices, and proposes reviewed edits that follow the file's conventions. It never auto-writes or commits — the human approves and merges.
superposed-labs/fluxion-bus · ★ 2 · AI & Automation · score 75
Install: claude install-skill superposed-labs/fluxion-bus
# Update model prices Fluxion estimates the dollar cost of token usage from a hand-maintained price table. There is no official pricing API, and the CLIs run models newer than any public price list, so prices are refreshed by a person running this procedure on demand (a few times a year, when prices change) — **not** by a scheduled scraper. Your job here is the judgment-heavy part a cron can't do: render the pages, read the numbers semantically, decide how each model maps into the table, and hand the human a clear, correct proposal. The mechanical fetching/auditing is already scripted. ## Where the table lives — edit upstream first The source of truth is the standalone repo [superposed-labs/llm-price-table](https://github.com/superposed-labs/llm-price-table) (its `SCHEMA.md` defines the format). `src/fluxion/usage/model_prices.json` is a **bundled snapshot** of that file — the offline fallback and release baseline. At runtime `price_data.load_price_json` picks whichever of the snapshot and the locally refreshed cache carries the newer top-level `updated_at`, so the daily background refresh normally delivers a new price within a day even with no Fluxion change at all. A price change therefore lands in **two** repos, in this order: 1. Edit `model_prices.json` in the llm-price-table checkout; bump its `updated_at`. 2. Copy that file verbatim over `src/fluxion/usage/model_prices.json`. Keep the snapshot a byte-for-byte copy and `diff` the two afterwards. Drift is a silent