# X API Pricing in 2026: Pay-Per-Use Rates, What a Post Really Costs, and How to Budget

> X API pricing in 2026 is pay-per-use: $0.015 per post, $0.20 if it has a link. Full rate table, worked monthly budgets, rate limits and the gotchas.

Canonical: https://tesselith.com/blog/x-api-pricing
Last updated: 2026-11-27

**The X API is pay-per-use in 2026.** There are no monthly tiers for new developers: you buy credits in the Developer Console and each request draws them down. Creating a post costs **$0.015**. Creating a post that contains a URL costs **$0.20**, more than 13 times as much. Reading a post costs $0.005, looking up a user costs $0.010, and pay-per-use accounts are capped at 3 million post reads per monthly billing cycle. Above that you need an Enterprise contract. All prices here are from X's official pricing page as of November 2026.

**Key takeaways**
- Posting is $0.015 per post, $0.20 per post with a link, and $0.010 for a summoned reply.
- The link surcharge dominates every realistic budget. A link-heavy publisher pays 13x more than a text-only one.
- Reads are billed per resource returned, deduplicated within a 24-hour UTC window.
- Set a spending cap in the Developer Console. When you hit it, requests are blocked until the next cycle, including your scheduled posts.
- Rate limits still apply on top of billing: 100 posts per 15 minutes per user, 10,000 per 24 hours per app.

## How X API pricing changed

For two years the X API sold fixed tiers: a free tier with tiny write limits, Basic at $200 a month, Pro at $5,000 a month, and Enterprise above that. TechCrunch reported in October 2025 that X was testing a pay-per-use model with a closed beta. It became the default in February 2026, and an Open Terms Archive memo from April 2026 records pay-per-use replacing the $200 entry plan. If you have an old Basic or Pro contract, check your Developer Console for its status. If you're starting fresh, pay-per-use is what you get.

The upside is real. A side project that posts a few times a day no longer pays $200 a month for capacity it never uses. The downside shows up the moment you post links at volume, which is exactly what most publishers, newsletters and SaaS marketing teams do.

## The full X API price table (November 2026)

Write operations are charged per request. Read operations are charged per resource returned, so a timeline call that returns 100 posts costs 100 post reads, not one request.

| Operation | Price | Billed per |
| --- | --- | --- |
| Post: Create | $0.015 | Request |
| Post: Create (with URL) | $0.200 | Request |
| Post: Create (summoned) | $0.010 | Request |
| DM Interaction: Create | $0.015 | Request |
| User Interaction: Create | $0.015 | Request |
| Interaction: Delete | $0.010 | Request |
| Content: Manage | $0.005 | Request |
| Media Metadata | $0.005 | Request |
| Bookmark | $0.005 | Request |
| Posts (read) | $0.005 | Post returned |
| User (read) | $0.010 | User returned |
| Following / Followers (read) | $0.010 | Resource returned |
| Like, Mute, Block (read) | $0.001 | Resource returned |
| Owned Reads (your own data) | $0.001 | Resource returned |

Two things the official page doesn't spell out. It doesn't define what makes a post *summoned*, and it doesn't define exactly what counts as *with URL*. Plan as if any post containing a link is billed at $0.20, and confirm against your own usage report in the console after the first few days.

## What posting actually costs: three worked budgets

Here's the arithmetic for three common setups, using a 30-day month and the November 2026 prices. The difference between the text column and the link column is the whole story.

| Setup | Posts / month | All text-only | All with a link |
| --- | --- | --- | --- |
| Founder, 3 posts a day | 90 | $1.35 | $18.00 |
| Publisher, 30 posts a day | 900 | $13.50 | $180.00 |
| Agency, 20 accounts x 3 posts a day | 1,800 | $27.00 | $360.00 |

Threads multiply this. A five-post thread is five Post: Create requests, so $0.075 if none of them has a link. Put the article link in the last reply and that one post costs $0.20, taking the thread to $0.26. Moving the link into a reply doesn't dodge the surcharge. It just changes which request pays it.

