Overview of Leonardo API Plans
Leonardo AI offers four main API pricing plans to cater to different user needs and project scales. These plans are designed to provide flexibility and scalability for individuals and businesses. The four plans are:
- API Basic
- API Standard
- API Pro
- API Custom
Image credit: leonardo.ai
API Basic Plan
The API Basic plan is priced at $9 per month (excluding tax). It includes 3,500 API credits per month, which can be used in various ways. This plan is suitable for small projects or individual developers who need occasional access to AI capabilities.
Key Features:
- 3,500 API credits per month
- Up to 5 concurrent generations
- Access to Alchemy, Prompt Magic v3, PhotoReal, and Motion
- Ability to train models with API credits
- Purchase additional API credits as needed
- API credits do not expire
- No discount on API credit top-ups
- Automatic API credit top-ups
The API Basic plan is ideal for users who need limited but flexible access to AI tools without a long-term commitment or high initial cost.
API Standard Plan
The API Standard plan costs $49 per month (excluding tax) and provides 25,000 API credits per month. This plan is designed for more intensive use and includes several benefits over the Basic plan.
Key Features:
- 25,000 API credits per month
- Up to 5 concurrent generations
- Access to Alchemy, Prompt Magic v3, PhotoReal, and Motion
- Ability to train models with API credits
- Purchase additional API credits as needed
- API credits do not expire
- 20% discount on API credit top-ups
- Automatic API credit top-ups
The API Standard plan offers a significant increase in credits and a discount on top-ups, making it suitable for medium-sized projects and businesses that require more frequent AI interactions.
API Pro Plan
The API Pro plan is available for $299 per month (excluding tax) and includes a substantial 200,000 API credits per month. This plan is targeted at large-scale projects and enterprises with high AI demands.
Key Features:
- 200,000 API credits per month
- Up to 5 concurrent generations
- Access to Alchemy, Prompt Magic v3, PhotoReal, and Motion
- Ability to train models with API credits
- Purchase additional API credits as needed
- API credits do not expire
- 40% discount on API credit top-ups
- Automatic API credit top-ups
With the API Pro plan, users gain access to a vast number of credits and significant discounts on additional purchases, making it an economical choice for heavy users.
API Custom Plan
For users with unique needs, the API Custom plan offers a tailored solution. Pricing and credits are customizable, and users can contact Leonardo AI for more information.
Key Features:
- Custom API credits amount
- Up to 5 concurrent generations
- Access to Alchemy, Prompt Magic v3, PhotoReal, and Motion
- Ability to train models with API credits
- Purchase additional API credits as needed
- API credits do not expire
- Custom discount on API credit top-ups
- Automatic API credit top-ups
The API Custom plan provides flexibility for businesses and developers with specific requirements, ensuring they only pay for what they need.
Pricing Calculator on the Web App
Leonardo AI offers a Pricing Calculator on their web app, which helps users plan out how many API credits different generations will use. This tool is invaluable for budgeting and optimizing API usage.
Example Calculation
- Number of images: 4
- Image Dimensions: 512 x 512
- Step Count: 10
This configuration results in a cost of 7 API credits. Understanding these costs can help users design their applications more efficiently.
Tip
The cost of generating 1 image versus multiple images may be the same. Leveraging this insight, users can offer a selection of images upfront, reducing the need for multiple regenerations by end-users.
Pricing Calculator on the API
The Pricing Calculator is also accessible via the API, allowing programmatic calculation of API credit costs based on various settings. This feature is particularly useful for integrating cost calculations directly into user applications.
Use Cases
- Programmatically getting API credit cost for a list of settings
- Checking API credit costs for settings not available on the web app
While the Pricing Calculator API can be used interactively within web applications, it contributes to the total number of requests. To avoid rate limiting, it is recommended to store API credit costs in a local database if this information needs to be exposed to end-users frequently.
Estimated Pricing Table
The estimated pricing table provides a reference for credit costs based on different models and configurations. This helps users anticipate their usage and manage their credits effectively.
Examples
Fixed Costs
Leonardo AI also offers fixed costs for specific tasks, ensuring users know exactly how many credits certain actions will consume.
Examples
Realtime Canvas (LCM Generations)
Credits for realtime canvas operations increase based on image dimensions, offering flexibility in usage.
Examples
Monitoring and Tracking API Credits
To effectively monitor and track your API credit usage with Leonardo AI, the Create a Generation of Images API endpoint returns an "apiCreditCost" in the response. This allows you to keep an eye on your credit consumption.
Additionally, on the Leonardo web app, you can observe changes in your API credits on the API Access Page.
Checking Remaining API Credits and Web Tokens
Use the Get User API endpoint to view your remaining API credits. This endpoint helps you check your credit balance and set up alerting if needed.
Understanding Your Remaining Tokens and Credits
Web Tokens
Your remaining Web Tokens, visible in the top left-hand corner of your account, are a combination of "paidTokens" and "subscriptionTokens".
From the sample response:
- paidTokens: 38,500
- subscriptionTokens: 1,005
Total Remaining Web Tokens: 38,500 + 1,005 = 39,505
API Credits
Your remaining API credits, visible under the API Usage tab, are a combination of "apiPaidTokens" and "apiSubscriptionTokens".
From the sample response:
- apiPaidTokens: 45,677
- apiSubscriptionTokens: 13
Total Remaining API Credits: 45,677 + 13 = 45,690
Tips
The Remaining Web Tokens in your account are a combination of "paidTokens" and "subscriptionTokens".
The Remaining Credits under the API tab are a combination of apiPaidTokens and apiSubscriptionTokens.
Craft Your Next Masterpiece Using the Power of Leonardo AI
Embrace the power of AI and start creating with Leonardo today. Discover a world where creativity knows no bounds, and where your vision can become a stunning reality with just a few clicks. Join the Leonardo AI revolution and transform the way you create!
Ready to start your journey with Leonardo AI? Create an account now and begin crafting your vision with the ultimate creative assistant.
Create an account