Get started

API keys, free trial and billing

Updated

This page answers common questions about getting started with the Sapling API. The API documentation is the full reference.

Get an API key

You don't need approval for a trial key.

  1. Register or sign in, and confirm your email address.
  2. Go to https://sapling.ai/api_settings.
  3. Click Generate Key on the Keys tab.

Free trial limits

A new trial key includes:

  • 50,000 characters per day
  • 250,000 characters per month
  • 30 days of access from when the key is generated

The trial includes one key. Free daily and monthly allowances don't carry over after their time window. See Sandbox & testing and Rate limits for details.

How API pricing works

API usage is priced by the number of input characters processed, at the rate for the endpoint you call. Rates differ by endpoint. See API pricing for current rates.

You can pay in either of two ways:

  • Monthly usage billing: subscribe and you're billed for what you use.
  • Prepaid credits: buy credits up front. Your balance is drawn down at the endpoint rates as you use the API.

Check your balance and usage

Open the Billing tab at https://sapling.ai/api_settings to buy credits and see your purchased, consumed and remaining balance. The Usage tab shows your API usage.

For invoices, payment methods and subscription changes, go to https://sapling.ai/dashboard-billing and click Manage billing. See Manage or cancel your subscription.

Questions

Email support@sapling.ai with questions about API access or an invoice.