With Amazon Machine Learning, you pay only for what you use. There are no minimum fees and no upfront commitments.

Amazon Machine Learning charges an hourly rate for the compute time used to build predictive models, and then you pay for the number of predictions generated for your application. For real-time predictions you also pay an hourly reserved capacity charge based on the amount of memory required for your model.

The charge for data analysis, model training, and evaluation is based on the number of compute hours required to perform them, and depends on the size of the input data, the number of attributes within it, and the number and types of transformations applied.

We recommend using batch predictions if your application needs to obtain many predictions at once, and it is acceptable to wait until all of the predictions are generated before retrieving them. Use real-time predictions to allow interactive web, mobile, or desktop applications to request predictions on demand for immediate use.

Batch Predictions

$0.10 per 1,000 predictions, rounded up to the next 1,000

Real-Time Predictions

$0.0001 per prediction, rounded up to the nearest penny

For real-time predictions, there is also a reserved capacity charge of $0.001 per hour for each 10 MB of memory provisioned for your model. During model creation, you specify the maximum memory size of each model to manage cost and control predictive performance. You pay the reserved capacity charge only while your model is enabled for real-time predictions.

Let’s assume you are using Amazon Machine Learning to help automatically classify products in your catalog using product description data as a training set. In this case, you use 20 hours of compute time generating your models, and then obtain 890,000 batch predictions.

Let’s assume you are using Amazon Machine Learning to help automatically classify products in your catalog using product description data as a training set. In this case, you used 20 hours of compute time generating your models, the resulting model was 100 MB, and you obtained 890,000 real-time predictions over a one-month period.

Compute Fees

The compute price is $0.42 per hour.

Total compute fees = Compute time (hrs) * $0.42

Total compute fees = 20 hrs * $0.42/hr = $8.40

Monthly Prediction Fees

The monthly price for real-time predictions is $0.0001 per prediction

Monthly prediction fees = ($0.0001) * 890,000 = $89.00

Real-time predictions also require a reserved capacity charge of $0.001/10 MB per hour