AI API Models Pricing

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Text & Code Models
Context
Input/1M
Output/1M
128K
$
1.625
$
1.625
256K
$
0.325
$
2.6
32K
$
0.65
$
1.04
1M
$
0.39
$
3.25
131K
$
5.2
$
10.4
256K
$
0.325
$
1.3
256K
$
0.195
$
0.78
8K
$
0.975
$
1.3
256K
$
0.39
$
1.56
8K
$
3.25
$
13
131K
$
0.065
$
0.13
256K
$
1.04
$
4.16
256K
$
0.0325
$
0.13
32K
$
0.065
$
0.104
256K
$
0.0975
$
0.8125
131K
$
0.0221
$
0.1456
131K
$
0.975
$
1.56
1M
$
3.25
$
16.25
32K
$
1.04
$
2.08
400k
$
0.26
$
1.625
131K
$
0.845
$
0.975
131K
$
0.91
$
1.82
256K
$
1.105
$
1.625
1048K
$
0.78
$
7.8
64K
$
0.13
$
0.26
128K
$
0.195
$
0.78
256K
$
0.0975
$
0.8125
128K
$
0.4563
$
0.7215
32K
$
0.325
$
0.65
256K
$
0.13
$
0.26
200K
$
195
$
780
131K
$
0.39
$
0.65
256K
$
0.078
$
0.156
128K
$
2.275
$
18.2
400k
$
0.975
$
5.85
32K
$
0.26
$
0.78
256K
$
0.013
$
0.039
32K
$
0.52
$
0.52
256K
$
1.3
$
3.9
128K
$
0.325
$
0.975
131K
$
1.105
$
4.42
$
0.13
$
0.13
32K
$
0.715
$
1.04
128K
$
2.6
$
7.8
32K
$
0.195
$
1.95
256K
$
0.26
$
0.52
64K
$
0.78
$
2.34
$
1.04
$
1.56
128K
$
0.039
$
0.156
8K
$
0.052
$
0.065
131K
$
0.39
$
1.17
256K
$
1.17
$
2.47
Image Models
Context
Price
Additional Price
$
per 1M tokens
$
$
0.091
Per/gen
$
$
0.044
per Megapixel
$
$
0.13
per Megapixel
$
$
0.13
$
Per/gen
$
0.052
Per/gen
$
4K
$
6.5
per 1M tokens
$
$
10.4
per 1M tokens
$
39
1M output tokens
$
0.026
Per/gen
$
$
0.091
per Megapixel
$
0.039
per additional megapixel
$
0.091
per Megapixel
$
0.039
per additional megapixel
$
6.5
per 1M tokens
$
10.4
per 1M input tokens (image)
$
0.007
per Megapixel
$
$
0.016
per Megapixel
$
$
0.007
per 1M tokens
$
0.676
Per/gen
$
0.033
per Megapixel
$
$
0.13
per Megapixel
$
$
0.012
per 1M tokens
$
0.175
1024x1024 High Quality
$
0.052
Per/gen
$
4K
$
0.052
Per/gen
$
4K
$
0.046
per Megapixel
$
4K
$
0.004
per Megapixel
$
4K
$
0.033
per Megapixel
$
4K
$
0.065
per Megapixel
$
Media Generation Models
Context
Price
No items found.
No items found.
$
0.559
Per/gen
$
0.06
per 1M pixels
$
per 1M tokens
$
0.052
Per/sec
$
0.78
Per/sec
$
0.728
per 10 sec
$
0.002
per 1M pixels
$
0.008
per 1M pixels
$
0.033
Per/sec
$
0.26
Per/sec
$
0.013
Per/gen
$
28.6
per 1M tokens
$
0.195
Per/gen
$
130
per 1M tokens
$
0.007
per 1M tokens
$
3.25
per 1M tokens
$
0.078
per 1M tokens
$
0.001
per 1M tokens
$
0.039
per 1M tokens
$
0.234
per 1M tokens
$
0.02
per 1M tokens
OCR models
Context
Price
Additional Price
$
5.2
per 1000 pages
$
6.5
per 1000 pages
$
2.6
per 1000 pages
$
3.9
per 1000 pages
$
0.013
per page
$
Model
Context
Input/1M
Output/1M
128K
$
1.625
$
1.625
256K
$
0.325
$
2.6
32K
$
0.65
$
1.04
1M
$
0.39
$
3.25
131K
$
5.2
$
10.4
256K
$
0.325
$
1.3
256K
$
0.195
$
0.78
8K
$
0.975
$
1.3
256K
$
0.39
$
1.56
8K
$
3.25
$
13
131K
$
0.065
$
0.13
256K
$
1.04
$
4.16
256K
$
0.0325
$
0.13
32K
$
0.065
$
0.104
256K
$
0.0975
$
0.8125
131K
$
0.0221
$
0.1456
131K
$
0.975
$
1.56
1M
$
3.25
$
16.25
32K
$
1.04
$
2.08
400k
$
0.26
$
1.625
131K
$
0.845
$
0.975
131K
$
0.91
$
1.82
256K
$
1.105
$
1.625
1048K
$
0.78
$
7.8
64K
$
0.13
$
0.26
128K
$
0.195
$
0.78
256K
$
0.0975
$
0.8125
128K
$
0.4563
$
0.7215
32K
$
0.325
$
0.65
256K
$
0.13
$
0.26
200K
$
195
$
780
131K
$
0.39
$
0.65
256K
$
0.078
$
0.156
128K
$
2.275
$
18.2
400k
$
0.975
$
5.85
32K
$
0.26
$
0.78
256K
$
0.013
$
0.039
32K
$
0.52
$
0.52
256K
$
1.3
$
3.9
128K
$
0.325
$
0.975
131K
$
1.105
$
4.42
$
0.13
$
0.13
32K
$
0.715
$
1.04
128K
$
2.6
$
7.8
32K
$
0.195
$
1.95
256K
$
0.26
$
0.52
64K
$
0.78
$
2.34
$
1.04
$
1.56
128K
$
0.039
$
0.156
8K
$
0.052
$
0.065
131K
$
0.39
$
1.17
256K
$
1.17
$
2.47
search icon
Model Not Found