Analytics adds a smaller line. Pulling public metrics for 900 of your own posts once a day is 900 resources a day. At the post-read rate that's $4.50 a day, or about $135 a month. If X bills those as Owned Reads at $0.001, it's closer to $27. Fetch metrics once at 24 hours and once at 7 days instead of daily, and the cost drops to a rounding error either way.

## Free credits and spending caps

There's no permanent free tier. X's pricing page lists $20 of API credit after you save a card and make your first credit purchase, and it matches your first successful auto-recharge up to $50. It also lists xAI API credits that scale with your cumulative spend per billing cycle.

Set a maximum spend per billing cycle in the Developer Console on day one. When the cap is hit, X blocks requests until the next cycle. That's the right behavior for a runaway script, and the wrong behavior for a scheduler with 40 posts queued for tomorrow morning. If you run scheduled publishing on pay-per-use, alert at 80% of the cap so a human can raise it before posts start failing.

## Deduplication: when you're not charged twice

Read charges are deduplicated within a 24-hour UTC window that resets at midnight UTC. Request the same post twice in that window and you pay once. X calls this a soft guarantee that outages can break, so don't build a cost model that depends on it, but do arrange your polling so repeat reads land inside the same UTC day.

## Rate limits still apply

Billing doesn't replace rate limits. These are X's published limits for the endpoints a scheduler touches, as of November 2026:

| Endpoint | Per user | Per app |
| --- | --- | --- |
| POST /2/tweets | 100 / 15 min | 10,000 / 24 h |
| POST /2/media/upload | 500 / 15 min | 50,000 / 24 h |
| POST /2/media/upload/initialize | 1,875 / 15 min | 180,000 / 24 h |
| POST /2/media/upload/:id/append | 1,875 / 15 min | 180,000 / 24 h |
| POST /2/media/upload/:id/finalize | 1,875 / 15 min | 180,000 / 24 h |
| GET /2/media/upload (status) | 1,000 / 15 min | 100,000 / 24 h |

The app-wide 10,000 posts a day is the ceiling that bites multi-tenant products. Every connected account shares it. Read `x-rate-limit-remaining` and `x-rate-limit-reset` on every response and back off before you hit zero, not after.

## Posting with the X API: the requests

Posting on behalf of a user needs an OAuth 2.0 user-context token from the Authorization Code flow with PKCE. Request `tweet.read tweet.write users.read offline.access`, plus `media.write` if you'll attach images or video. Without `offline.access` you get no refresh token, and the access token expires in about two hours, which kills any post scheduled for later in the day.

```bash
curl -X POST "https://api.x.com/2/tweets" \
  -H "Authorization: Bearer $USER_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"text": "Shipping notes for v2.4 are up."}'

# Response: {"data": {"id": "1880000000000000000", "text": "..."}}
```

A reply, which is how you build a thread, adds `reply.in_reply_to_tweet_id`. Chain each reply to the previous post's id, not the first one, or you get a fan of replies instead of a thread.

```ts
async function postThread(token: string, parts: string[]) {
  let previousId: string | undefined
  for (const text of parts) {
    const res = await fetch("https://api.x.com/2/tweets", {
      method: "POST",
      headers: {
        Authorization: "Bearer " + token,
        "Content-Type": "application/json",
      },
      body: JSON.stringify({
        text,
        ...(previousId ? { reply: { in_reply_to_tweet_id: previousId } } : {}),
      }),
    })
    if (!res.ok) throw new Error("X returned " + res.status + ": " + (await res.text()))
    previousId = (await res.json()).data.id
  }
}
```

## Media upload moved to v2

If your code still calls `upload.twitter.com/1.1/media/upload.json` with `command=INIT`, it's on borrowed time. X launched v2 media endpoints in January 2025 and deprecated the v1.1 upload for self-serve developers later that year. The v2 flow has the same shape with different paths: initialize, append chunks, finalize, then poll status for video.

