> For the complete documentation index, see [llms.txt](https://docs.roboflow.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roboflow.com/deployment/roboflow-cloud/serverless-api/pricing.md).

# Pricing

How Serverless Cloud API usage is billed in credits.

Serverless Cloud API usage is billed in credits. Most models are billed per image, at a rate set by the model. Custom Python blocks and vision language models are billed for the time they run, at 500 execution seconds per credit. [Model pricing](/deployment/roboflow-cloud/serverless-api/model-pricing.md) lists the rate for every model.

## Per-image billing

A model call costs the same for every image it processes, whatever the image size and however long inference takes. Rates run from 0.0625 credits per 1,000 images for classification models to 0.5 credits per 1,000 images for Segment Anything.

## Volume discounts

Rates fall as monthly volume grows, in bands that start at 250,000 images and reach 80% off above 5,000,000 images. Discounts are graduated, so each rate applies only to the images inside its band, and the bands count a workspace total across all models for the calendar month. [Model pricing](/deployment/roboflow-cloud/serverless-api/model-pricing.md) lists the rate in each band.

## Workflows

A Workflow run bills each model step at that model's rate. Workflow logic itself runs on CPU machines and is not billed per image. Custom Python blocks and vision language model blocks bill for their execution time.

## Failed requests

Requests that fail with status `402`, `408`, `409`, `423`, `429`, or any `5xx` code do not use credits. These cover server errors, timeouts, and rate limits.

Other failures, such as `401`, `403`, and `404`, still use credits.

## Tracking usage

The Plan and Billing page in the Roboflow app breaks down credit usage by product and by day. See [View Your Credit Usage](https://docs.roboflow.com/platform/billing-and-plans/credits/view-credit-usage) for the usage chart, projections, and the consumption audit log.
