Skip to content

fix(modal): reserve and show the gateway's size-based create price - #241

Merged
VickyXAI merged 1 commit into
mainfrom
fix/modal-size-pricing
Nov 6, 2026
Merged

VickyXAI merged 1 commit into
mainfrom
fix/modal-size-pricing

Conversation

@VickyXAI

@VickyXAI VickyXAI commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

The gateways now bill a larger sandbox by the hour. ModalCreate looked its price up by GPU type alone, so cpu: 8 on a T4 would confirm and reserve $0.05 and then sign about $0.33. The confirm dialog, the reservation, the usage record and the "charged" line all read this price.

Also corrects the tool's cpu and memory defaults, which said 0.125 and 128; the gateway uses 1 and 512.

Verification. test/local.mjs passes, including a new test of the price boundaries. Not run against a paid sandbox.

Release order. Ship before the gateways deploy: BlockRunAI/blockrun#1000, BlockRunAI/blockrun-sol#572, https://github.com/BlockRunAI/blockrun-arc/pull/67, https://github.com/BlockRunAI/blockrun-nano/pull/40.

Not changed: Franklin still caps a create at 300 seconds, which the gateway no longer requires.

🤖 Generated with Claude Code

The gateways now bill a larger sandbox by the hour. Franklin looked the price up
by GPU type alone, so an 8-core T4 would confirm and reserve $0.05 and sign $0.33.
@VickyXAI
VickyXAI merged commit 38b054b into main Nov 6, 2026
6 checks passed
@VickyXAI
VickyXAI deleted the fix/modal-size-pricing branch November 6, 2026 21:58
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