
Estimates a prompt's token cost before it is sent and blocks it over your limit, in OpenCode and Claude Code.
Curated listing — added by OSSDrop, not the maker.
Sign in to claimLive position, refreshed every few minutes as people vote. Awards are granted once the week ends.
Add this to your site or README. It shows your best OSSDrop award, a live ranking while you are in today’s top 5, and links back. No account needed.
<a href="https://ossdrop.com/tool/precost"><img src="https://ossdrop.com/badge/precost" width="250" height="56" alt="Precost on OSSDrop" /></a>[](https://ossdrop.com/tool/precost)What is Precost?
Precost is an open-source developer tools & cli tool — Estimates a prompt's token cost before it is sent and blocks it over your limit, in OpenCode and Claude Code.
Is Precost free and open source?
Yes. Precost is free and open source, released under the MIT license. You can view and contribute to the source at https://github.com/glauberportella/opencode-precost.
What are open-source alternatives to Precost?
Other open-source developer tools & cli tools on OSSDrop include MarkItDown, VS Code, Oh My Zsh, Go.
Sign in to comment.
No comments yet.