Nebius TF Relay
Powered by Nebius Token Factory·open models

Run your coding agents on Nebius Token Factory

A local relay that points Claude Code, Codex, OpenCode, and Pi Code at open models on Nebius Token Factory, with short commands and zero edits to your real tool config.

install.sh
$curl -fsSL https://nebius-tf-relay.vercel.app/install.sh | sh

macOS & Linux · installs Bun if needed · stays up to date (auto-updating)

nclaude
ncodex
nopencode
npi
4
coding agents
1
install command
0
config files rewritten
Start relaying

Three commands from zero to running.

  1. 1

    Install once

    Run the one-liner. It drops nebiusrelay plus nclaude, ncodex, nopencode, and npi onto your PATH and installs Bun if you don't have it.

  2. 2

    Add your keys

    On first run, nebiusrelay configure asks for your Nebius Token Factory key and an optional Tavily key for live web search.

  3. 3

    Launch an agent

    Type nclaude or ncodex and keep working. The Relay injects Nebius settings for that run only. Nothing is written to your real agent config.

One key.
Every agent.

One Nebius Token Factory key powers all four agents through a single local proxy. The model list is pulled live from Nebius, so every model they serve is one command away.

Kimi K3Kimi K2.6Qwen 3.5DeepSeek V4MiniMax M3
Get a Token Factory key
Supported harnesses

The coding agents you already use, on open models.

Beta

Claude Code

nclaude

Routes Claude Code through a local Anthropic-to-Nebius translation proxy. Your subscription, login, and config stay untouched.

Beta

Codex CLI

ncodex

Talks to Nebius through a local Responses-to-chat proxy, with headless exec support. Sessions stay resumable across providers.

100% supported

OpenCode

nopencode

Launches with Nebius wired in as an OpenAI-compatible provider, injected only for that run. Close it and your setup is exactly as it was.

100% supported

Pi Code

npi

Starts with a custom Nebius provider and a temporary config directory, while normal local session history keeps persisting.

Why route through the Relay

One relay, four harnesses

Claude Code, Codex, OpenCode, and Pi Code all run on Nebius open models through a single local install.

Live web search, built in

The proxy emulates native web_search with Tavily and streams real Anthropic citation blocks straight into your agent.

Cost tracking per session

Every turn is metered against the model's real per-token rates and printed as a running total when you exit.

Config-free & self-updating

Nothing rewrites your agent config files. The installed binary keeps itself current from the release site.

Point your agents at Nebius in one line.

Free to install, config-free, and reversible. Your subscriptions and logins stay exactly where they are.