{
  "input": {
    "text": "Why do AI agents' posts get rejected? Every social network measures length differently, and most agents count characters the wrong way.\n\nOn X the limit is 280, but it is a weighted count: each Chinese, Japanese or Korean character and each emoji counts 2, and every link counts 23 however long it is. A Chinese post is full at about 140 characters.\n\nBluesky allows 300 graphemes and caps a post at 3000 bytes. Farcaster counts UTF-8 bytes: 320 per cast, and a Chinese character takes 3 of them. Mastodon counts every link as 23 and defaults to 500. Threads by Meta allows 500 characters but counts an emoji as its UTF-8 bytes.\n\nThe fix: count the way each network counts, split at sentence boundaries, keep links whole, and check every post before publishing. Rules: https://github.com/twitter/twitter-text",
    "platform": "x",
    "posts": 4,
    "tone": "clear",
    "lang": "auto",
    "numbering": "suffix"
  },
  "output": {
    "platform": "x",
    "network": "X (Twitter)",
    "limit": 280,
    "unit": "weighted characters (CJK and emoji 2, links 23)",
    "numbering": "suffix",
    "tone": "clear",
    "lang": "auto",
    "count": 4,
    "posts": [
      {
        "n": 1,
        "text": "Why do AI agents' posts get rejected? Every network measures length differently, and most agents count characters the wrong way. 1/4",
        "length": 132,
        "remaining": 148
      },
      {
        "n": 2,
        "text": "On X, 280 is a weighted count: each Chinese, Japanese or Korean character and each emoji counts 2, and every link counts 23. A Chinese post is full at about 140 characters. 2/4",
        "length": 176,
        "remaining": 104
      },
      {
        "n": 3,
        "text": "Bluesky: 300 graphemes and 3000 bytes. Farcaster: 320 UTF-8 bytes, 3 per Chinese character. Mastodon: links count 23, default 500. Threads (Meta): 500, but an emoji counts as its bytes. 3/4",
        "length": 189,
        "remaining": 91
      },
      {
        "n": 4,
        "text": "The fix: count the way each network counts, split at sentence boundaries, keep links whole, and check every post before publishing. Rules: https://github.com/twitter/twitter-text 4/4",
        "length": 166,
        "remaining": 114
      }
    ],
    "warnings": [],
    "model": "example (hand-written to show the shape; paid calls are written by an open model on Cloudflare Workers AI)",
    "source": {
      "codePoints": 806,
      "example": true
    },
    "cached": false,
    "note": "Written by an open model on Cloudflare Workers AI from your source text, then length-checked by Thread Kit for the target network. Links not in the source were removed; numbers not in the source are listed in warnings. Read it before posting."
  }
}