Guides

Building an in-house AI coding server with Ollama (recommended models by GPU)

Updated

If you want to set up an AI coding server on your own GPU hardware, Ollama is the simplest path. It needs nothing beyond a GPU driver, and it supports offline installation.

Why Ollama

There are several ways to run an inference engine in-house. Engines like vLLM and SGLang offer higher throughput, but vLLM requires the CUDA toolkit (nvcc) and python3-dev to be installed first. Ollama’s own documentation (docs.ollama.com/linux) describes manual installation as extracting an archive and running ollama serve, noting that installing the NVIDIA driver is optional. An existing Ollama install bundles the CUDA runtime libraries, so a GPU driver alone is enough to use the GPU, with nothing extra to install. We confirmed this works the same way offline: installation, model connection, and a real coding task all completed with no internet access.

Installation steps (one USB drive or folder)

  1. Run nvidia-smi on the server to confirm the GPU driver is installed. You should see the GPU name and memory size. Installation still works without a driver, but it will be much slower.
  2. Confirm at least 12GB of free disk space (df -h /opt).
  3. Copy the install bundle folder to the server, then run just two commands inside it: cd moa-server-bundle, sudo bash install.sh.
  4. The screen shows the server responding, then the model responding, and finally “Installation complete” along with the server address (e.g. http://10.0.0.5:11434/v1) and model name.
  5. Enter that address into MoaEditor’s “in-house server address” field and the model name into the model field, exactly as shown.

The figures below are published by each model’s maker in its model card or technical report. MoaEditor did not measure these itself, and evaluation methods differ between vendors, so they aren’t directly comparable.

GPU memory Recommended model Size SWE-bench Verified
~12GB Qwen3.5-9B 9B No official figure (LiveCodeBench v6 65.6 for reference)
~24GB Devstral-Small-2-24B 24B 68.0%
~24GB Qwen3.6-27B 27B 77.2%
48GB+ Qwen3-Coder-Next-80B-A3B 80B (3B active) 70.6–71.3% (varies by scaffold)

In real testing, a smaller model (~9B) completed a simple bug fix and added a test to no internet access from start to finish. For the lead or manager role, which plans and splits work, smaller models occasionally mishandle tool calls, so we recommend 24B class or larger for complex work. If you already have a server running a larger model in-house, you can connect that model directly instead.

Swapping in a different model

To add another model later, copy its manifest and blob files into the same directory structure and restart the service. No internet connection is needed.

If you’re considering adoption

We help with installation, connecting MoaEditor, setting up the organization (lead, manager, staff, intern), and training. The customer provides the GPU server and its driver. See Enterprise, schools, and public institutions for what’s included and pricing.