Why are my credits being spent at inconsistent amounts?

Created by Joshua Lopez, Modified on Sun, 23 Jun at 1:41 PM by Joshua Lopez

Introduction:

In the world of AI, API credits play a crucial role, as the cost is determined by the computational resources required to process requests. As we continuously enhance our models and infrastructure, pricing adjustments may ensue. This article explores the intricacies of API credits, their impact on pricing, and how updates to our models and infrastructure may influence future pricing structures.


Stable Image Services Pricing Guide:

Stability AI's Platform API hosts endpoints for Stable Image Services, which offers a growing set of APIs for developers to build the best in class image applications.


Each API endpoint has unique pricing based upon the type of service and chosen parameters (Image size, generation steps, etc) 


An all-encompassing guide to pricing for each endpoint can be found in our API Documentation, linked here: Platform API Pricing


Varied Credit Cost: 

As previously mentioned, some API requests made to our endpoints will have varied credit cost based on specific parameters of the request made. For example, our SDXL and SD 1.6 API Endpoints contain an optional Samples parameter, which defines how many image generations should be created per API request. (shown below)

"samples": 

If a value over "1" is used, the credits spent will be multiplied by the value used. 

 

Conclusion: 

If you're noticing that your credits are being spent at an inconsistent rate, it might be helpful to take a look at the Platform's API Pricing page to double-check how usage amounts and endpoint utilization factor into your expenditures.



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article