check-model-pricing
Skill21 starsChanged 7 days agoMITView on GitHub
Check what an image model costs on fal (default) or Replicate, search fal's library for a model, and review or update the preferred image models per use case. Use when asked "how much is this model", "what's cheapest for X", "check fal pricing", "review the fal library", "update our preferred models", or before a bulk image run.
In this repository28 other files it gives its agents.
- ai-graphicsSkill
- auto-deskewSkill
- auto-toneSkill
- auto-white-balanceSkill
- batch-set-copyrightSkill
- convert-to-avifSkill
- fast-resizeSkill
- fast-thumbnailSkill
- from-jxlSkill
- images-to-pdfSkill
- install-depsSkill
- new-projectSkill
- new-workflowSkill
- open-workspaceSkill
- optimize-jpegSkill
- optimize-pngSkill
- pdf-extract-embedded-imagesSkill
- pdf-to-imagesSkill
- read-metadataSkill
- scrub-metadataSkill
- set-metadataSkill
- svg-to-rasterSkill
- to-jxlSkill
- transcode-jpeg-to-jxl-losslessSkill
- upscale-imageSkill
- vectorizeSkill
- web-readySkill
- workspace-setupSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Run from the plugin root (FAL_KEY and REPLICATE_API_TOKEN are in Infisical):
- Very specific: line 32
Do this when asked, or when the reference's updated date is more than about two months old and a real job depends on it.
- Distinctive: line 43
Never replace a default on price alone.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Check model pricing
Prices come from the live API, not memory. fal is the default backend and Replicate is the supported alternative.
Preferred models live in references/preferred-image-models.json at the plugin root.
Check a price
Run from the plugin root (FAL_KEY and REPLICATE_API_TOKEN are in Infisical):
with-secrets python3 scripts/model_price.py google/nano-banana-2.1 fal-ai/birefnet/v2
with-secrets python3 scripts/model_price.py --search klein
with-secrets python3 scripts/model_price.py --backend replicate black-forest-labs/flux-schnellHow to read the result:
unit:imagesis per image andmegapixelsis per MP (1024x1024 is about 1.05 MP, 512x512 about 0.26 MP).compute secondsdepends on run time.placeholder: true: the API'sunit_priceof 1 is not a price. These models bill by tokens (GPT Image, Nano Banana 2.1, some others).page_priceholds the text from the fal model page. Use the panel's per-image figure from the reference file, or work it out from that text.- Replicate: the API has no price field (
api_priceis always null).page_pricesis scraped from the model page and picks up unrelated figures, so treat it as a hint and read https://replicate.com/OWNER/MODEL for the real price. error: HTTP 404: the id is wrong or retired. Use--search.
fal generation responses carry no cost, so any total you report is an estimate from list prices. Say so.
Review the library and update preferred models
Do this when asked, or when the reference's updated date is more than about two months old and a real job depends on it.
- Snapshot the catalogue with
Tech-Graphics-Benchmark:with-secrets uv run python scripts/fal_catalogue.pywritescatalogue/fal-YYYY-MM-DD.jsonl. Diff it against the previous snapshot for new endpoints. - Shortlist for the use case at about $0.05 per image or less, plus one reference model above that.
- Try candidates small, with skill
ai-eval/informal-image-evalif it needs a proper round. A few images on the actual job is enough for a provisional entry. - Edit the reference: change
default,budgetorpremium, write what was seen inevidence, setstatus, and bumpupdated.
Rules for the reference:
- Evidence is per use case. Don't carry a text-fidelity result over to illustration or characters.
statusisevaluated, orprovisionalfor a handful of tries. An agent read is not human annotation, so say which it was.- Never replace a default on price alone. It needs at least one look at real output.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

