---
title: Costs · Cloudflare AI Gateway docs
description: AI Gateway currently supports cost metrics from the following providers:
lastUpdated: 2024-09-26T12:51:59.000Z
source_url:
  html: https://patricia-pcx17119-l7-overrides.preview.developers.cloudflare.com/ai-gateway/observability/costs/index.md
  md: https://patricia-pcx17119-l7-overrides.preview.developers.cloudflare.com/ai-gateway/observability/costs/
---

## Supported Providers

AI Gateway currently supports cost metrics from the following providers:

* Anthropic
* Azure OpenAI
* Cohere
* Google AI Studio
* Groq
* Mistral
* OpenAI
* Perplexity
* Replicate

Cost metrics are only available for endpoints where the models return token data and the model name in their responses.

Note

The cost metric is an **estimation** based on the number of tokens sent and received in requests. While this metric can help you monitor and predict cost trends, refer to your provider’s dashboard for the most **accurate** cost details.

Caution

Providers may introduce new models or change their pricing. If you notice outdated cost data or are using a model not yet supported by our cost tracking, please [submit a request](https://forms.gle/8kRa73wRnvq7bxL48)

## Custom costs

AI Gateway allows users to set custom costs when operating under special pricing agreements or negotiated rates. Custom costs can be applied at the request level, and when applied, they will override the default or public model costs. For more information on configuration of custom costs, please visit the [Custom Costs](https://developers.cloudflare.com/ai-gateway/configuration/custom-costs/) configuration page.
