felqo.
← Developer guides

Billing & credits

Felqo charges for published posts only. A post costs post-units: the plan's monthly units are used first, then prepaid credits. These rules are the same in the workspace, the REST API and MCP.

Post-units

A video costs one post-unit per started 250 MB, at least 1: a 100 MB video is 1 unit, a 600 MB video is 3. A photo post (up to 35 photos) is always 1 unit. One credit pays one unit.

When a post is charged

  1. Creating a draft uses nothing. For a draft, POST /v1/posts and create_post only check that the plan units and credits would cover the post.
  2. When the owner confirms the post on its confirmation_url, Felqo reserves its units: plan units first, the rest from credits, from the purchase that expires first. A direct post (mode "direct") has no confirmation step: the same reservation is made when POST /v1/posts or create_post accepts it.
  3. Credits are debited only when TikTok reports the post as published.
  4. If the delivery fails, the post returns to drafts or you cancel it, the plan units and credits go back.

The POST /v1/posts response reports plan, post_units, units_remaining (plan units left this month after this post, null when there is no cap) and credits_after. Credits are valid 12 months from purchase. A reserved credit never expires while it waits for TikTok.

Plans

Free
30 post-units a month (UTC calendar month), counted per TikTok account, on your first TikTok account. Other accounts and extra units use credits. Videos up to 250 MB.
Credits
Packs: 100 = €5 · 500 = €20 · 1500 = €50. Any number of TikTok accounts while you have credits. Videos up to 4 GB while you hold credits.
Pro
€7.90 a month or €69 a year (save €25.80, 27%). 400 posts/month · TikTok limits apply (~15/day per account), counted per workspace, then credits. Up to 5 TikTok accounts, videos up to 4 GB.

Pricing · Credits and refunds

File size

POST /v1/uploads and get_upload_url check the declared bytes before an upload URL is issued: 250 MB per video on Free without credits, 4 GB on Pro or while you hold credits. The response adds plan, post_units and max_bytes. A larger file gets HTTP 413 and no URL; the size is checked again when the draft is created and at confirmation. A video over 4 GB or a photo over 20 MB is refused on every plan with 400 unsupported_media.

{
  "code": "file_too_large_for_plan",
  "message": "file too large for plan",
  "plan": "free",
  "max_bytes": 262144000,
  "upgradeUrl": "https://felqo.app/app/billing#topup"
}

Headers

An authenticated request for an active workspace receives the usage headers, including on a missing scope or rate limit. Repeated refusals can use a balance snapshot for up to two seconds. Rejected credentials and unavailable workspaces return no balance information.

X-Felqo-Credits-Remaining
Credits you can use now.
X-Felqo-Quota-Remaining
Plan post-units left this month. Omitted when the plan has no Felqo monthly cap.

On Free the plan units apply to the first account only: a draft for another account needs credits even when the quota header is above 0, and a video larger than one unit can need more than the header shows.

GET /v1/credits

Needs the posts:read scope. Returns the balance, the credits held by confirmed and direct posts, each valid purchase with its expiry, the plan units of the month and the top-up link. quota.counted_per is tiktok_account on Free and workspace on Pro; quota.included and quota.remaining are null only when the plan has no Felqo monthly cap.

{
  "balance": 100,
  "reserved": 1,
  "lots": [
    {
      "id": "lot_3f1c9a0d2b7e4c5a6f80",
      "remaining": 100,
      "expires_at": "2027-11-20T10:00:00.000Z"
    }
  ],
  "next_expiry_at": "2027-11-20T10:00:00.000Z",
  "plan": "free",
  "quota": {
    "included": 30,
    "used": 30,
    "remaining": 0,
    "period": "2026-11",
    "counted_per": "tiktok_account",
    "tiktok_daily_limit_per_account": 15
  },
  "topup_url": "https://felqo.app/app/billing#topup"
}

Not enough units or credits

When the plan units left and the credits do not cover the post, Felqo answers HTTP 402 quota_exceeded and creates nothing, for a draft and for a direct post. The code is credits_expired when the owner's last credits expired unused.

{
  "code": "quota_exceeded",
  "message": "quota exceeded",
  "plan": "free",
  "post_units": 2,
  "units_remaining": 0,
  "balance": 1,
  "topupUrl": "https://felqo.app/app/billing#topup"
}

Show the owner the top-up link. After the purchase or the upgrade, retry the same request with the same Idempotency-Key and body: Felqo keeps the key for 24 hours and the retry creates the draft or queues the direct post.

curl -sS -D headers.txt -o body.json -w "%{http_code}\n" \
  -X POST "https://felqo.app/v1/posts" \
  -H "Authorization: Bearer $FELQO_API_KEY" \
  -H "Idempotency-Key: $REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{"account_id":"ACCOUNT_ID","kind":"photo","media":[{"upload_id":"UPLOAD_ID"}]}'

# 402: open the top-up link, then run the same command again
jq -r .topupUrl body.json
grep -i '^x-felqo-' headers.txt
import { FelqoClient, QuotaExceededError } from "@felqo/sdk";
const api = new FelqoClient(origin, apiKey);
const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
const requestId = crypto.randomUUID(); // one key per draft

async function prepare(input) {
  try {
    return await api.createPost(input, requestId);
  } catch (error) {
    // code: quota_exceeded or credits_expired
    if (!(error instanceof QuotaExceededError)) throw error;
    const needed = (error.postUnits ?? 1) - (error.unitsRemaining ?? 0);
    await notifyOwner(error.topupUrl);
    while ((await api.getCredits()).balance < needed) await sleep(30_000);
    return api.createPost(input, requestId); // same key, same body
  }
}

In MCP, create_post returns a readable error with the same link and reports post_units, units_remaining, credits_after and credits_remaining; get_upload_url explains a 413 with the plan limit. get_credits returns the same data as GET /v1/credits.