{"adoption": {"forks": 185, "observed_at": "2026-08-28T04:05:20.945871+00:00", "stars": 1678}, "canonical_url": "https://ross.abutalabs.com/products/tiktokenizer", "card": {"archived": false, "artifact_type": "application", "description": "Online playground for OpenAPI tokenizers", "domain": ["large-language-models", "developer-tools"], "enriched": true, "function": ["nlp", "developer-tools"], "health_score": 31, "homepage": "https://tiktokenizer.vercel.app", "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["dqbd/tiktokenizer"], "name": "dqbd/tiktokenizer", "platform": [], "pushed_at": "2025-04-24T08:55:21+00:00", "repo": "dqbd/tiktokenizer", "stars": 1678, "tags": ["tiktoken", "tokenizer", "openai", "token-counting", "playground", "nextjs", "natural-language-processing", "web-server", "nodejs"], "topics": ["chatgpt", "nextjs", "openai", "t3-stack", "tiktoken", "tokenizer"], "urls": [], "use_cases": ["count tokens in a prompt before sending to the OpenAI API", "see how text is split into tokens by gpt-4o or other models", "estimate API costs by measuring token usage of a message", "compare tokenization across different OpenAI model encodings", "inspect token boundaries with whitespace visualization", "test system prompts and chat messages for token limits"], "what_it_is": "Tiktokenizer is a web-based playground for OpenAI's tiktoken tokenizers that calculates the exact number of tokens in a given prompt. It is a Next.js application built on the T3 stack, available as a hosted site and self-hostable source.", "when_to_avoid": ["you need tokenizers for non-OpenAI models like Llama or Claude", "you need programmatic token counting in your own code (use tiktoken directly)", "you need offline tokenization without a web app"], "when_to_choose": ["you need a quick, visual way to count tokens for OpenAI models", "you want to check whether a prompt fits a model's context window", "you prefer a browser tool over writing tiktoken code yourself"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/tiktokenizer", "repo": "dqbd/tiktokenizer", "role": "main", "score": 39}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:20.945871+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:41:33.272755+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8f298c4e8a10bb5c30f7e8d0a65e27175dd7849ca9d6bdc94eb6d2b70c3af3d0", "fetched_at": "2026-08-28T04:05:20.945871+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dqbd/tiktokenizer"}, {"content_hash": "8901a48e54c8aae6bff8b4f799ea2ab1c063675687ad05a2227ba90448938e5d", "fetched_at": "2026-08-29T11:15:09.039068+00:00", "kind": "homepage", "missing": false, "url": "https://tiktokenizer.vercel.app"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:20.945871+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:41:33.272755+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8f298c4e8a10bb5c30f7e8d0a65e27175dd7849ca9d6bdc94eb6d2b70c3af3d0", "fetched_at": "2026-08-28T04:05:20.945871+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dqbd/tiktokenizer"}, {"content_hash": "8901a48e54c8aae6bff8b4f799ea2ab1c063675687ad05a2227ba90448938e5d", "fetched_at": "2026-08-29T11:15:09.039068+00:00", "kind": "homepage", "missing": false, "url": "https://tiktokenizer.vercel.app"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:41:33.272755+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8f298c4e8a10bb5c30f7e8d0a65e27175dd7849ca9d6bdc94eb6d2b70c3af3d0", "fetched_at": "2026-08-28T04:05:20.945871+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dqbd/tiktokenizer"}, {"content_hash": "8901a48e54c8aae6bff8b4f799ea2ab1c063675687ad05a2227ba90448938e5d", "fetched_at": "2026-08-29T11:15:09.039068+00:00", "kind": "homepage", "missing": false, "url": "https://tiktokenizer.vercel.app"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:20.945871+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:20.945871+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:20.945871+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:41:33.272755+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8f298c4e8a10bb5c30f7e8d0a65e27175dd7849ca9d6bdc94eb6d2b70c3af3d0", "fetched_at": "2026-08-28T04:05:20.945871+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dqbd/tiktokenizer"}, {"content_hash": "8901a48e54c8aae6bff8b4f799ea2ab1c063675687ad05a2227ba90448938e5d", "fetched_at": "2026-08-29T11:15:09.039068+00:00", "kind": "homepage", "missing": false, "url": "https://tiktokenizer.vercel.app"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:20.945871+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:20.945871+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:41:33.272755+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8f298c4e8a10bb5c30f7e8d0a65e27175dd7849ca9d6bdc94eb6d2b70c3af3d0", "fetched_at": "2026-08-28T04:05:20.945871+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dqbd/tiktokenizer"}, {"content_hash": "8901a48e54c8aae6bff8b4f799ea2ab1c063675687ad05a2227ba90448938e5d", "fetched_at": "2026-08-29T11:15:09.039068+00:00", "kind": "homepage", "missing": false, "url": "https://tiktokenizer.vercel.app"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:20.945871+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:20.945871+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:20.945871+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:41:33.272755+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8f298c4e8a10bb5c30f7e8d0a65e27175dd7849ca9d6bdc94eb6d2b70c3af3d0", "fetched_at": "2026-08-28T04:05:20.945871+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dqbd/tiktokenizer"}, {"content_hash": "8901a48e54c8aae6bff8b4f799ea2ab1c063675687ad05a2227ba90448938e5d", "fetched_at": "2026-08-29T11:15:09.039068+00:00", "kind": "homepage", "missing": false, "url": "https://tiktokenizer.vercel.app"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:20.945871+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:20.945871+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:41:33.272755+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8f298c4e8a10bb5c30f7e8d0a65e27175dd7849ca9d6bdc94eb6d2b70c3af3d0", "fetched_at": "2026-08-28T04:05:20.945871+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dqbd/tiktokenizer"}, {"content_hash": "8901a48e54c8aae6bff8b4f799ea2ab1c063675687ad05a2227ba90448938e5d", "fetched_at": "2026-08-29T11:15:09.039068+00:00", "kind": "homepage", "missing": false, "url": "https://tiktokenizer.vercel.app"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:41:33.272755+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8f298c4e8a10bb5c30f7e8d0a65e27175dd7849ca9d6bdc94eb6d2b70c3af3d0", "fetched_at": "2026-08-28T04:05:20.945871+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dqbd/tiktokenizer"}, {"content_hash": "8901a48e54c8aae6bff8b4f799ea2ab1c063675687ad05a2227ba90448938e5d", "fetched_at": "2026-08-29T11:15:09.039068+00:00", "kind": "homepage", "missing": false, "url": "https://tiktokenizer.vercel.app"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:41:33.272755+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8f298c4e8a10bb5c30f7e8d0a65e27175dd7849ca9d6bdc94eb6d2b70c3af3d0", "fetched_at": "2026-08-28T04:05:20.945871+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dqbd/tiktokenizer"}, {"content_hash": "8901a48e54c8aae6bff8b4f799ea2ab1c063675687ad05a2227ba90448938e5d", "fetched_at": "2026-08-29T11:15:09.039068+00:00", "kind": "homepage", "missing": false, "url": "https://tiktokenizer.vercel.app"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:41:33.272755+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8f298c4e8a10bb5c30f7e8d0a65e27175dd7849ca9d6bdc94eb6d2b70c3af3d0", "fetched_at": "2026-08-28T04:05:20.945871+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dqbd/tiktokenizer"}, {"content_hash": "8901a48e54c8aae6bff8b4f799ea2ab1c063675687ad05a2227ba90448938e5d", "fetched_at": "2026-08-29T11:15:09.039068+00:00", "kind": "homepage", "missing": false, "url": "https://tiktokenizer.vercel.app"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 18, "longevity": 91, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1280, "days_push": 496, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 39, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}