# 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="/files/fNjG5WLAFDwmyUchK12j" alt=""><figcaption></figcaption></figure>

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

This means that:

* if you are on the Basic plan, a call to the [Image Editing API](/image-editing-api-plus-plan/quickstart-guide.md) will consume 5 images
* if you are on the Plus plan, a call to the [Remove Background API](/remove-background-api-basic-plan/quickstart-guide.md) 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="/files/4589ki64wq3CjqluyVt2" 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](/getting-started/api-reference-openapi.md#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](/image-editing-api-plus-plan/sandbox-mode.md) and the [Remove Background API](/remove-background-api-basic-plan/sandbox-mode.md), 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](/remove-background-api-basic-plan/quickstart-guide.md) and the [Image Editing API](/image-editing-api-plus-plan/quickstart-guide.md).

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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.photoroom.com/getting-started/pricing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
