New model launchInkling 2 Small by Thinking Machines is live on Nebius Token Factory. Use it today: nconnect --model thinkingmachines/Inkling-2-Small claudeTry it
NConnect
DocsQwen 3.8 + OpenCode

TUTORIAL

How to run Qwen 3.8 with OpenCode

Run the OpenCode terminal agent on Alibaba's Qwen 3.8 27B, served by Nebius Token Factory through NConnect, without editing your OpenCode config.

Qwen 3.8 27BOpenCode 5 minUpdated

OpenCode already speaks the OpenAI-compatible format Nebius serves, so NConnect needs no proxy here: it launches OpenCode with Nebius configured as a provider for that one run. Qwen 3.8 27B is Alibaba's dense reasoning model for coding and long-horizon agent work, with tool calling, image input and a 262K-token context window.

Prerequisites

Steps

  1. Install NConnect

    This installs the CLI and the nopencode alias, plus Bun if needed.

    curl -fsSL https://nconnect.sh/install.sh | bash
  2. Add your Nebius API key

    nconnect configure
  3. Install OpenCode

    Skip this if opencode is already on your PATH. In an interactive terminal, NConnect also offers to run this for you the first time you launch OpenCode.

    npm install -g opencode-ai@latest
  4. Launch OpenCode on Qwen 3.8

    nconnect --model Qwen/Qwen3.8-27B opencode

    Arguments after opencode go to OpenCode, so run works for one-off tasks:

    nconnect --model Qwen/Qwen3.8-27B opencode run "summarize the open TODOs"

What NConnect does on launch

  • Passes a generated config with a nebius provider through the environment, and selects nebius/Qwen/Qwen3.8-27B on the command line so it wins over the default model in your own ~/.config/opencode.
  • Limits /models to the NConnect catalog, with real context limits and per-token prices, instead of hundreds of unrelated models.
  • Replaces the build agent's "You are OpenCode" framing with a neutral prompt, so the model doesn't misreport what it is.
  • Registers a @vision subagent pinned to a vision-capable model.

Switch models in the session

Use /models inside OpenCode to move between Nebius models without restarting. Qwen 3.8 reads images itself; on a text-only model, pick one that does, such as Kimi K3, before pasting images.

More tutorials