Skip to content
Tiktoken Go

Self-hosted alternatives to Tiktoken Go

200 self-hosted apps like Tiktoken Go, closest match first.

Top picks

  1. 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

  2. G

    GoModel

    Launch

    AI gateway / AI control plane / AI proxy written in Go. Unified OpenAI-compatible and Anthropic-compatible API for OpenAI, Anthropic, Gemini, Groq, xAI, Ollama, vLLM and more. A LiteLLM alternative with observability, guardrails, streaming,

    Self-hosted

  3. T

    Token Monitor

    Launch

    Local-first desktop widget for tracking token usage, costs, limits, and session activity across 46+ AI coding tools—including Claude Code, Codex, Cursor, OpenCode, OpenClaw, and more—with multi-device sync.

    Self-hosted

  4. C

    CliRelay

    Launch

    Self-hosted AI gateway for coding CLIs — one OpenAI/Claude/Gemini/Codex-compatible endpoint, with a multi-tenant web console, request logs, and spend quotas.

    Self-hosted

  5. O

    Otari

    Launch

    Otari is an open-source LLM gateway built on any-llm. Otari.ai adds hosted routing, observability, budgets, and team management. Built by Mozilla.ai.

    Self-hosted

  6. W

    Webchat2api

    Launch

    OpenAI-compatible Web Chat API proxy with GPT, Grok, Gemini account management and Docker self-hosting

    Self-hosted

More like Tiktoken Go

7
C

ccLoad

Self-hosted AI API gateway for Claude Code

Launch
8
1

10x

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

Launch
9
G

GoGogot

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

Launch
10
G

Guaardvark

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

Launch
11
A

AIClient2API

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

Launch
12
L

Llmaker

Selfhost modern LLM stacks. Run the whole fleet from your terminal

Launch
13
O

OpenGateLLM

An open-source, unified interface for running and managing self-hosted LLMs

Launch
14
Y

YoloRouter

A self-hosted, OpenAI-compatible LLM gateway

Launch
15
F

Faster Chat

A blazingly fast, privacy first & OPEN AI Chat Interface

Launch
16
M

Matrixhub

An Open-source, self-hosted AI model hub

Launch
17
O

ObsidianArc

A self-hosted AI platform with a Go server, multi-provider routing, usage…

Launch
18
B

BricksLLM

🔒 Enterprise-grade API gateway that helps you monitor and impose cost or…

Launch
19
O

OmniKey-AI-Unified-Key-Manager

A self-hosted LLM proxy and failover gateway supporting OpenAI & Gemini…

Launch
20
Q

Qwengate

Drop-in OpenAI-compatible API gateway for Qwen AI models

Launch
21
G

Gemini Web2api Go

Gemini web → OpenAI-compatible API, self-hosted, no API key

Launch
22
K

Keirouter

Your friendly, blazing-fast, self-hostable AI gateway

Launch
23
Y

Yepanywhere

Self-hosted web UI for Claude and Codex

Launch
24
R

Routerly.ai

Self-hosted LLM gateway that routes requests across AI providers

Launch
25
T

Tidal_Echo

Self-hosted private chat channel between you and your AI companion

Launch
26
N

NadirClaw

Source-available LLM router and AI cost optimizer

Launch
27
F

Free-GPT4-WEB-API

Not just GPT4! Easy to use, Self-Hosted

Launch
28
S

Spanlens

Drop-in observability platform for OpenAI, Anthropic, and Gemini

Launch
29
S

Sipp

AI inference, packed simply

Launch
30
O

OpenOpenAI

Self-hosted version of OpenAI’s new stateful Assistants API

Launch
31
V

VoidLLM

Privacy-first LLM proxy and AI gateway

Launch
32
M

Moyai

A self-hosted coding agent for background work

Launch
33
D

Dia-TTS-Server

Self-host the powerful Dia TTS model

Launch
34
O

Octo Server

The Go backend powering OCTO — an open workplace built for humans × AI agents

Launch
35
T

Textgen

Open-source desktop app for local LLMs

Launch
36
A

Agentrove

Self-hosted AI coding workspace to run and orchestrate Claude Code, Codex

Launch
37
C

Cezar

Open-source orchestrator and ADE for running Claude Code, Codex, OpenCode

Launch
38
G

GPTPortal

A feature-rich portal to chat with GPT-4, Claude, Gemini, Mistral, & OpenAI…

Launch
39
O

OpenAgentCore

Open-source, self-hosted implementation of the OpenAI Agents API

Launch
40
P

Petercat

A conversational Q&A agent configuration system

Launch
41
S

SourceWeft

Open-source, self-hostable alternative to ChatGPT and NotebookLM

Launch
42
I

Inference Gateway

An open-source, cloud-native, high-performance gateway unifying multiple LLM…

Launch
43
S

Self-Hosted AI Stack

Deploy a self-hosted AI stack with Docker Compose: local LLMs, chat, document…

Launch
44
O

overtchat

A simpler self-hosted alternative to Open WebUI

Launch
45
C

Coddy Agent

General-purpose agent in one static Go binary: console TUI

Launch
46
C

CatGPT-Gateway

Turn your ChatGPT or Claude account into a fully working OpenAI-compatible API

Launch
47
F

FreeLingo

Open-source, self-hosted AI language learning platform

Launch
48
A

Argentos Core

Your own AI operating system

Launch
49
L

LangGraph-GUI

Visual node-edge graph GUI editor for LangGraph and run

Launch
50
M

MultitaskAI

Master Your AI, Maximize Your Productivity!

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