镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

chore(models): price the Crouton Alpha stealth preview - #188

Merged
pierreraby merged 1 commit into
mainfrom
chore/crouton-alpha-pricing
Nov 4, 2026
Merged

pierreraby merged 1 commit into
mainfrom
chore/crouton-alpha-pricing

Conversation

@pierreraby

Copy link
Copy Markdown
Collaborator

Summary

Add reviewed zero display pricing for stealth/crouton-alpha and refresh the API/pricing snapshots to 96 models (verified 2026-11-04).

This is the separate pricing fix for the upstream drift blocking #187. It does not contain any of #165's runtime fixes.

Sources and policy

  • Official pricing page: https://commandcode.ai/docs/resources/pricing-limits — Crouton Alpha is free up to 1,000 requests/day, while the stealth preview lasts, without a published fixed expiry.
  • Public Provider API: https://api.commandcode.ai/provider/v1/models — stealth/crouton-alpha, context 1,048,576, /chat/completions only.
  • No dated TEMPORARY_PRICING entry is invented: this is an undated preview, like the existing stealth free preview. The daily pricing/catalog checks still detect future drift.
  • CLI metadata remains current at command-code@1.88.2; no new image, reasoning, effort or output-limit metadata is published. Existing conservative defaults remain unchanged (text-only, no reasoning, 65,536 max output tokens).

Changes

Five files: pricing entry/date, API model-ID fixture, official pricing fixture, explicit free-preview 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 | stealth/crouton-alpha.
  • After: live pricing check PASS, 96 models; CLI catalog check Current.
  • Pricing tests: 14/14 PASS.
  • Full npm test: PASS, including typecheck and real Pi/OMP against loopback mocks.
  • Format and diff checks: PASS.
  • Active LSP probe of pricing/test files and unchanged index.ts: all three confirmed clean.

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

After this lands, #187 will need to pick up the fix and rerun its pricing check; merely opening this PR does not unblock it.

@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Memory benchmark

Compared base 999b690 with PR head ebb171c on the same GitHub-hosted darwin runner. Lower values are better.

Metric Base PR PR − Base Change
Stable RSS 108.0 MiB ± 0.2 MiB 107.4 MiB ± 0.8 MiB -0.8 MiB ± 1.0 MiB -0.7%
Physical footprint 62.2 MiB ± 0.2 MiB 62.1 MiB ± 0.5 MiB -0.2 MiB ± 0.7 MiB -0.4%
Physical peak 75.1 MiB ± 0.3 MiB 73.7 MiB ± 1.0 MiB -1.6 MiB ± 1.2 MiB -2.2%

Interpretation: Differences larger than their measured MAD: Physical peak -1.6 MiB ± 1.2 MiB.

Extension overhead above pi baseline

Metric Base overhead PR overhead Difference
Stable RSS +6.3 MiB ± 1.1 MiB +5.2 MiB ± 0.7 MiB -0.8 MiB ± 1.0 MiB
Physical footprint +3.7 MiB ± 0.4 MiB +3.4 MiB ± 0.9 MiB -0.2 MiB ± 0.7 MiB
Physical peak +4.2 MiB ± 1.0 MiB +2.7 MiB ± 1.4 MiB -1.6 MiB ± 1.2 MiB

Values are medians of 6 alternating, paired runs. The value after ± is the median absolute deviation (MAD). Each process was sampled 12 times after a 2500 ms warm-up.

Environment: pi 0.84.4, Bun 1.4.4, darwin arm64. RSS comes from ps; physical footprint and peak come from macOS footprint.

This is a comparative signal, not a pass/fail threshold. GitHub-hosted runner noise can affect absolute values.

@pierreraby
pierreraby merged commit 26c4490 into main Nov 4, 2026
15 checks passed
@pierreraby
pierreraby deleted the chore/crouton-alpha-pricing branch November 4, 2026 10:50
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.

1 participant