TokenPie Token派
A self-hosted gateway for all of a company's AI model traffic, with sign-in, budgets, rate limits, security checks and an audit trail.
- LLM gateway
- Go
- PostgreSQL
- Redis
- React
- security
- billing
Many companies adopted AI models from the bottom up. Engineers pay for Claude Code or Cursor with personal cards, teams put API keys into their own systems, and departments buy from different resellers. Nobody can tell who uses which model, what it costs, or what goes out in the prompts. Access doesn’t end when someone leaves.
TokenPie gives a company one controlled channel to the model vendors. Staff and applications get internal keys, while the real vendor keys stay encrypted on the platform. Tools like Claude Code, Cursor and Dify only need a new base URL. Each department can run it under its own name and domain.
The name: the model budget is a pie, and every team, project and key gets a slice. In Chinese, 派 sounds like “pie” and also means “to dispatch”, which is what a gateway does.
It’s built with Go, PostgreSQL, Redis and React, and runs on a single small server.
TokenPie Token派:企業大模型的統一受控通道
許多企業使用大模型,都是由下而上開始的:工程師用個人信用卡購買 Claude Code 或 Cursor,團隊把 API 金鑰寫進自己的系統,各部門向不同代理商採購。結果沒有人清楚誰在用哪個模型、花了多少錢、提示詞裡送出了什麼;員工離職後,權限也收不回來。
TokenPie 為企業提供一條通往模型廠商的受控通道。員工和應用程式使用平台簽發的內部金鑰,廠商的真實金鑰則加密保存在平台上。Claude Code、Cursor、Dify 等工具只需更換服務位址即可接入。各部門也可以用自己的名稱和網域獨立運作。
名稱的由來:模型預算是一整個派,每個團隊、專案和金鑰各分一塊。「派」與 pie 諧音,也有「派發」的意思,正是閘道的工作。
系統以 Go、PostgreSQL、Redis 和 React 開發,一台小型伺服器即可執行。
Comments