Explore different pricing strategies for your MCP service, including per-call (flat/dynamic) and freemium models, and considerations for setting them up.
consume()
method.
amount_cents
Dynamically: When you call agentpay_client.consume(..., amount_cents=X, ...)
in your server code, you specify the value of X
(the cost in cents) for that particular transaction.
amount_cents
based on the complexity, resources consumed, or output generated by that specific tool invocation. For instance:
amount_cents
before calling consume()
.