NConnect
DocsEnvironment variables

05 / REFERENCE

Environment variables

Configure NConnect with environment variables: API keys, base URL, reasoning effort, fallback model, daemon metering, auto-update and telemetry.

Keys resolve in this order: the --api-key flag, then the key saved by nconnect configure, then the environment.

VariableEffect
NEBIUS_API_KEYNebius key, used when none is saved by configure or passed with --api-key.
TAVILY_API_KEYEnables web search (or set it via configure).
NEBIUS_BASE_URLOverride the API base. Default https://api.tokenfactory.nebius.com/v1.
NCONNECT_REASONING_EFFORTnone | low | medium | high | max. Default none for speed; raise it for harder tasks.
NCONNECT_FALLBACK_MODELModel to fail over to when the target returns no response headers. Default moonshotai/Kimi-K2.6; set off to disable.
NCONNECT_METER=1Route the spawned harnesses through the daemon so they get cost metering, model fallback and retries. Off by default.
NCONNECT_REASONING_HISTORYfull (default) | interleaved | off. How much prior reasoning is replayed each turn. off is cheapest on long sessions.
NCONNECT_CACHE_READ_RATIOPrice of a cached input token as a fraction of the input price. Default 1, since Nebius publishes no cached rate, so the total is an upper bound.
NCONNECT_CODEX_MEMORY_MODELModel that summarizes Codex traces for durable memory. Defaults to MiniMax M3.
NCONNECT_DISABLE_AUTOUPDATE=1Stop the installed binary from self-updating.
NCONNECT_TELEMETRY_URLOpt in to telemetry by pointing at your own collector. Off by default.