Przejdź do treści
Biblioteka skilli
AI i agenci · Research

update-model-pricing

/update-model-pricing

Sprawdza oficjalną cenę API modelu i zapisuje ją w soot wraz ze źródłem i datą sprawdzenia, gdy brakuje ceny lub jest stara.

Repozytorium
soot ↗
Licencja
MIT
Ostatnia zmiana repozytorium
13.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
6
Przestarzałość

Brak sygnałów. Repozytorium zmienione 13.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Sprawdza oficjalną cenę API modelu i zapisuje ją w soot wraz ze źródłem i datą sprawdzenia, gdy brakuje ceny lub jest stara.

Wyzwalacze z opisu

N model(s) have no price
Oryginalny opis (EN)

Look up a model's current official API price and record it in soot, with the source URL and the date checked. Use when a new provider or API key is added to soot, when soot uses a model id it has no price for (soot warns "N model(s) have no price"), or when a recorded price is old or about to change.

Jak działa

  1. When to run it
  2. Where prices live
  3. Steps
  4. Rules
Sekcje z nagłówków SKILL.md, w oryginale · 77 linii, 703 słów
Podgląd SKILL.md
---
name: update-model-pricing
description: Look up a model's current official API price and record it in soot, with the source URL and the date checked. Use when a new provider or API key is added to soot, when soot uses a model id it has no price for (soot warns "N model(s) have no price"), or when a recorded price is old or about to change.
---

# Update model pricing

soot computes the cost of every task and of the planning call as reported tokens × list
price. A model with no price shows **"price not set"**, and totals that include it show
**"partial"**. This prompt adds the missing prices. It never guesses one.

## When to run it

- A provider or API key was just added to soot (a new entry in the models file).
- soot used or listed a model id it has no price for. `soot run`, `soot config` and
  `soot models` print: `N model(s) have no price (...). Run the update-model-pricing prompt`.
- A price in the catalog is dated (it has `effectiveUntil`) and the date is near, or a price
  is more than about 90 days old.

## Where prices live

Pick the right target first:

1. **soot's shipped catalog**, `packages/model-registry/src/price-catalog.ts` (`PRICE_CATALOG`).
   Only for a vendor's own API (OpenAI, Anthropic, Google Gemini API, xAI, DeepSeek,
   Mistral, ...), matched on the API host and the exact model id. Edit it when you are
   working on the soot repository.
2. **The user's models file** (the `models` file named in `soot.config.json`, often
   `models.json`): a `pricing` object on the model. Use this for proxies, resellers, private
   contracts, local runtimes, or when you are working in a user's project rather than in
   soot itself. A configured price always wins over the catalog.

## Steps

1. List what is missing: run `soot models` (or `soot config --json` and read
   `pricing.unpriced`). Note each `provider/modelId` and the provider's `baseURL`, if any.
2. For each model, open the vendor's **official** pricing page (the vendor's own docs or
   pricing site, not a blog, aggregator, reseller, or search-result summary). Known pages:
   - OpenAI: https://platform.openai.com/docs/pricing
   - Anthropic: https://docs.anthropic.com/en/docs/about-claude/pricing
   - Google Gemini API: https://ai.google.dev/gemini-api/docs/pricing
   - xAI: https://docs.x.ai/docs/models
   - DeepSeek: https://api-docs.deepseek.com/quick_start/pricing
   - Mistral: https://docs.mistral.ai/inference/pricing
3. Confirm the exact model id on the vendor's model page. soot matches ids verbatim.
4. Read the **standard** (not batch, flex, priority, or fast) per-million-token prices:
   - input, output;
   - cached input (cache read), if listed;
   - cache write, if listed (Anthropic: the 5-minute write; OpenAI: the 30-minute write);
   - a **long-context tier**, if the page bills long prompts at a higher rate. Record it as
     `longContext: { aboveInputTokens, inputPerMTokUsd, outputPerMTokUsd, cacheReadPerMTokUsd,
cacheWritePerMTokUsd }`. `aboveInputTokens` is the largest prompt size that still gets the
     base rate (">272K" is `272000`; "200k or more" is `199999`);
   - **dated changes** ("$2 through November 30, $4 from December 1"): in the catalog, add one
     entry per period with `effectiveUntil` / `effectiveFrom` (inclusive `YYYY-MM-DD`). In a
     user's models file, record today's price and put the change in `notes`;
   - anything soot does not model (time-of-day discounts, regional uplifts, storage fees):
     use the higher standard rate and say so in `notes`.
5. Write the entry:
   - `source`: the official pricing page URL you read.
   - `asOf`: today's date, `YYYY-MM-DD`.
   - Catalog only: add the page to `OFFICIAL_SOURCES` in `price-catalog.test.ts` if it is new.
6. Verify: `pnpm run build && pnpm test` in the soot repo (the catalog test checks sources,
   dates and overlaps), or `soot models` in a user project. The warning should be gone for the
   models you priced.
7. Report a table: model id, input, output, cached input, long-context tier, source URL, date.
   List every model you could **not** price, and why.

## Rules

- **Never guess.** If the official page does not list the model, or the number is ambiguous,
  leave it unpriced. "price not set" is correct; a wrong number is not.
- Never copy a price from memory, a third-party site, or another model of the same family.
- Do not add models to the catalog. It holds prices for model ids users configure; it is not
  a model list, and it never sets a default model or a `decomposer.model`.
- Do not change a price the user configured in their models file unless they asked.
- **Never touch secrets.** Do not read, print, copy, or test API key values. Provider entries
  name the variable (`apiKeyEnv`); that is all you need. Do not call a provider API to
  "check" a price; read the public pricing page.
- soot itself never fetches prices over the network. This prompt is how prices get updated.

Wersje

RepozytoriumWynikLicencja
Ta strona · josephcake/soot100MIT
salmanrrana/brain-dump100MIT

Migawka bazy z 13.11.2026 · wersja paczki d59f8bab9cd9 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100provider-onboarding
    Pomaga dodać dostawcę LLM: endpoint, zmienną klucza API, identyfikator modelu i limity, dla dostawców zgodnych z OpenAI lub Anthropic.
  • 100universal-orchestrator
    Przekazuje wieloczęściowe zlecenia kodowania silnikowi orkiestracji, zamiast dzielić je i uruchamiać samodzielnie w repozytorium git.
  • 100phaseo-model-provider-onboarding
    Dodaje nowy model do Phaseo wraz z trasami dostawców, cenami i aliasami, i sprawdza, czy pojawia się w czacie oraz bramce.
  • 100phaseo-model-provider-onboarding
    Dodaje nowe modele i trasy dostawców do Phaseo: wiersze modeli, warianty, możliwości, ceny, plany, aliasy i benchmarki oraz sprawdza ich widoczność w /models, czacie i bramce.
  • 100pricing
    Pomaga ustalić pełną cenę produktu, planu lub dodatku w sklepie internetowym, w tym poziom ceny, model stały czy za użycie i miejsce ceny na stronie.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.