OpenAltFinder
UnoRouter

UnoRouter

Self-hostable frontend for an AI model gateway: model catalog, API keys, usage and a local-first chat client.

UnoRouter is the open-source (AGPL-3.0) web frontend of the UnoRouter AI gateway, published by the same project that runs unorouter.com. It is a Next.js 16 app with an Elysia backend-for-frontend that sits in front of a new-api fork aggregating 130+ upstream model providers, and it covers the parts of an OpenRouter-style service users actually touch: a model catalog with live pricing and price comparison, API keys, usage logs, credits and billing, gift cards, affiliate tracking and a status page.

It also ships a full chat client in the same UI, in the RisuAI/SillyTavern class: characters, lorebooks, presets, loadouts, Lua triggers, sandboxed JS plugins, group chats, peer-to-peer rooms, in-chat image generation and SillyTavern character-card import. Chat state lives in a single SQLocal/OPFS database inside the browser (one copy per device), so guests can use it and it keeps working offline; moving to another device is export and import. A third surface probes endpoints with nonce-tagged prompts to check whether a provider really serves the model it claims, and publishes public rankings from server-issued probes.

For self-hosting the repo ships a multi-stage Dockerfile (Bun build, distroless runtime) and ArgoCD-managed Kubernetes manifests. The frontend needs SYSTEM_ACCESS_TOKEN and a SESSION_SECRET of at least 32 characters; Turso/libSQL, Tavily and Runware keys are optional, and the database only holds the public model-tester rankings. The gateway it fronts is a separate new-api deployment, and the managed service at unorouter.com is the paid hosted option.

Frequently Asked Questions

Which platforms does UnoRouter run on?

UnoRouter is a web app. It installs as a PWA from the browser and ships a web manifest plus a service worker, so it can be added to a phone's Home Screen, where push notifications for price and availability alerts also work. There are no native desktop or mobile apps and no separate command-line client. The interface is translated into 18 languages, including right-to-left locales such as Arabic and Hebrew.

Where are my chats stored, and can I use UnoRouter offline?

Every chat, character, lorebook and setting is kept in one SQLocal/OPFS SQLite database inside your browser, one per device, and that copy is the only copy. The server stores no chat history and there is no server-side sync, so guests get the same local store as signed-in users. Because the data is local, old conversations stay readable offline and the app precaches an offline page. To move to another device you export the database under Settings and import it there.

Can I use my own API keys or endpoint instead of the UnoRouter catalog?

Yes. A chat can run against the catalog, where a same-origin proxy injects the upstream token so it never reaches the browser, or against any OpenAI-compatible endpoint you provide, in which case the browser talks to that provider directly. The hosted gateway exposes an OpenAI-compatible API at https://api.unorouter.com/v1, and a separate Platform API lets you read the catalog, prices, your balance and usage from code.

Can I import my SillyTavern characters into UnoRouter?

Yes, the chat client imports SillyTavern character cards, and the plugin layer is a port of RisuAI's apiV3 plugin API that runs JS plugins inside a sandboxed iframe with no network access except an explicit httpRequest bridge. Lua triggers are supported as well. Characters, lorebooks, presets and loadouts are then managed inside UnoRouter's own local database.

What do I need to run UnoRouter myself?

The repo ships a multi-stage Dockerfile that builds with Bun and runs a compiled server on a distroless image, plus Kubernetes manifests for an ArgoCD rollout. Two variables are required: SYSTEM_ACCESS_TOKEN and a SESSION_SECRET of at least 32 characters. Turso/libSQL is optional and only stores the public model-tester rankings; Tavily and Runware keys unlock web search and the LoRA/checkpoint pickers. You also need the gateway it fronts, which is a separate new-api fork deployment and is not part of this repository.

OpenAltFinder Score
62/100
Project Health (50%)
48/100
License (20%)
40/100
Self-hostable (20%)
100/100
Recency (10%)
100/100
How scoring works
Project Details
Platforms
Web
License
AGPL-3.0
Self hostable
Yes
Repository details
Created
2/15/2026
Stars
26
Forks
13
Open issues
1
Last commit
11/21/2026

Updated 11/22/2026, 7:00:59 AM

View Repository

Get the latest open source alternatives delivered weekly.
Discover tools that give you freedom from proprietary software.

Similar open source alternatives