```bash
# 1. Initialize (JSON body)
curl -X POST "https://api.x.com/2/media/upload/initialize" \
  -H "Authorization: Bearer $USER_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"media_type": "video/mp4", "total_bytes": 10485760, "media_category": "tweet_video"}'

# 2. Append each chunk (multipart, segment_index from 0, keep chunks <= 5 MB)
curl -X POST "https://api.x.com/2/media/upload/$MEDIA_ID/append" \
  -H "Authorization: Bearer $USER_ACCESS_TOKEN" \
  -F "segment_index=0" -F "media=@chunk0.mp4"

# 3. Finalize
curl -X POST "https://api.x.com/2/media/upload/$MEDIA_ID/finalize" \
  -H "Authorization: Bearer $USER_ACCESS_TOKEN"

# 4. If finalize returned processing_info, poll until state is succeeded
curl "https://api.x.com/2/media/upload?command=STATUS&media_id=$MEDIA_ID" \
  -H "Authorization: Bearer $USER_ACCESS_TOKEN"
```

Wait `check_after_secs` between status checks, as the response tells you. States go `pending`, `in_progress`, then `succeeded` or `failed`. A `failed` state is final, so don't retry the same media id. Images up to 5 MB can go through the single-request `POST /2/media/upload` instead. Then pass the ids in `media.media_ids` when you create the post, up to four images per post.

## Errors and retries that won't double your bill

On pay-per-use, a sloppy retry policy costs money twice: once for the wasted request and once for the duplicate post your followers see. The rules we use in our own adapter:

- Retry **429** and **5xx** only, with backoff. Honour the rate-limit reset header on 429.
- Never retry a **400** or **403** on a create. The content or the permission is wrong, and it will fail the same way at the same price.
- Treat **401** as a dead token: refresh once, and if that fails, mark the account for reconnection instead of looping.
- If a create request times out with no response, check the account's recent posts before retrying. X has no idempotency key on POST /2/tweets, so a blind retry can publish twice.
- Refresh tokens rotate. Save the new refresh token from every refresh response, or the next refresh fails and the user has to reconnect.

## Is the X API worth it for a small business?

For text posts, yes, easily. $1.35 a month for three posts a day is cheaper than any scheduler. For link posts it depends on volume. At 90 link posts a month you're at $18, still fine. At 900 you're at $180 a month in API fees alone, before engineering time, token handling and monitoring. That's when the math starts to favor a tool that already pays for and maintains the integration.

Remember too that pricing has moved three times in three years. Wrap your X calls in one module, record per-request cost in your own logs, and you'll be able to react the next time the table changes.

## When to use a scheduling API instead of building it yourself

Building directly on the X API makes sense if X is your only network and you need something specific, like DMs or custom analytics. If you need X alongside Instagram, Threads, Bluesky and the rest, the per-network work (OAuth, token rotation, media pipelines, retries) is the expensive part, not the $0.015.

Tesselith's [REST API](https://tesselith.com/product/api) gives you one post model across networks, with idempotency keys, a [posting queue](https://tesselith.com/blog/social-media-posting-queue) and signed webhooks. X support in Tesselith is coming soon; Instagram, Facebook Pages, Threads, YouTube, Bluesky, Mastodon and Telegram are live today. Read our [checklist for choosing a scheduling API](https://tesselith.com/blog/social-media-scheduling-api), the step-by-step [guide to automating posts through an API](https://tesselith.com/blog/automate-social-media-posting-api), or go straight to the [API docs](https://tesselith.com/docs).

## Questions people ask

### How much does the X API cost per post in 2026?

Creating a post costs $0.015 under X's pay-per-use pricing. A post that contains a URL costs $0.20, and a summoned reply costs $0.010.

### Is there still a free X API tier?

No permanent free tier is listed. X offers $20 in credits after you save a card and make a first purchase, and matches your first auto-recharge up to $50.

### Does the X API still have Basic and Pro plans?

New developers get pay-per-use pricing with no subscription. The $200 Basic plan was replaced by pay-per-use in 2026; existing contract holders should check the Developer Console for their plan's status.

### What is the X API rate limit for posting?

POST /2/tweets allows 100 requests per 15 minutes per user and 10,000 per 24 hours per app. Billing doesn't lift these limits.

### Why is a post with a link so much more expensive?

X prices Post: Create (with URL) at $0.20 versus $0.015 for a plain post. X doesn't publish its reasoning, so budget for the higher rate on any post that includes a link.

---
Tesselith · https://tesselith.com · Full site index: https://tesselith.com/llms.txt
