# Pricing

## How are API calls billed?

API usage is billed by the amount of images processed.

Images are bought through a monthly subscription and consumed on each successful API call.&#x20;

Pricing details are [available here](https://www.photoroom.com/api/pricing).

{% hint style="info" %}
Calls that result in an error will **not** consume an image.
{% endhint %}

You can track how many images you have left in your [API dashboard](https://app.photoroom.com/api-dashboard):

<figure><img src="https://2855892273-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1SYxn7dWbQYsNtUdJE3f%2Fuploads%2FTSlui1hMKimQTQk3fOPS%2FAPI-Dashboard-Balance.png?alt=media&#x26;token=77deb86b-a25d-48ca-9a76-990b8124c7f0" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Please keep in mind that 1 call to the [Image Editing API](https://docs.photoroom.com/image-editing-api-plus-plan) is worth 5 calls to the [Remove Background API](https://docs.photoroom.com/remove-background-api-basic-plan).

This means that:

* if you are on the Basic plan, a call to the [Image Editing API](https://docs.photoroom.com/image-editing-api-plus-plan) will consume 5 images
* if you are on the Plus plan, a call to the [Remove Background API](https://docs.photoroom.com/remove-background-api-basic-plan) will consume 0.2 image
  {% endhint %}

The API dashboard also contains a history of your recent credit consumption, accessible by clicking on the button *View usage details:*

<figure><img src="https://2855892273-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1SYxn7dWbQYsNtUdJE3f%2Fuploads%2FzE93TuEdJsX7FcPGsqot%2FAPI-Dashboard-Graph.png?alt=media&#x26;token=24b90738-c0b9-4740-9130-91829a3bfa49" alt="" width="563"><figcaption></figcaption></figure>

If you want to monitor your credit balance with your own tools, you can do it [through this endpoint](https://docs.photoroom.com/api-reference-openapi#get-v2-account).

{% hint style="info" %}
Please note that API subscriptions are independent of the Pro subscription that gives access to the Photoroom app on iOS, Android, and the web.
{% endhint %}

## Can I get free API calls?

For testing and prototyping, you can use Sandbox mode on both the [Image Editing API](https://docs.photoroom.com/image-editing-api-plus-plan/sandbox-mode) and the [Remove Background API](https://docs.photoroom.com/remove-background-api-basic-plan/sandbox-mode), which allows you to make free API calls (but will produce a result with a watermark).

If you're in the process of integrating the Photoroom API into your codebase and need additional free credits to test your integration, please [join our online API community](https://photoroom.discourse.group/) and ask our engineers.

## Do you offer Enterprise pricing?

Yes, for large volumes (from 200K images/year) we do offer Enterprise pricing.

For more details, please [contact our sales team](https://www.photoroom.com/contact-sales?utm_source=apidoc\&utm_medium=getting-started-pricing).

<a href="https://www.photoroom.com/contact-sales?utm_source=apidoc&#x26;utm_medium=getting-started-pricing" class="button primary">Contact Sales</a>

## How can I check my API usage?

You can check your API usage by calling the endpoint:

```http
GET https://image-api.photoroom.com/v2/account
```

This endpoint works for both the [Remove Background API](https://docs.photoroom.com/remove-background-api-basic-plan) and the [Image Editing API](https://docs.photoroom.com/image-editing-api-plus-plan).

Here's an example of a call to this endpoint:

```shell
curl --location 'https://image-api.photoroom.com/v2/account' \
  --header 'x-api-key: YOUR_API_KEY'
```

And here's an example of the response you'll receive:

```json
{
  "images": {
    "available": 83,
    "subscription": 100
  },
  "plan": "basic"
}
```

{% hint style="info" %}
You can use this endpoint to setup an automated monitoring of your API usage.
{% endhint %}
