These docs track the main branch and may describe unreleased features. The stable documentation lives at docs.docker.com.

Nebius Token Factory

Overview

Nebius Token Factory (formerly Nebius AI Studio) provides hosted AI models through an OpenAI-compatible API. Docker Agent includes built-in support for Token Factory as the nebius alias provider.

Setup

  1. Create an API key in the Nebius Token Factory console

  2. Set the environment variable:

    export NEBIUS_API_KEY=your-api-key
    

Usage

Inline Syntax

agents:
  root:
    model: nebius/MiniMaxAI/MiniMax-M3.1-Flash
    description: Assistant using Nebius Token Factory
    instruction: You are a helpful assistant.

Named Model

models:
  nebius_model:
    provider: nebius
    model: openai/gpt-oss-120b
    temperature: 0.7
    max_tokens: 8192

agents:
  root:
    model: nebius_model
    description: Assistant using Nebius Token Factory
    instruction: You are a helpful assistant.

Available Models

Token Factory's catalog changes as models launch and retire, so this page does not keep a static model table. With NEBIUS_API_KEY set, list the Nebius models Docker Agent knows about:

docker agent models --provider nebius

Add --all to list them without a key. Recent additions include MiniMaxAI/MiniMax-M3.1-Flash, deepseek-ai/DeepSeek-V4.1-Flash-1017, zai-org/GLM-5.3 and moonshotai/Kimi-K3.

The listing comes from the models.dev catalog, which can lag behind Token Factory. The Token Factory console is the authoritative list of models available to your project. Model IDs are case-sensitive; copy the full ID, including the vendor prefix.

How It Works

Nebius is implemented as a built-in alias in Docker Agent:

Example: Code Assistant

agents:
  coder:
    model: nebius/moonshotai/Kimi-K3
    description: Code assistant using Nebius Token Factory
    instruction: |
      You are an expert programmer.
      Write clean, well-documented code.
      Follow best practices for the language being used.
    toolsets:
      - type: filesystem
      - type: shell
      - type: think