Repository navigation
Releases
Releases · allswebtech/trouteai
stable - 1.0.11
Immutable
release. Only release title and notes can be modified.
- A default priority per API key. On a key's page in API Keys, choose whether its requests
wait as interactive, normal or background when a combo is busy. A request's own
x-trouteai-priorityheader still wins. Keys you already have stay normal, so nothing changes
until you pick something else. - A Responses conversation stays on its account. A turn that sends only its new input with
previous_response_idnow goes to the account that gave that earlier answer, so the
conversation and its prompt cache stay together. Before, such a turn could land on another
account. An id the gateway does not know is placed like a new conversation. - A new conversation no longer starts on an account whose quota is used up. It starts on an
account that can answer. Before, the gateway could pick the used-up account first and only then
move on.
Updating from 1.0.10 changes nothing in your providers, keys and combos.
stable - 1.0.10
Immutable
release. Only release title and notes can be modified.
Under many requests at once
- A round-robin combo waits fairly instead of refusing. Requests for a combo whose accounts are all busy wait
in one queue for the first free slot (up to two minutes), then get a clear "busy" answer with the seconds to
wait. Before, a request could be refused while a slot was free. A request can carry the header
x-trouteai-priorityto wait in front. - A new conversation starts on the least busy account that can be used, and keeps that account, so the
provider's own cache keeps working. Before, one account could carry most conversations while others idled. - A provider's "high load" answer is tried again only when nothing of the answer had been sent yet; a
conversation stays on its account. The account is no longer marked unavailable for it. - An account of a round-robin combo is used again as soon as its usage limit resets.
- The runtime page shows what runs and what it costs: per account and per API key, live.
The prompt cache
- Clients that speak the OpenAI chat or Responses dialect to the Claude API-key provider keep the prompt cache,
and every dialect is told how much was read from and written to the cache.
Answers you can rely on
- A request gets the model it asked for or a clear error; response headers name who answered and whether a
fallback happened.count_tokensreturns its own count or a labelled estimate. A missing or falsestream
flag returns one JSON answer in every dialect./v1/modelslists only what routes, with limits and
capabilities. An image reaches every model that can see it. - A usage limit is a 429 with its reset time; an outage is a 5xx, never a 429.
Security and running
- The command key is a secret file only you can read, no longer derived from a machine id. TRouteAI listens on
this computer only unless you choose otherwise, accepts both API key headers, shuts down cleanly, and runs
nothing while idle that need not run.
Updating from 1.0.9 changes nothing in your providers, keys and combos.
stable - 1.0.9
Immutable
release. Only release title and notes can be modified.
TRouteAI is now stable, and its source code is public at
github.com/allswebtech/trouteai.
Versions 1.0.0 to 1.0.8 were beta releases. They were published on npm while the project was
still being finished and tested in private. 1.0.9 keeps the behaviour of the last beta (1.0.8),
which is what the beta period tested: updating from 1.0.8 changes nothing in how your providers,
keys and combos work.
Highlights
- Stable. The beta period is over: this is the version to use every day. An update keeps
your data: database changes only add to it, and a backup is made before each one. - Open source. The full source is public under the MIT license. Bug reports, ideas and pull
requests are welcome: see CONTRIBUTING.md. Security reports go through a
private form: see SECURITY.md. - Tests anyone can run. The repository includes the test suite. It runs on your own
computer with fake providers, without any account or API key (npm test).
Changes
- The npm page links to the source code and the issue tracker.
- Hosting on SixPanel is now one step: create a website From an npm package and type
trouteai. The package carries its own settings for SixPanel (start command, health check,
kept data folder, generated secret keys), and new versions arrive with one press of Deploy
or by themselves. - The README has a short guide for other hosting panels.
Fixes
- Provider logos drawn in one colour only (OpenAI, Anthropic, xAI and others) are now visible in
both the light and the dark theme.
What the stable release includes
- One API for every provider: OpenAI format (
/v1/chat/completions,/v1/responses,
/v1/models, embeddings, images, audio) and Anthropic format (/v1/messages). - 290+ built-in providers by API key or account sign-in, plus any OpenAI- or
Anthropic-compatible server. - Combos: one model name that tries several provider models, with 19 routing strategies and
fallback on errors and usage limits. - Usage-limit routing: an account whose limit is used up is skipped until it resets.
- Made for coding agents such as Claude Code and Codex CLI: model discovery, effort and
thinking settings, web search, PDFs, and context-limit errors the agent recovers from. - A dashboard with light and dark themes, API keys, usage analytics and request logs.
- Secure by default: a random first password, API keys required, provider credentials encrypted
at rest, no telemetry.
Install
npm install -g trouteai
trouteaiUpdating from a beta: trouteai update. Full history: CHANGELOG.md.