> ## Documentation Index
> Fetch the complete documentation index at: https://generaltranslation.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Pricing

> Pay-per-usage pricing for the X API

export const Button = ({href, children}) => {
  return <div className="not-prose group">
    <a href={href}>
      <button className="flex items-center space-x-2.5 py-1 px-4 bg-primary-dark dark:bg-white text-white dark:text-gray-950 rounded-full group-hover:opacity-[0.9] font-medium">
        <span>
          {children}
        </span>
        <svg width="3" height="24" viewBox="0 -9 3 24" class="h-6 rotate-0 overflow-visible"><path d="M0 0L3 3L0 6" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg>
      </button>
    </a>
  </div>;
};

The X API uses **pay-per-usage** pricing. No subscriptions, no monthly caps—pay only for what you use.

<Button href="https://console.x.com">View pricing & purchase credits</Button>

***

## How it works

<CardGroup cols={2}>
  <Card title="Credit-based" icon="coins">
    Purchase credits upfront in the Developer Console. Credits are deducted as you make API requests.
  </Card>

  <Card title="Per-endpoint pricing" icon="code">
    Different endpoints have different costs. View current rates in the Developer Console.
  </Card>

  <Card title="No commitments" icon="unlock">
    No contracts, subscriptions, or minimum spend. Start and stop anytime.
  </Card>

  <Card title="Real-time tracking" icon="gauge-high">
    Monitor usage and costs live in the Developer Console.
  </Card>
</CardGroup>

***

## Deduplication

All resources are deduplicated within a **24-hour UTC day window**. If you request and are charged for a resource (such as a Post), requesting the same resource again within that window will not incur an additional charge.

This means:

* Requesting the same Post multiple times in a day counts as one charge
* The deduplication window resets at midnight UTC
* This applies to all billable resources (Posts, users, etc.)

<Note>
  Deduplication is a **soft guarantee**. While it occurs in the vast majority of cases, there may be specific edge cases like service outages that result in resources not being deduplicated.
</Note>

***

## Credit balance

Your credit balance is displayed in the Developer Console. Credits are deducted in real-time as you make API requests.

<Warning>
  Monitor your credit balance regularly to avoid service interruptions. Add credits before your balance reaches zero to ensure uninterrupted API access.

  ***Note:** It is possible for an account credit balance to go slightly negative. In this case, API requests will be blocked until you add credits to cover the negative balance.*
</Warning>

### Auto-recharge

Enable auto-recharge to automatically top up your credit balance and avoid service interruptions. Configure this in the Developer Console:

| Setting               | Description                                                                   |
| :-------------------- | :---------------------------------------------------------------------------- |
| **Recharge amount**   | The amount to add when auto-recharge triggers (e.g., \$25)                    |
| **Trigger threshold** | Auto-recharge activates when your balance falls below this amount (e.g., \$5) |

<Note>
  Auto-recharge requires a saved payment method set as your default. You can cancel anytime in the Developer Console or by contacting support.
</Note>

***

### Spending limits

Set a maximum amount you can spend per billing cycle to control costs. When the limit is reached, API requests will be blocked until the next billing cycle.

| Option             | Description                                                          |
| :----------------- | :------------------------------------------------------------------- |
| **Spending limit** | Set a specific dollar amount as your maximum spend per billing cycle |

<Tip>
  Use spending limits to prevent unexpected charges, especially during development and testing.
</Tip>

***

## Monitoring usage

Track your API usage programmatically with the [Usage endpoint](/x-api/usage/introduction):

```bash theme={null}
curl "https://api.x.com/2/usage/tweets" \
  -H "Authorization: Bearer $BEARER_TOKEN"
```

This returns daily Post consumption counts, helping you:

* Track consumption against your budget
* Set up alerts when approaching limits
* Identify high-consumption endpoints
* Generate usage reports

***

## Enterprise pricing

For high-volume access with dedicated support, custom rate limits, and additional features, contact our enterprise sales team.

<Button href="/forms/enterprise-api-interest">Contact enterprise sales</Button>

***

## Next steps

<CardGroup cols={2}>
  <Card title="Developer Console" icon="grid-2" href="https://console.x.com">
    Purchase credits and view current pricing.
  </Card>

  <Card title="Usage API" icon="chart-line" href="/x-api/usage/introduction">
    Monitor usage programmatically.
  </Card>
</CardGroup>
