# API keys, free trial and billing

This page answers common questions about getting started with the Sapling API. The [API documentation](https://sapling.ai/docs/) is the full reference.

## Get an API key

You don't need approval for a trial key.

1. [Register](https://sapling.ai/user/register) or sign in, and confirm your email address.
2. Go to [https://sapling.ai/api_settings](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](https://sapling.ai/docs/sandbox/) and [Rate limits](https://sapling.ai/docs/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](https://sapling.ai/docs/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](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](https://sapling.ai/dashboard-billing) and click **Manage billing**. See [Manage or cancel your subscription](https://sapling.ai/help/manage-subscription).

## Questions

Email [support@sapling.ai](mailto:support@sapling.ai) with questions about API access or an invoice.

---
Source: https://sapling.ai/help/api-keys-and-billing (updated 2026-11-30). More articles: https://sapling.ai/help. Contact: support@sapling.ai
