█

AI/TLDR

Buy me a coffee
Buy me a coffee

halogen-flash-server

A single-model inference server for Qwen3.8-Flash-Next on AMD Strix Halo

Serving & DeploymentCommercial
Language
Shell (repository); the engine ships as a compiled binary in the container image
License
Proprietary (halogen EULA: free to use, including commercially; model weights licensed separately)
IN SHORT

What is halogen-flash-server?

halogen-flash-server is an inference server built for exactly one GPU and one model family: Qwen3.8-Flash-Next on AMD Strix Halo (gfx1151), the integrated GPU in machines such as the Ryzen AI Max+ 395. It sits in the Serving & Deployment category of the Models & Inference tools and is open-source, written in Shell (repository); the engine ships as a compiled binary in the container image and licensed Proprietary (halogen EULA: free to use, including commercially; model weights licensed separately).

Overview

halogen-flash-server is an inference server built for exactly one GPU and one model family: Qwen3.8-Flash-Next on AMD Strix Halo (gfx1151), the integrated GPU in machines such as the Ryzen AI Max+ 395. Its maintainers, Peonist, say every kernel is written for that chip and that model, with no general-purpose runtime, portability layer or fallback path, and the build rejects any other GPU architecture. It ships as a container image that downloads the weights on first start and serves an OpenAI-compatible endpoint on port 8731.

The server is aimed at coding agents with long sessions. Besides /v1/chat/completions and /v1/completions it speaks the OpenAI Responses API (for Codex) and the Anthropic Messages API (for Claude Code), and a prompt cache lets each turn resume from the conversation it has already read. The project's own measurements for release 0.18.0 on a Ryzen AI Max+ 395 with 128 GB report agent turns with 30,000 to 96,000 tokens of context finishing in a median 4.2 seconds, first token in 1.6 seconds, decode of up to 94 tokens per second on repetitive output and 73 when writing code, and prefill around 1,700 to 1,800 tokens per second up to 131,072-token prompts.

Speculative decoding uses two draft sources, the model's own draft head and prompt lookup over the request's text, and the README states that at temperature 0 output is byte-identical to serial greedy decode. The default checkpoint is a 4.16 bits-per-weight quantisation broken down tensor by tensor in the repository's QUANT.md, and since 0.7.0 the engine can also open a llama.cpp GGUF of the same model directly. The engine is a closed-source binary under Peonist's own EULA, which allows free use including commercial and production use; the GitHub repository holds the documentation, compose files and tooling.

What it does

  • Kernels written for one GPU (gfx1151) and one model family, with no fallback path
  • OpenAI Chat Completions, Completions and Responses APIs plus the Anthropic Messages API, usable from Codex and Claude Code
  • Speculative decoding from a draft head and prompt lookup, byte-identical to greedy decode at temperature 0
  • Prompt cache that resumes long agent conversations, with an optional on-disk cache that survives restarts
  • Opens a llama.cpp GGUF of the model directly, with no conversion step
  • Built-in bench and sweep modes, plus /metrics in Prometheus format

Getting started

halogen-flash-server needs an AMD Strix Halo machine and runs from a container image. Before the first start, the Quickstart says to set the BIOS UMA frame buffer (dedicated graphics memory) to its smallest explicit value, not Auto, because the engine uses host RAM rather than dedicated VRAM.

Create a directory for the weights

Podman refuses a bind mount whose source does not exist, so create it first.

bashbash
mkdir -p ~/halogen-models

Run the server

The first start downloads the weights (about 111 GiB) into the mounted directory, then serves an OpenAI-compatible endpoint on port 8731. On Docker, replace --group-add keep-groups with --group-add video --group-add render.

bashbash
podman run --rm -p 8731:8731 \
  --device /dev/kfd --device /dev/dri --group-add keep-groups \
  --ipc=host --ulimit memlock=-1:-1 \
  -e HALOGEN_DOWNLOAD=peonist-ai/halogen-qwen3.8-flash-next \
  -v ~/halogen-models:/models \
  ghcr.io/peonist-ai/halogen-flash-server:0.18.6

Or fetch the weights yourself

Download the weights repository with the Hugging Face CLI and mount it read-only.

bashbash
hf download peonist-ai/halogen-qwen3.8-flash-next --local-dir ~/halogen-models

podman run --rm -p 8731:8731 \
  --device /dev/kfd --device /dev/dri --group-add keep-groups \
  --ipc=host --ulimit memlock=-1:-1 \
  -v ~/halogen-models:/models:ro \
  ghcr.io/peonist-ai/halogen-flash-server:0.18.6

Point Claude Code at it

The server also speaks the Anthropic Messages API; it checks neither the key nor the model name.

bashbash
export ANTHROPIC_BASE_URL=http://<your-server>:8731
export ANTHROPIC_API_KEY=anything
export CLAUDE_CODE_MAX_OUTPUT_TOKENS=32000
claude

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Run a local coding agent such as Claude Code or Codex against Qwen3.8-Flash-Next on a Strix Halo mini PC or laptop
  • Serve one or two long-context conversations on a 128 GB Ryzen AI Max+ machine where turn latency matters more than many parallel users
  • Speed up a GGUF of Qwen3.8-Flash-Next you already have without converting it
  • Benchmark Strix Halo inference with the image's own bench and sweep modes and compare against general runtimes

How halogen-flash-server compares

halogen-flash-server alongside other open-source serving & deployment tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
Transformers★ 169kHugging Face Transformers is a Python framework that defines and runs state-of-the-art pretrained models for text, vision, audio, and multimodal tasks, for both inference and training.
vLLM★ 97.9kA high-throughput LLM serving engine that uses PagedAttention and continuous batching to serve many requests at once.
SGLang★ 39.2kA serving framework for LLMs and multimodal models that boosts throughput by reusing shared prompt prefixes across requests.
Modular Platform★ 30.2kModular's AI platform: the MAX inference framework with an OpenAI-compatible serving endpoint and GPU kernel library, plus the Mojo language and compiler.
DeepInfer★ 26.5kDeepSeek's own large-scale inference framework for its models, with expert parallelism, confidence-scheduled speculative decoding and NVIDIA plus Ascend support.
TensorRT-LLM★ 15.2kNVIDIA's library that compiles LLMs into optimized engines for the fastest inference on its data-center GPUs.
OpenVINO★ 13.3kAn open-source toolkit from Intel that converts and optimizes deep learning models, then runs fast inference on CPU, GPU, and NPU hardware.
halogen-flash-server★ 1.5kA single-model inference server for Qwen3.8-Flash-Next on AMD Strix Halo