We're sorry, but it looks like we don't currently have a model that matches your desired characteristics in our database.

However, we're constantly updating our offerings and would love to hear from you! Please sign up and connect with us on Discord to request the addition of specific AI models. Our team is dedicated to providing the best tools for your needs and will work quickly to add the model you're looking for.

Thank you for helping us improve our service!

Model
Context
Input/1M
Output/1M
Model
Context
Price
Additional Price
$
per 1M tokens
$
$
0.091
Per/gen
$
$
0.044
per Megapixel
$
$
0.13
per Megapixel
$
$
0.13
$
Per/gen
$
0.052
Per/gen
$
4K
$
6.5
per 1M tokens
$
$
10.4
per 1M tokens
$
39
1M output tokens
$
0.026
Per/gen
$
$
0.091
per Megapixel
$
0.039
per additional megapixel
$
0.091
per Megapixel
$
0.039
per additional megapixel
$
6.5
per 1M tokens
$
10.4
per 1M input tokens (image)
$
0.007
per Megapixel
$
$
0.016
per Megapixel
$
$
0.007
per 1M tokens
$
0.676
Per/gen
$
0.033
per Megapixel
$
$
0.13
per Megapixel
$
$
0.012
per 1M tokens
$
0.175
1024x1024 High Quality
$
0.052
Per/gen
$
4K
$
0.052
Per/gen
$
4K
$
0.046
per Megapixel
$
4K
$
0.004
per Megapixel
$
4K
$
0.033
per Megapixel
$
4K
$
0.065
per Megapixel
$
Model
Context
Price
$
0.013
Per/gen
$
28.6
per 1M tokens
$
0.195
Per/gen
$
130
per 1M tokens
$
0.007
per 1M tokens
$
3.25
per 1M tokens
$
0.078
per 1M tokens
$
0.001
per 1M tokens
$
0.039
per 1M tokens
$
0.234
per 1M tokens
$
0.02
per 1M tokens
Model
Context
Price
$
0.559
Per/gen
$
0.06
per 1M pixels
$
per 1M tokens
$
0.052
Per/sec
$
0.78
Per/sec
$
0.728
per 10 sec
$
0.002
per 1M pixels
$
0.008
per 1M pixels
$
0.033
Per/sec
$
0.26
Per/sec
Model
Context
Price
No items found.
Model
Context
Price
No items found.
Model
Context
Price
Additional Price
$
5.2
per 1000 pages
$
6.5
per 1000 pages
$
2.6
per 1000 pages
$
3.9
per 1000 pages
$
0.013
per page
$

