Skip to content
Tiktoken Go

Open source alternatives to Tiktoken Go

200 open source apps like Tiktoken Go, closest match first.

Top picks

  1. T

    Tiktokenizer

    Launch

    Tiktokenizer is an online playground that shows how a chat prompt is split into tokens by OpenAI-style tokenizers. You choose a model, such as gpt-4o, then edit the system and user messages and add more messages as needed. The page shows th

  2. G

    Go Openai

    Launch

    go-openai is an unofficial Go client library for the OpenAI API, and its tagline describes it as zero-dependency. It needs Go 1.18 or later. The README recommends the Responses API for new text generation, reasoning, tool calling and multi-

  3. C

    Chatgpt

    Launch

    chatgpt is a terminal console client for ChatGPT, written in Go. It uses OpenAI's Chat Completions API with streaming output and keeps conversation memory across questions in a session. You choose the model with --model or the OPENAI_MODEL

  4. T

    Tokentap

    Launch

    Intercept LLM API traffic and visualize token usage in a real-time terminal dashboard. Track costs, debug prompts, and monitor context window usage across your AI development sessions.

  5. G

    Gptcli

    Launch

    gptcli is a simple chat client for OpenAI models that runs as a single Python script in your terminal. It defaults to gpt-3.5-turbo, can be set to gpt-4 or gpt-4-32k, and works with any OpenAI-compatible API through a custom base URL, such

  6. T

    TurboLLM

    Launch

    Run open AI models on your own machine — no cloud, no account, fully offline. Any GGUF model on any llama.cpp-compatible engine, auto-tuned to your hardware, with real measured tokens/sec before you download, a fast browser UI, and an OpenA

    Self-hosted

More like Tiktoken Go

7
T

Token Tracker

Local-first AI token usage & cost tracker for 31 coding tools incl

Launch
8
C

ClaudeCodeStatusLine

Custom status line for Claude Code showing model, tokens, rate limits

Launch
9
S

Syrtis

AI token usage & quota monitor for the macOS menu bar

Launch
10
R

Ruby Openai

OpenAI API + Ruby! GPT-5 & Realtime WebRTC compatible!

Launch
11
T

Tgpt

AI Chatbots in terminal for free

Launch
12
T

Tokencost

Easy token price estimates for 400+ LLMs. TokenOps

Launch
13
G

GoModel

AI gateway written in Go with a unified OpenAI-compatible API

Launch
14
T

Token Monitor

Local-first desktop widget for tracking token usage, costs, limits

Launch
15
C

CliRelay

Self-hosted AI gateway for coding CLIs

Launch
16
T

TRAE-Ollama-Bridge

Encapsulate the local Ollama into an OpenAI-compatible API

Launch
17
O

Otari

Open-source, OpenAI-compatible LLM gateway you run yourself

Launch
18
C

Chipper

AI interface for tinkerers (Ollama, Haystack RAG, Python)

Launch
19
A

AI-Talks

AI Talks - ChatGPT Assistant via Streamlit

Launch
20
W

Webchat2api

OpenAI-compatible Web Chat API proxy

Launch
21
C

Codex Chatgpt Web

Use ChatGPT Web (including Pro) as a native model in Codex

Launch
22
T

Token Tracker

Claude Code & Codex 本地 token 追踪 — 状态栏(Codex 业界首创伪 statusline)、GitHub…

Launch
23
C

ChatMock

OpenAI & Ollama compatible API powered by Codex

Launch
24
G

Gortex

High-performance code-intelligence engine for AI agents and IDE

Launch
25
T

TokenEater

Native macOS app to monitor AI usage limits and watch your coding sessions live

Launch
26
A

Aikit

Fine-tune, build, and deploy open-source LLMs easily!

Launch
27
C

Chat

chat web app for teams, sass with user management and ratelimit, support…

Launch
28
U

Unofficial Codex App Offline

Unofficial offline / portable repackaging of the OpenAI Codex Windows app

Launch
29
G

Gemini Openai Proxy

A proxy for converting the OpenAI API protocol to the Google Gemini Pro protocol

Launch
30
T

TerminalGPT

Get GPT like chatGPT on your terminal

Launch
31
C

ccLoad

Self-hosted AI API gateway for Claude Code

Launch
32
T

Tenere

TUI for LLMs

Launch
33
W

Whisper-TikTok

From AI tools to TikTok video creation

Launch
34
C

Chatgpt Web

Pure Javascript ChatGPT demo based on OpenAI API

Launch
35
C

ChatGPT-API-Scanner

Scan GitHub for available OpenAI API Keys

Launch
36
C

Chat0

Blazingly-fast open source AI chat app

Launch
37
C

CodeBurn

Free, local tool to track AI coding token usage and cost across 37 tools

Launch
38
G

Gograph

Local-only Go static analysis engine with a built-in MCP server

Launch
39
B

BodhiApp

Run Open Source/Open Weight LLMs locally with OpenAI compatible APIs

Launch
40
T

TokenTelemetry

Token telemetry dashboard for AI autonomous and coding agents

Launch
41
G

Gemini-FastAPI

Web-based Gemini models wrapped into an OpenAI-compatible API

Launch
42
O

Opencode Tokenscope

Comprehensive token usage analysis and cost tracking for opencode sessions

Launch
43
1

10x

Up to 20x faster AI coding with multi-step Superpowers

Launch
44
C

Codex Threadripper

Keep Codex thread history aligned to one provider bucket

Launch
45
G

GoGogot

Lightweight self-hosted AI agent. Open-source OpenClaw alternative in Go

Launch
46
O

OpenAI OAuth

Free AI with your ChatGPT account

Launch
47
G

Guaardvark

Self-hosted AI studio on your own GPU: chat with your files

Launch
48
V

Vscode Unify Chat Provider

Integrate multiple LLM API providers into VS Code's GitHub Copilot Chat

Launch
49
A

AIClient2API

Self-hosted multi-protocol AI API proxy for Antigravity, Codex, Grok, Kiro

Launch
50
U

Uncensored-Local-AI-Multiplatform

A cross-platform Flutter app that runs uncensored, 100% offline open-source…

Launch

About Tiktoken Go

T

Tiktoken Go

go version of tiktoken

tiktoken-go is a Go port of OpenAI's tiktoken, a fast byte-pair encoding tokenizer for OpenAI models. Go programs can use it to encode text and count tokens, looking up an encoding by its name or by the model it belongs to. The README has examples for both lookups, plus an example that counts tokens in chat API messages in the style used for gpt-3.5-turbo and gpt-4. That example notes the calculation may change over time, so the official documentation should be checked for exact figures. Token dictionaries are downloaded the first time an encoding is initialized, and the TIKTOKEN_CACHE_DIR variable sets where they are cached. For environments without network access, or where a download each run is unwanted, an alternative BPE loader can be plugged in through SetBpeLoader. An offline loader is available as a separate project. It is a library, and the source is public on GitHub.

Price
Free
Made by
pkoukk
Category
AI
Website
github.com/pkoukk/tiktoken-go