Skip to main content
Every metered action in your app is a feature with a creditCost: how many credits one successful use spends. Plans and packs grant credits, not uses, so one balance covers every feature, and you can price an expensive action higher without a new plan.
A Pro plan with 1,000 credits then covers 1,000 images, 250 HD images, or any mix. Your backend passes the feature id to check and track.

Choosing costs

  • Start from your own cost. If an HD image costs you four times a standard one, make it 4 credits. Set plan credits so the plan’s price covers a heavy month.
  • Keep costs whole numbers. creditCost is a whole number above 0. For cheap actions, make a credit worth less: 10 credits per message rather than 0.1.
  • Changing a cost applies from then on. Usage already tracked keeps the cost it was charged at, and a feature change doesn’t create a plan version.
Removing a feature from the file archives it: check and track return 404 feature_not_found for it, and its recorded usage stays.
Other ways. Features can also be managed in the dashboard under Features, or with the feature endpoints.