estimate, don't guess

Social media API cost calculator

Work out what a month of posting costs through each platform's own API, where X bills pay-per-use credits, and compare it with a unified API that bills per profile. Every rate is an input you can change, and the link keeps your numbers.

Your numbers

Customers, brands, or locations, each with its own connected accounts.

Each post goes to every platform you pick below.

Platforms
X rates per post

Defaults are X's prices as read on 22 November 2026 (X pricing). Check the Developer Console for today's.

Running it yourself, per month

The estimate assumes no API fees on platforms other than X. Check each platform's terms; most gate access through app review and quotas instead.

Per-profile unified API

Unified APIs such as Ayrshare bill per social profile (Ayrshare pricing, read 2 November 2026). Enter the rate for your plan; this page quotes none.

A month at these numbers

3,000 platform posts, 750 of them on X.

  • Direct APIs with Social SDK$80.63
    • Social SDK (MIT license)$0.00
    • X API credits$80.63
    • Other platform fees$0.00
    • Your hosting and webhooks$0.00

    You register each platform's app, pass its review, and run OAuth callbacks and webhooks yourself.

  • Per-profile unified APIAdd a rate

      Enter the per-profile price from the provider's own pricing page to compare.

    Per profile: $3.23 a month direct.

    Already pay for a managed backend?

    Keep it. Social SDK has adapters for these managed backends, so the same social.posts.publish call goes through your provider account instead of each platform's API, and you can switch routes later without rewriting app code. You pay the provider directly under its own plan.

    • ZernioPublish now or scheduled, with comments, messages, and HMAC-signed webhooks.
    • Post for MePublish now or scheduled to nine networks, with post reads and status.
    • PostFastScheduled publishing with media upload and post analytics on every platform.
    • PostizOpen source (AGPL-3.0): use Postiz Cloud, or host it yourself with your own apps.
    • BufferAdds posts to each Buffer channel's queue; the API is on every Buffer plan.

    The code for these platforms

    One client with a direct adapter per platform you picked. posts.prepare lists every limit a target breaks before anything is sent, and each target gets its own outcome. Try it first with the mock backend, which needs no credentials.

    post.ts
    import { createSocial, connectedAccountRef } from "@opencoredev/social-sdk";
    import { x } from "@opencoredev/social-sdk/x";
    import { bluesky } from "@opencoredev/social-sdk/bluesky";
    import { threads } from "@opencoredev/social-sdk/threads";
    import { linkedin } from "@opencoredev/social-sdk/linkedin";
    
    const env = (name: string): string => {
      const value = process.env[name];
      if (!value) throw new Error(`Missing ${name}`);
      return value;
    };
    
    const linkedinAuthor: `urn:li:person:${string}` = `urn:li:person:${env("LINKEDIN_PERSON_ID")}`;
    
    const social = createSocial({
      backends: {
        x: x({ auth: { userId: env("X_USER_ID"), accessToken: env("X_ACCESS_TOKEN") } }),
        bluesky: bluesky({
          backend: "bluesky",
          auth: { service: "https://bsky.social", did: env("BLUESKY_DID"), accessJwt: env("BLUESKY_ACCESS_JWT") },
        }),
        threads: threads({
          backend: "threads",
          auth: { userId: env("THREADS_USER_ID"), accessToken: env("THREADS_ACCESS_TOKEN") },
        }),
        linkedin: linkedin({
          auth: { accessToken: env("LINKEDIN_ACCESS_TOKEN"), author: linkedinAuthor },
          apiVersion: "202609",
        }),
      },
    });
    
    const request = {
      content: { text: "Shipped v2 today. Notes: https://example.com/changelog" },
      targets: [
        { account: connectedAccountRef({ backend: "x", platform: "x", accountId: env("X_USER_ID") }) },
        { account: connectedAccountRef({ backend: "bluesky", platform: "bluesky", accountId: env("BLUESKY_DID") }) },
        { account: connectedAccountRef({ backend: "threads", platform: "threads", accountId: env("THREADS_USER_ID") }) },
        { account: connectedAccountRef({ backend: "linkedin", platform: "linkedin", accountId: linkedinAuthor }) },
      ],
    } as const;
    
    // Lists every limit a target breaks, before anything is sent.
    const plan = social.posts.prepare(request);
    if (!plan.ok) throw new Error(plan.issues.map((issue) => issue.message).join("\n"));
    
    const result = await social.posts.publish(request);
    for (const outcome of result.outcomes) {
      // "processing" and "unknown" are not published yet: check again before retrying.
      console.log(outcome.account.platform, outcome.state);
    }

    How the estimate works

    • Direct APIs. Social SDK is MIT-licensed and free. X bills each post from prepaid credits: profiles × posts × (plain rate, or the URL rate for the share of posts with a link). Hosting and other fees are whatever you enter.
    • Per-profile unified API. Profiles × your per-profile rate, plus any platform fee, plus X credits when the provider posts through your own X app.
    • Left out. Reads, replies, media metadata, and analytics calls. X bills those too (a post read was $0.005 when the X API pricing guide checked), and per-profile plans have their own post quotas.
    • Not priced. Your time to register platform apps, pass Meta App Review, LinkedIn's Community Management review, and TikTok's audit, and to keep OAuth tokens fresh. That work is the real cost of the direct route.

    Sources

    • X API pricing, read 22 November 2026: $0.015 per post, $0.20 per post with a URL. Prices change; X's Developer Console has the current ones.
    • Ayrshare pricing and Ayrshare's X setup, read 2 November 2026: billing per social profile, and your own X app since 31 March 2026.
    • Managed backends: what each supported provider's adapter covers.

    More detail: X API pricing, Ayrshare alternatives, and social media APIs compared. To check a post against every platform's limits, use the post limits checker.

    Rather not run it yourself? Social SDK Cloud, the hosted version, is taking early-access signups. Join the list.