[Api Nodes]: Improve Price Badge Declarations#11582
Merged
Kosinkadink merged 15 commits intoComfy-Org:masterfrom Jan 14, 2026
Merged
[Api Nodes]: Improve Price Badge Declarations#11582Kosinkadink merged 15 commits intoComfy-Org:masterfrom
Kosinkadink merged 15 commits intoComfy-Org:masterfrom
Conversation
292d44f to
dd3f1a1
Compare
dd3f1a1 to
5ee6f0a
Compare
Kosinkadink
approved these changes
Jan 14, 2026
bigcat88
added a commit
to Comfy-Org/ComfyUI_frontend
that referenced
this pull request
Jan 22, 2026
## Summary Backend part: Comfy-Org/ComfyUI#11582 - Move API node pricing definitions from hardcoded frontend functions to backend-defined JSONata expressions - Add `price_badge` field to node definition schema containing JSONata expression and dependency declarations - Implement async JSONata evaluation with signature-based caching for efficient reactive updates - Show one decimal in credit badges when meaningful (e.g., 1.5 credits instead of 2 credits) ## Screenshots (if applicable) <!-- Add screenshots or video recording to help explain your changes --> ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7816-Move-price-badges-to-python-nodes-2da6d73d365081ec815ef61f7e3c65f7) by [Unito](https://www.unito.io)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR extends V3 schema and allow nodes to declare price badges using JSONata syntax.
Requires support from the Frontend repo: Comfy-Org/ComfyUI_frontend#7816
API Node PR Checklist
Scope
Pricing & Billing
If Need pricing update:
QA
Comms