HivePaaS
Docker Swarm 기반 오픈소스 자체 호스팅 PaaS, SSL·백업·자동 확장 지원
94개 모델의 실시간 OpenRouter 요금으로 토큰을 계산하고 프롬프트 비용을 산출합니다
Count tokens and price your prompt across 94 models at live OpenRouter rates. Exact counts for GPT (o200k_base, cl100k_base), clearly marked estimates for Claude, Gemini, Llama and others. Free, no si
개발 도구TypeScript · HTMLGitHub @GouravLuinor온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기Token counter and LLM cost calculator for 94 models. Runs entirely in your browser. A Nor AI tool.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗🔗 Live: tokens.norai.tech · One of the free developer tools from Nor AI Technologies · Built by Gourav Kumar Singh
Tier-0 Developer-Grade BPE Tokenizer, Prompt Optimizer & Multi-Model Cost Engine
100% Client-Side Local Compute • Zero Cloud Telemetry • Obsidian Dark Studio Aesthetic
TokenCraft (t0_tokenizer) is a production-ready, ultra-low-latency developer workspace designed for AI engineers, prompt architects, and LLM researchers. It provides instant Byte-Pair Encoding (BPE) tokenization, granular subword inspection, context window safety guarding, and real-time multi-model cost analysis with prompt caching economics.
Engineered with an obsidian-dark, staff-level developer aesthetic inspired by Linear and Raycast, TokenCraft offloads all heavy tokenization tasks to dedicated Web Workers, ensuring a buttery-smooth 60+ FPS user experience even with massive prompts and RAG contexts.
o200k_base (GPT-4o, o1, o3-mini), cl100k_base (GPT-4, GPT-3.5-Turbo), p50k_base, and r50k_base.//, /* */, #, <!-- -->)⌘ K / Ctrl + K global command palette.gpt-tokenizerv18.18.0 or higher (Node v20+ or v22+ recommended)npm, pnpm, or yarnClone the repository:
git clone [email protected]:GouravLuinor/t0_tokenizer.git
cd t0_tokenizer
Install dependencies:
npm install
Start the local development server:
npm run dev
Open in browser: Navigate to http://localhost:3000 (or the port indicated in terminal).
# Build the optimized production bundle
npm run build
# Run the production server
npm run start
A production-grade multi-stage Dockerfile and docker-compose.yml with Caddy reverse proxy are included:
# Start TokenCraft with Docker Compose
docker compose up -d --build
# View container logs
docker compose logs -f
To run using the automated zero-downtime deployment script:
./deploy.sh
├── app/
│ ├── globals.css # Obsidian dark design tokens & custom utilities
│ ├── layout.tsx # Root layout with fonts, SEO & meta config
│ ├── page.tsx # Root landing / tool mount
│ ├── robots.ts / sitemap.ts # Dynamic SEO indexing metadata
│ └── tools/
│ └── tokencraft/
│ ├── page.tsx # Main TokenCraft workspace page
│ ├── _components/
│ │ ├── CommandPalette.tsx # Cmd+K Quick action palette
│ │ ├── ContextSafetyGauge.tsx# SVG arc gauge for model context utilization
│ │ ├── MultiModelCostMatrix.tsx # Live multi-model pricing & cache simulator
│ │ ├── PromptDiffDialog.tsx # Side-by-side prompt minifier diff view
│ │ ├── RawEditorPane.tsx # Code/prompt editor with line numbers & drag-drop
│ │ ├── TokenInspectorPane.tsx# Chips / IDs / Heatmap visualizer & search
│ │ └── TopToolbar.tsx # Model selector, presets, minifier, actions
│ ├── _hooks/
│ │ └── useTokenizer.ts # Web Worker communication & state bridge
│ ├── _lib/
│ │ ├── priceService.ts # Model pricing catalog & cost calculations
│ │ └── promptMinifier.ts # Minification heuristics & diff algorithms
│ ├── _store/
│ │ └── useTokenCraftStore.ts # Centralized Zustand workspace state
│ └── _workers/
│ └── tokenizer.worker.ts # Dedicated BPE tokenization Web Worker
├── components/
│ └── ui/ # Studio-grade primitive UI components
│ ├── animated-gradient-text.tsx
│ ├── border-beam.tsx
│ ├── button.tsx, card.tsx, dialog.tsx, etc.
│ └── spotlight-card.tsx
├── public/ # Static assets and favicons
├── Caddyfile # Caddy HTTP/3 & TLS configuration
├── Dockerfile # Multi-stage standalone Next.js container build
├── docker-compose.yml # Container composition orchestrator
├── tutorial.md # Comprehensive end-user tutorial & workflows
└── tailwind.config.ts # Extended theme, animations & surface colors
| Shortcut | Action |
|---|---|
| ⌘ K / Ctrl + K | Open Command Palette |
| Esc | Close Modals / Deselect Token |
| ⌘ Enter | Trigger Prompt Minification |