- 01PlanGrowth v7
- 02MeterreportExports
- 03Usage2,576 / 3,000
- 04Mutation+1 report
+1 report
Runtime enforcement for usage-based products
Before an API call, agent run, generation, render, export, or job begins, Valqio checks the customer’s plan, credits, limits, and live usage. It can allow the action, block it, or reserve credits until the outcome is known.
Product view 1 of 4: Runtime Decision.
Runtime infrastructure
Your billing system turns usage into invoices and collects payment. Valqio decides whether the next product action can run, then records what happened.
Run a live decision| Responsibility | Inside your product | With Valqio |
|---|---|---|
| Decision logic | Product conditionals spread across application code. | Pre-action decisions for named product actions. |
| Customer state | Customer quota and credit state in app-owned paths. | Published customer terms, quotas, credits, and usage state. |
| In-flight work | Reservation, commit, and release handling around uncertain work. | Reserve before work, then commit or release the usage transaction. |
| Retries and races | Idempotent retry and concurrency behavior in each product service. | Idempotency keys, retry-safe settlement, and lifecycle state for concurrent attempts. |
| Explanation | Support reconstructs why a product action ran or was blocked. | Decision evidence with inputs, outcome, reason, and settlement trail. |
| Billing handoff | Outbox and downstream billing synchronization. | Reconciliation-ready usage and evidence for the billing system. |
Valqio does not run the product action or collect payment. It decides whether the action should run and manages the usage transaction around it.
Runtime decisions
Resolve customer terms and live usage state before the product action starts, then return an inspectable outcome.
runtime decisions feature 1 of 3: Decide from current customer state..
Credit lifecycle
Hold the 120 credits before renderVideo starts, then commit successful work or release failed work with the same transaction evidence.
Reserve 120 credits before renderVideo starts.
Commit completed work or release failed work with stable idempotency keys.
Keep reservation, request, settlement, and evidence identifiers available for inspection.
Published runtime model
Connect actions, meters, plans, assignments, and customer terms in the published snapshot your runtime reads.
published runtime model feature 1 of 3: Connect product actions to commercial state..
Metering and usage
Record usage with the matching meter operation, while keeping enforcement in the pre-action decision.
metering and usage feature 1 of 3: Record work using the right meter..
Decision evidence
See why an action was allowed or blocked, what balance changed, and whether a retry deducted credits twice. Follow a reserved action through success or failure.
Use req_9K2 to find the decision record for a product attempt.
Read ALLOWED and the ordered plan, meter, and usage checks that produced it.
Follow the request and evidence trail through reservation, commit, or release where work needs settlement.
generateReportRuntime monetization
Define the offer once. Apply it before each product action runs. Keep every decision and state change explainable.