LLM and other dynamically-priced blocks run free when a priced input is left at its schema default
Description
Any AutoGPT Platform user could run the platform's dynamically-priced blocks, the LLM blocks among them, free of charge by leaving the one input the price depended on unset, so that the block fell back to its own default. The run still went ahead on whichever provider credential it resolved, platform-managed ones included, and the balance check that should have stopped a user with no funds did not fire either. Upgrade to v0.11.0 or later.
Impact
An account with no balance, including one that had never paid, could make an unlimited number of paid model, code-generation and image-generation calls billed to the operator. Every route that prices a block run recorded that usage as costing nothing, so it was neither charged nor visible in cost tracking.
Fix
Fixed in AutoGPT Platform v0.11.0.
A block run is now priced on the input the block actually runs with, with unset values filled in from the block's own defaults, rather than on the input exactly as it was saved. A priced field left empty is therefore charged at the rate of the value the run really uses, and the check that decides whether a block is a paid one reads the same filled-in input, so a user without the funds is refused before the block starts.
Fix evidence: af1d0731496e.
Upgrade to v0.11.0 or later. Version numbers in this advisory identify Platform releases, whose Git tags are autogpt-platform-beta-v<VERSION>, rather than the backend Python package version.
Workarounds
None available to an operator through configuration.
---
Details
block_usage_cost (autogpt_platform/backend/backend/executor/utils.py) priced a block run by matching the price table's filter against the node's stored input exactly as saved, before any schema default was applied. A node field that a cost filter keyed on, most commonly an LLM block's model, was filled with its schema default only later, inside Block._execute, after every charging call had already run. So a node that left such a field unset (or set it to null) matched no entry in the table, which returned a cost of 0, while the block still executed with its default value on whichever provider credential the run resolved, platform-managed credentials included.
The same raw-input match was repeated in _block_has_paid_cost_entry (executor/billing.py), the guard that should stop a user with no balance from starting a dynamically-priced block; it reported "not a paid block" under the same condition, so the guard did not fire either.
Every caller that prices a block run went through block_usage_cost: the executor's pre-flight charge and post-flight reconciliation, the direct block-execute API routes, AutoPilot's block-running tool, the workflow cost estimate and the cost-tracking log. The scope was every block whose price-table entry filters on an input field that has a schema default: the LLM blocks, a code-generation block and several image-generation blocks.
The fix drops None values and fills the schema defaults in before the filter is matched (_with_schema_defaults, used by both block_usage_cost and _block_has_paid_cost_entry). This is supported platform code.
The code was introduced in eeb5b4aa46e8 (2024-11-29), first released in v0.3.4. The single-container Docker image runs with the credit system off by default (enable_credit), so it charged nothing to bypass and is not listed as affected.
References
Fix evidence: af1d0731496e.
Timeline
Reported 2026-10-31 · Triaged 2026-10-31 · Fixed 2026-11-01 · Published 2026-11-17.
A special thank you to Anthropic (@anthropics) for including us in Project Glasswing. Their automated vulnerability scanning and CVP (cyber-enabled inference) access have enabled us to make a leap in our cyber defense capabilities and secure the AutoGPT Platform.