Prediction API

Machine learning to analyze your data and make predictions

View Prediction API Docs

Machine Learning and Pattern Matching

Google Prediction API provides pattern-matching and machine learning capabilities. After it learns from your training data, Prediction API can predict a numeric value or choose a category that describes a new piece of data. With these capabilities, you can create applications to perform tasks such as predicting what movies or products a user might like, categorizing emails as spam or non-spam, assessing whether posted comments have positive or negative sentiment, or guessing how much a user might spend on a given day.

Learn, Detect, And Act

Predict future trends using historical data. Route messages, detect spam and recommend products for users by using Prediction API. Google’s powerful infrastructure analyzes your data for you so you can gain insights, detect trends, and take action.

Fast And Reliable

Most prediction queries take less than 200ms. Greater performance is available. Your data is replicated across multiple data centers using Google Cloud Storage.

Powerful Development Tools

Prediction API can integrate with Google App Engine, and the RESTful API is available through libraries for many popular languages, such as Python, JavaScript and .NET.

Free Quota, Flexible Pricing

Limited usage is free for your first six months. After that, Prediction API’s comprehensible pricing comes with a 99.9% availability service level agreement. Just like our other Cloud Platform products, you pay only for what you use.

Prediction API Features

Machine learning to analyze your data and make predictions

Train On Your Data
Assemble a training set from your data to build your own predictive model tailored to your needs.
Estimate Or Categorize
Submit new data and get back a numerical estimate or categorization guess to power your applications.
Cloud Integration
Google services are designed to work together. Use results from Google BigQuery or pull in datasets of up to 2.5GB from Cloud Storage to create a predictive model. Use Prediction API directly from App Engine.
Easily Update Your Models
Provide incremental updates to your training data and your model will update based on the new examples.
API Access
RESTful API is available through libraries for many popular languages, such as Python, JavaScript and .NET.
Smart Autofill Spreadsheets Add On
Smart Autofill is a Google Spreadsheets add-on that uses the Prediction API to leverage machine learning directly in a Google Spreadsheet.

Prediction API Pricing

Machine learning to analyze your data and make predictions

Try Prediction API using a six month limited free trial, or dive right into paid use and enjoy higher usage quotas. See pricing details for additional information on quotas.

  Limited Free Use for 6 months Paid Usage
Service Level Agreement None 99.9% availability
Monthly Access Fee None $10 per project
Free Predictions Up to 100 per day Up to 10,000 per day
Additional Predictions 20,000 lifetime cap $0.50 per 1,000 predictions
Training data Up to 5MB trained per day $0.002 per MB
Free Streaming training None Up to 10,000 per day
Additional Streaming updates None $0.05 per 1,000 updates