Enterprise: Growth with custom AI solution

Sign up
  • Special pricing
  • Dedicated servers
  • Custom models
  • Unlimited RPM and TPM
  • Full staff training & integration
  • Joint marketing activities
  • Shared Slack channel
  • Extended data storage

AI Plans That Grow With You

Seamlessly scale your AI capabilities
from proof-of-concept  to production and beyond.
Pay As You Go
$20
Top up
Best for:
  • Production projects
  • Fast iteration & scaling
  • Startups & indie devs
What’s included
  • Access to all models
  • No usage limits
  • Access to Playground
  • Crypto payments available
  • Pay only for what you use
  • Priority human support

Enterprise

Contact us
Best for:
  • High-volume production workloads
  • Custom infrastructure
  • Enterprise & regulated use
What is included:
  • Dedicated servers
  • Custom / private models
  • Unlimited  RPM & TPM
  • Extended  data storage
  • Shared Slack channel
  • Full staff training & integration

Frequently asked questions

What is a Token?

Yes. The advancedTokens can be thought of as segments of words used in natural language processing. In English, a token typically represents about 4 characters or 0.75 words. For context, the entire Harry Potter series comprises approximately 1,090,739 words, which translates to around 1.3 million tokens. AI music generation capabilities of Suno are accessible via a stable and affordable API through the AIMLAPI platform. This allows developers to integrate AI-powered music creation directly into their own websites, apps, and digital products.

Does using the Playground count against token quota?

Using the Playground consumes only paid tokens for PRO models.

Which AI model should I use?

Selecting the ideal AI model hinges on your specific requirements and the tasks you want to achieve.
We suggest testing these models in the Playground to determine which ones offer the optimal balance between cost and performance for your needs. A frequently used strategy involves utilizing various query types, each directed to the most suitable model for handling them.

How to manage my subscription?

Log in to Your Account: Go to app.aimlapi.com and log in with your credentials to access your dashboard, where you can view your projects and subscription details.
Navigate to the Billing Page: From your dashboard, click on "Billing" to see your plan details, usage, and billing history.
Manage Subscription: On the Billing page, click the "Manage" button to access Stripe’s secure portal for adjusting your subscription settings.

How to add my model to API?

Join the Discord Community: If you haven’t already, join our Discord community through the link provided on our website or in our communications.
Navigate to the #feedback Channel: Once you're in our Discord server, find the #feedback channel dedicated to suggestions and improvements.
Detail Your Proposal: Create a post that details your model, its functionalities, and how it can benefit the AI/ML API community.
Be sure to include:
- The type of model and its use case.
- Performance metrics or research backing your model.
- Any other relevant information that would support your case.
Engage with the Community: Be prepared to discuss your proposal with other community members and answer any questions. Community interest can play a significant role in prioritizing new features and additions.

How to upgrade or downgrade my plan?

Within Stripe’s portal, you'll be able to:

Upgrade or Downgrade Your Plan: Choose a plan that best fits your current needs. Whether you require more resources or need to scale down, you can select the appropriate plan directly within the portal.Update Billing Information: Change or update your payment method, billing address, and contact information to ensure uninterrupted service.View Billing History: Access all past invoices and payments for your records.Cancel Subscription: If you decide to cancel your subscription, you can do so from here. Please note that we'd appreciate any feedback on how we can improve our services.

The Best Growth Choice
for Enterprise

Get API Key