Skip to content

chore(models): price the Inkling 2 Small free tier - #213

Merged
pierreraby merged 1 commit into
patlux:mainfrom
sandexzx:chore/pricing-inkling-2-small-free
Nov 13, 2026
Merged

pierreraby merged 1 commit into
patlux:mainfrom
sandexzx:chore/pricing-inkling-2-small-free

Conversation

@sandexzx

Copy link
Copy Markdown
Contributor

Summary

Add reviewed zero display pricing for thinkingmachines/inkling-2-small:free and refresh the API/pricing snapshots to 98 models (verified 2026-11-13).

The Provider API started advertising thinkingmachines/inkling-2-small:free with no reviewed price, so every request on it reported a zero estimate and an unknown-price warning, and the daily catalog workflow would fail its pricing gate.

Sources and policy

  • Official pricing page: https://commandcode.ai/docs/resources/pricing-limits — Inkling 2 Small FREE, free while the free tier lasts, up to 200 requests per day, without a published fixed expiry.
  • Public Provider API: https://api.commandcode.ai/provider/v1/models — thinkingmachines/inkling-2-small:free, 98 models.
  • No dated TEMPORARY_PRICING entry is invented: this is an undated free tier, like the existing stealth free preview. Existing dated-guard tests still cover expiry behaviour.
  • CLI metadata remains current at command-code@1.88.5; no new image, reasoning, effort or output-limit metadata is published. The new model keeps conservative text-only, non-reasoning defaults with a 65,536-token output limit.

Changes

Five files: pricing entry/date, API model-ID fixture, official pricing fixture, explicit free-tier regression test, CHANGELOG. No runtime, routing, workflow or CLI pin changes; no other model rates changed.

Validation

  • Before: live pricing check fails only on missing-local-price | thinkingmachines/inkling-2-small:free.
  • After: live pricing check PASS, 98 models; CLI catalog check Current (75 image, 85 reasoning, 70 efforts, 11 output limits).
  • Pricing tests: 15/15 PASS; models tests 32/32 PASS.
  • Full npm test: PASS, including typecheck and real Pi/OMP against loopback mocks.
  • Format and diff checks: PASS (Prettier clean, git diff --check clean).

No paid API calls, package installation, version bump, release or merge performed.

Add reviewed zero display pricing for thinkingmachines/inkling-2-small:free,
free while the free tier lasts with no fixed expiry published, and refresh
the API/pricing snapshots to 98 models, verified on 2026-11-13.

The Provider API advertises the new free model with no reviewed price, so
every request on it reported a zero estimate and an unknown-price warning,
and the daily catalog workflow would fail its pricing gate. The official
pricing page documents it as free with up to 200 requests per day while the
free tier lasts, without a published expiry. CLI capability metadata remains
unchanged at command-code@1.88.5; the new model keeps conservative
text-only, non-reasoning defaults with a 65,536-token output limit.

@pierreraby pierreraby left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Independent verification on the exact head 63afe9d (isolated worktree from 7616ecd, npm ci --ignore-scripts), plus live cross-checks that do not reuse the PR's own fixtures.

Gates on the head

  • tsc --noEmit PASS, prettier --check PASS, git diff --check clean.
  • test:pricing 15/15, test:pricing-check 47/47, test:models 32/32, test:model-metadata-check 19/19.
  • check:commandcode-pricing PASS — 98 models, no drift (base says REVIEW REQUIRED with exactly missing-local-price | thinkingmachines/inkling-2-small:free).
  • check:commandcode-catalog Current against command-code@1.88.5 (75 image / 85 reasoning / 70 efforts, every change row None).
  • Full npm test with PI_LOCAL_REQUIRED=1 OMP_COMPAT_REQUIRED=1 against real hosts (pi 1.5.2, @oh-my-pi 18.18.3, bun 1.4.4): the && chain reached the last suite, every [pi-local], [omp-compat], [host-contract] and [endpoint-routing] assertion passed, zero FAIL lines.

RED proof on the base (7616ecd sources with this PR's tests and fixtures): test:pricing 11 pass / 4 fail (catalog coverage, free-model zero price, provenance date, fixture deep-equal) and check:commandcode-pricing exit 1 on the single expected missing-local-price. The red-to-green transition is real, not a fixture edit hiding a regression.

Independent cross-checks

  • Live GET /provider/v1/models = 98 ids. The only id absent from the base's MODEL_COSTS is thinkingmachines/inkling-2-small:free, and there are no local-only leftovers, so the 0.8.2 beam/crouton retirement is still aligned with the API.
  • Official pricing page: Inkling 2 Small | FREE | 1M | Free | Free | Free | — next to the deal line “inkling-2-small:free is free, up to 200 requests a day — while the free tier lasts”. Undated, so leaving TEMPORARY_PRICING untouched matches the existing stealth/glyph-cluster:free convention rather than inventing an expiresOn.
  • The live entry advertises /chat/completions only (no /responses), and the static catalog stays pinned at 1.88.5, so apiForModelId keeps this model on chat completions through live discovery. Skipping commandcode-catalog.ts is correct: the CLI does not publish it yet, and adding it by hand would break the byte-identical generated file the daily drift check depends on.

Non-blocking notes

  • P3 tests/test-pricing.ts:30 — freeModels is now a third place that repeats the id (next to MODEL_COSTS and the fixture); the new test repeats it again. Deriving the set from Object.keys(MODEL_COSTS).filter((id) => id.endsWith(":free")) and keeping only the explicit no-TEMPORARY_PRICING assertion would keep the “free status is explicit” guard without a list that can drift.
  • P3 — fetchedAt / verifiedAt are literal timestamps again, so no test can anchor them (same trade-off accepted in #169 and #211).
  • P3 CHANGELOG — the single Unreleased bullet mixes three facts (new model, snapshot refresh, static-metadata pin) in ~600 characters, has no ([#213](...)) suffix like the released entries do, and reuses the "zero estimate and an unknown-price warning" phrasing that describes the pre-pricing behaviour. Cosmetic, but it is the text the release notes will inherit.
  • P3 — when this free tier ends the model may either become paid or vanish. A changed page price is caught (changed-cost / missing-page-row fail the scheduled check), but a model that leaves the API while its page row stays is only cleaned up at the next fixture refresh, and a stale zero price never fails on its own. Pre-existing gap shared with stealth/glyph-cluster:free, not introduced here.

No merge performed here: merge stays with @patlux. Thank you for the careful TEMPORARY_PRICING reasoning — that was the part worth getting right.

@pierreraby
pierreraby merged commit 9bd0340 into patlux:main Nov 13, 2026
15 checks passed
pierreraby added a commit that referenced this pull request Nov 13, 2026
Patch release carrying two user-facing fixes and one pricing refresh:

- Responses wire repair for zai-org/GLM-5.3 and mistral/mistral-large-4 (#215,
  reported in #214).
- Reviewed zero pricing for thinkingmachines/inkling-2-small:free (#213).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants