Sep 2026
Accounts
Sign up with email and password; API keys and usage are now private to your account.
TrivaNexus is the model gateway for AI agents: an OpenAI-compatible API that sends each request to the model best suited to it, fails over when providers break, and shows you exactly where every token went.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://agentic.trivanexus.com/api/v1",
apiKey: process.env.TRIVA_API_KEY,
});
// "adaptive" picks the right model for every request
const res = await client.chat.completions.create({
model: "adaptive",
messages: [{ role: "user", content: "Refactor this function" }],
});19+ models from
Capabilities
Everything between your agent and the model โ routing, reliability, tools and control โ in one endpoint.
Every request is scored for complexity and sent to the right tier โ quick fixes to fast models, architecture work to frontier ones. One conversation stays on one model so caching keeps working.
If a provider errors, the next one is tried. When nothing can answer you get a clear 502 or 503 โ never a fake reply dressed up as a real one.
Streaming, tool calling and a gateway-side file tool loop in a sandboxed workspace, so coding agents like Cline work out of the box.
Approve which models your team can use, set a default, and tune the adaptive tiers and strategy from the admin console.
Per-key daily budgets, token and cost metering, and a live view of which models adaptive mode actually routed to.
How it works
No SDK to learn and nothing to self-host.
Sign up, open the dashboard and create an API key. Keys are yours alone and can be revoked any time.
Create account โChange the base URL of any OpenAI-compatible SDK or agent. No new libraries, no new request format.
Read the docs โRequest model "adaptive" and each turn is routed to a model that can serve it โ escalating a tier if a call fails.
Browse models โTrack usage per key, see routed models per tier, and adjust budgets and allow-lists as your team grows.
Open dashboard โIntegrations
Anything that speaks the OpenAI chat completions API can use TrivaNexus โ just change the base URL.
Cline
VS Code coding agent
Continue
IDE assistant
OpenAI Node SDK
baseURL
OpenAI Python SDK
base_url
LangChain
ChatOpenAI
cURL / HTTP
/v1/chat/completions
OpenRouter
hundreds of upstream models
Local models
llama.cpp ยท Ollama ยท vLLM
Changelog
Sep 2026
Sign up with email and password; API keys and usage are now private to your account.
Sep 2026
One model id that routes each request to the right tier and stays consistent across a conversation.
Sep 2026
Current-generation models, with old ids kept as aliases.
Sep 2026
Failed or unconfigured providers return 502/503 instead of placeholder text.
Security
Guardrails for your accounts, keys and agents are built in, not bolted on.
Account passwords are stored as salted scrypt hashes.
httpOnly, SameSite cookies; only a hash of each session token is stored.
Keys are generated from a secure random source and scoped to their owner.
Daily token limits stop a runaway agent from draining your balance.
Admins decide which models can be used across the organization.
Gateway file tools are jailed to a workspace; path traversal is blocked.
Free to start. Bring your own client, keep your code.