XYZ AI Router
OpenAI-compatible · Anthropic-compatible · fully logged

One API for coding agents.
chatbots. RAG pipelines. vision apps.

7 model aliases behind one dual-protocol endpoint. Change a single base URL — keep your SDK, your tools and your code. Every request is logged with the real model that actually answered.

7
model aliases on every plan
2
protocols — OpenAI + Anthropic
100%
of requests logged & inspectable
0
fake models advertised

Live in three steps

No SDK to learn, no migration. If your code talks to OpenAI or Anthropic, it already talks to XYZ.

01 · ~30 seconds

Create a key

Sign up free and generate an API key from your dashboard. One key works for both protocols.

02 · one line

Point your client

Set the base URL to https://www.nexusbot.in/v1 and paste the key. Everything else in your code stays the same.

03 · live

Ship — and verify

Track every request, token and millisecond in the dashboard. See which real model served each alias. Swap models without touching your integration.

Everything production needs. Nothing it doesn’t.

True streaming

Server-sent events on both protocols, with the exact event shapes OpenAI and Anthropic clients expect.

Tool calling

Function calls and tool-use blocks, translated between protocols — only where the upstream actually supports them.

Usage analytics

Every request, token and latency figure — per key and per model. Real numbers from a real database, no estimates.

Agent sessions

An OpenCode adapter turns chat requests into real agent sessions — tool calls and file operations surface as events, never hidden.

Trust & Security Lab

A sandboxed lab that records what agents actually do: files read, commands run, network destinations — including what gets blocked.

One key, two protocols

The same API key works on the OpenAI /v1 endpoint and as an Anthropic base URL for Claude Code — no separate accounts, no separate billing.

Models to start with

AliasNameContext
claude-fable-5-2Claude Fable 5.21000000
claude-haiku-5-5Claude Haiku 5.51000000
claude-opus-5-5Claude Fable 5.21000000
claude-sonnet-5-5Claude Sonnet 5.51000000
xyz-agentXYZ Agent—
xyz-free-coderLlama 3.3 70B (free via OpenRouter)131072

Browse all models →

Common questions

Is this compatible with the OpenAI SDK?

Yes. Point any official OpenAI SDK at https://www.nexusbot.in/v1 and pass your key. Request and response shapes match the OpenAI spec, including streaming chunks and error envelopes.

Can Claude Code use it?

Yes — set ANTHROPIC_BASE_URL=https://www.nexusbot.in, ANTHROPIC_AUTH_TOKEN to your key and ANTHROPIC_MODEL to an alias. The gateway speaks the real Anthropic Messages protocol.

Which model actually answers my request?

Check your Logs page: every request shows the alias you asked for and the real provider + model that served it. That transparency is the whole point of this lab.

What does the Security Lab do?

It runs controlled experiments with synthetic files only — normal agent work, blocked file reads, blocked network calls and approved transfers — and records what actually happened.

Your next feature is one base URL away.

Create a free account, grab a key and keep your existing SDK.

https://www.nexusbot.in/v1

Get started