All API calls charge based on compute time of the algorithm (1 credit per usage second) plus a royalty per call (if the author charges a royalty).
For more details please visit the pricing docs or the pricing FAQs.
Royalty Per Call
Cost Per Second
Estimated Cost Per 10,000 Calls