nowfound

AI · January 12, 2026

`tc` like `wc` but for LLM tokens

Little tool that I made to understand how (un)reasonable my prompts are.

`tc` like `wc` but for LLM tokens launched on January 12, 2026 with 8 votes, #1,339 of 14,584 launches that month and more than 75% of that year's launches.

Visit github.com ↗Alternativestop 9% of January 2026

What it does

counts tokens! like wc, but for tokens! . Contribute to jamierpond/tokencount development by creating an account on GitHub.

git diff | tc # before pasting into chat tc * .py # check project size Install uv tool install git+https://github.com/jamierpond/tokencount Usage tc file.txt # single file tc * .py # multiple files cat file.txt | tc # stdin tc -e cl100k_base file.txt # different encoding tc --json file.txt # JSON output Output 475 counts.py 878 test_main.py 1,565 main.py 386 lines, 11.36 KB 2,918 tokens (o200k_base) Somewhere between The Cat in the Hat and The Waste Land 139% of The Cat in the Hat, 69% of The Waste Land 2918 Sorted by token count. Total on stdout for piping. Warns if over 1Mfrom github.com

Does a similar job

all alternatives →
  • AS
    A surprisingly effective way to predict token importance in LLM prompts2023 · heatmap.demos.watchful.io · ▲14

    We explored a novel method to gauge the significance of tokens in prompts given to large language models, without needing direct model access. Essentially, we just did an ablation study on the prompt using cosine similarity of the embeddings as the measure. We got surprisingly promising results when comparing this really simple approach to integrated gradients. Curious to hear thoughts from the community!

  • Tokensift, an open-sourced token-efficiency linter for LLM promptsAug 2026 · github.com · ▲6

    Token-efficiency linter for LLM prompts and payloads - ritenv/tokensift

  • LLM-Term – Simple Rust-based CLI assist tool2024 · github.com · ▲32

    Current AI-assisted CLI tools are often part of larger systems and work better on Linux. I built llm-term to address these. It's a Rust-based tool that compiles into a single binary file. You only need to download the binary, add it to your PATH, and configure your OpenAI key to get started. While llm-term offers an option for gpt-4o, it works great with gpt-4o-mini. So it's not costly. I appreciate any feedback or suggestions.

  • PromptL, a templating language designed for LLM prompting2024 · promptl.ai · ▲7

    Hey HN! We just launched PromptL: a templating language built to simplify writing complex prompts for LLMs like GPT-4 and Claude. Why PromptL? Creating dynamic prompts for LLMs can get tricky, even with standardized APIs that use lists of messages and settings. While these formats are consistent, building complex interactions with custom logic or branching paths can quickly become repetitive and hard to manage as prompts grow. PromptL steps in to make this simple. It allows you to define and manage LLM conversations in a readable, single-file format, with support for control flow and…

  • Code2prompt: Convert Codebase to Prompt2025 · github.com · ▲9

    A CLI tool to convert your codebase into a single LLM prompt

  • IB
    I Built a UI to finetune LLMs x100 faster2024 · finetuna-ui.com · ▲7

    After fine-tuning GPT for a personal project, I realized how tedious it is to write plain text in a massive JSON file. That's why I built this app for my own use, and I want to see if others could benefit from a tool like this as well ;)

More ai this month

the category →
  • Video model that turns script into viral social media videos

    AI · 19d ago · spira.ai

  • The browser where Claude Code and Codex work beside you

    AI · 19d ago · rill.love

  • Kolibri is Aleph Alpha

    AI · 20d ago · tej.as

  • Paintings by AI models: programs run through a simulation of oil paint.

    AI · 22d ago · stillwet.art

  • Beam.win▲378

    Run AI agents on one Mac and use its windows on another

    AI · 5d ago · beam.win

  • Route requests to the right LLM for cost, latency & quality

    AI · 23d ago · fastrouter.ai

Source: Show HN post ↗

Launched alongside, January 2026

the whole month →
  • IN

    Hey HN! I wanted to share something I built over the last few weeks: isometric.nyc is a massive isometric pixel art map of NYC, built with nano banana and coding agents. I didn't write a single line of code. Of course no-code doesn't mean no-engineering. This project took a lot more manual labor than I'd hoped! I wrote a deep dive on the workflow and some thoughts about the future of AI coding and creativity: http://cannoneyed.com/projects/isometric-nyc

    AI · Jan 2026 · cannoneyed.com

  • Cowork▲1,088

    Turn Claude into your digital coworker

    AI · Jan 2026 · claude.com

  • DataFast▲867

    Revenue-first analytics

    Growth · Jan 2026 · datafa.st

  • OpenClaw▲836

    The AI that actually does things

    AI · Jan 2026 · openclaw.ai

  • Automatic AI-powered code reviews the moment you open a PR

    Dev tools · Jan 2026 · kilo.ai

  • AI Content Maker, for Social Media Publishing

    AI · Jan 2026 · postsyncer.com