LLM Token Solution for Local AI Agents.
Open-source, local-first, and lightweight.
Docs | Python SDK | Node.js SDK | Go SDK | Browser SDK | Launch App | Development
Local AI agents face a token management dilemma: developers must either run proxy servers and charge users for API costs, or force users to configure LLM tokens themselves, reducing usability.
UniToken provides a local solution. Through a lightweight SDK, AI agents can launch UniToken's interface for users to authorize existing tokens or purchase new ones from LLM providers - all on a single page. The agent then receives the Base URL and API Key.
UniToken consists of three open-source, local-first modules:
- SDK: Lightweight SDKs for Node.js and Python.
- App: A static web interface.
- Service: Local service handling storage and connections.
- UniToken is completely free - it simply guides users to LLM providers (SiliconFlow, OpenRouter, etc.), and shares the API Key with AI agents.
- Traditional AI software bundles token costs into subscriptions, creating problems: developers lose money as usage grows, and light users avoid high fees. UniToken solves this by letting users buy their own tokens and share them across local AI agents.
- We plan to establish partnerships with LLM providers, creating mutual benefits for providers, AI developers, and users.
For AI Agent developers, you may choose from the following lightweight SDKs to integrate UniToken into your AI agents:
For users, you can visit the UniToken App to manage your LLM tokens.
sdk/*
is licensed under the MIT License, which allows for free use, modification, and distribution for both commercial and non-commercial purposes.ui/
andservice/
are licensed under the Non-Commercial Use License (NCUL), which allows free use for non-commercial purposes, including modification and distribution, as long as it is not used for commercial gain. Commercial use is strictly prohibited.