Skip to content

About

Open-source Windows control panel for local LLMs: DFlash speculative decoding, llama.cpp/llama-server, vLLM and an OpenAI-compatible gateway. An open-source LM Studio alternative (not affiliated).

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

244 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

DFlash Console

Open-source Windows control panel for local LLMs. Download, load, and serve GGUF and Hugging Face models with DFlash speculative decoding, llama-server (llama.cpp), vLLM, Transformers, and local speech engines, then talk to all of them through a single OpenAI-compatible port.

DFlash Console is an open-source alternative to LM Studio for Windows users who want DFlash draft stacks, several engines and GPUs at once, and one local gateway for chat, embeddings, text-to-speech, and speech-to-text. See Compared to LM Studio and other local LLM tools. Not affiliated with LM Studio or Element Labs, Inc.

Status: Public preview for local, single-user use. Windows is the only supported platform; Linux and macOS are not supported or tested (see Platform support below).

Share a GPU with another DFlash Console. Run the app on two computers, open Nodes, and leave Use this computer’s GPU on. The other GPU then appears in the model list with that computer’s name in brackets, such as TITAN (lab). Loading a model on that GPU runs it on the other computer. If the file is not there yet, it is downloaded there first. Short steps: docs/SHARE-A-GPU.md.

Developer: ILAN AVIV · UI: http://127.0.0.1:8900/ · Version: v0.3.303

Download (Windows)

Package Where
Setup installer (recommended) Latest GitHub Release — DFlash-Console-Setup-*-x64.exe
Portable Same page — DFlash-Console-Portable-*-x64.exe
CLI only pip install dflash-console then dflash serve

Installed desktop apps check for updates from the latest GitHub Release (latest.json + the setup EXE). Windows may show an Unknown publisher warning because the installer is unsigned.


Engines

Pick an engine in Engines, Models, or Playground before you load.

Engine Models When to use it
DFlash / llama-server GGUF chat, vision, OCR, embeddings Default local path. Supports DFlash 1 and DFlash 2 draft accelerators.
vLLM Hugging Face SafeTensors Fast NVIDIA GPU path for large HF models. Optional; installs on demand.
Transformers Hugging Face SafeTensors Works on more PCs (CPU or GPU). Slower than vLLM. Optional; installs on demand.
FreeToken Large HF MoE folders via WSL2 For very large models on lower-VRAM machines. Needs WSL2 + NVIDIA/CUDA.

Install the optional engines from Settings → Downloads & engines or the first-run wizard. They stay out of the Windows installer so the download stays small.

DFlash 1 and DFlash 2

A DFlash stack is a target GGUF plus a smaller draft / accelerator used for speculative decoding.

Generation What it is
DFlash 1 Original DFlash draft family. Works with the bundled llama-server.
DFlash 2 Newer draft family (Gemma 4 / Qwen 3.8 and similar). Needs a llama.cpp build with DFlash 2 support.

The catalog can filter DFlash and DFlash 2 separately. On a target model, right-click Find and attach draft — the app searches the local library and Hugging Face, checks architecture compatibility, then registers and attaches the matching draft.


Share a GPU across computers

Two DFlash Console apps can share a GPU. The computer where you click Load does not have to own that GPU.

  1. Start DFlash Console on both computers.
  2. On the computer where you choose models, open Nodes.
  3. Add the other computer. Leave Use this computer’s GPU on.
  4. Load a model and pick the GPU whose name ends with that computer in brackets.

The model runs on the other computer. This computer’s GPU list includes it whenever GPUs are listed. Full steps, including Tailscale and SSH: docs/SHARE-A-GPU.md.


What else it does

Area What you get
Models Full PC library: DFlash stacks, GGUF, Ollama, LM Studio, Hugging Face folders, OCR, speech, embeddings
Catalog Search and download Hugging Face models into your library folders
Playground Chat · Speak · Transcribe · Embed against the loaded engine
Gateway One OpenAI URL: http://127.0.0.1:8001/v1
Speech Piper TTS and whisper.cpp STT
CLI dflash list, load, chat, search, pull — same library as the UI
Docs In-app user guide, CLI reference, and API catalog

Compared to LM Studio and other local LLM tools

LM Studio, Ollama, and Jan are popular ways to run models locally. DFlash Console covers the same basics (download models from Hugging Face, chat, and serve an OpenAI-compatible API) and is built for Windows users who want more control over engines, GPUs, and speculative decoding.

DFlash Console LM Studio (per its public docs, Nov 2026)
Source code Open source, GNU AGPL v3 or later Proprietary desktop app, free for home and work use; the lms CLI and SDKs are MIT
Platforms Windows 10+ macOS, Windows, Linux
Inference engines llama-server (llama.cpp) with DFlash 1 and DFlash 2, vLLM, Transformers, FreeToken (WSL2), and external launchers such as Strata llama.cpp; MLX on Apple Silicon
Speculative decoding DFlash 1 and DFlash 2 draft stacks. Find and attach draft searches your library and Hugging Face, checks architecture compatibility, and attaches the draft Draft-model speculative decoding; the draft must share the main model's vocabulary
OpenAI-compatible API One gateway at http://127.0.0.1:8001/v1 for every loaded engine: chat, embeddings, /v1/audio/speech (Piper TTS), and /v1/audio/transcriptions (whisper.cpp STT) OpenAI-compatible and LM Studio REST APIs; audio endpoints are an open feature request
Existing model folders Scans LM Studio (~/.lmstudio/models), Ollama, and Hugging Face folders, so the same files load without copying Imports model files downloaded outside LM Studio
Another computer's GPU Nodes: load a model on a GPU in another DFlash Console LM Link routes workloads across devices

Also in DFlash Console:

  • Several engines loaded at once on different GPUs and ports, each with its own Engines card: live per-slot stats, context size, and the app using it (X-DFlash-Client).
  • GPU choice per model (for example an RTX 4090 or a TITAN), a VRAM preflight that suggests what to unload first, and VRAM chips for other apps on the GPU.
  • Hugging Face model catalog and download wizard with file-level update checks.
  • Cloud API models (DeepSeek and other OpenAI-compatible providers) listed next to local models on the same gateway.
  • A terminal CLI (dflash list, load, chat, pull) and pip install dflash-console.

FAQ

Is there an open-source alternative to LM Studio? Yes. DFlash Console is open source under the GNU AGPL, with Windows installers on GitHub Releases and pip install dflash-console for the server and CLI.

Is there an LM Studio alternative for Windows with speculative decoding? DFlash Console runs DFlash 1 and DFlash 2 draft stacks on llama-server and can find and attach a compatible draft for a target GGUF from the Models page.

Can I keep using the models I downloaded with LM Studio? Yes. Turn on the LM Studio library (~/.lmstudio/models) and those GGUF files appear in Models and in dflash list --lmstudio.

Can DFlash Console and LM Studio run at the same time? Yes. They use different ports, and Engines shows LM Studio as another app on the GPU with its VRAM use.

Not affiliated with, endorsed by, or associated with LM Studio or Element Labs, Inc. LM Studio is a trademark of its respective owner. Comparisons are based on each product's public documentation as of November 2026 and may change. See TRADEMARKS.md.


Quick start

pip install dflash-console
dflash serve

Or install the Windows EXE and open the app. The UI is http://127.0.0.1:8900/.

Typical first session:

  1. Open Engines, turn Running on, and pick DFlash, vLLM, Transformers, or FreeToken.
  2. Load a model from the dropdown or the Models tab — a loading card appears immediately.
  3. For a DFlash GGUF, right-click and Find and attach draft if you want speculative decoding.
  4. Chat in the Playground, or point any OpenAI client at http://127.0.0.1:8001/v1 with optional X-DFlash-Client: YourApp so Engines shows who is using each model.

Recent improvements (v0.3.303)

  • Linux: Update now — when a new release is out, a pop-up offers Update now: the Console downloads it, installs it and restarts by itself (about a minute). Before, the notice only said to pull the code and restart. Installs older than 0.3.303 need one manual update (git pull, then restart) to get it

  • Updates in the background — a new version downloads and installs next to the running one while you keep working; Restart to update switches to it in under a minute. Updating to this version still uses the setup window once; the updates after it install in the background

  • Safe rollback — if a new version does not start, the Console goes back to the previous version by itself, tells you, and does not offer that version again. One older version is kept as a fallback

  • Faster first start after an update — no more 2-minute wait while folder access was reset on every file, and the setup no longer rewrites access on large engine folders that are already fine

  • Start with Windows — Settings no longer says the startup entry needs attention when it works

  • Linux — the menu, desktop and taskbar show the DFlash icon, and the Console opens in its own window

  • First start after a fresh install — on PCs without PowerShell 7, the installer wrote config.json in a form the Console could not read, and the server did not start. The installer now writes it correctly, and the Console reads a file written the old way

  • In-app update — no longer fails with "File copy failed (code 11)" when the old app takes a few seconds to close; the installer waits for it, and offers Retry if files are still in use

  • Sign-in and machine keys — Settings → Sign-in & keys sets an owner password and per-computer machine keys. On one PC nothing changes, and the Console still listens only on this PC. A request relayed by a reverse proxy on this PC (tailscale serve, nginx, cloudflared) now needs sign-in. Shutdown, file browsing, config import and export, and engine install only work on the Console's own PC

  • Linux — the Console runs on Linux: one-step install-linux.sh, llama-server, vLLM, Transformers and speech runtimes, plus a working stats bar and catalog. Starting the Console no longer stops other programs' ports. See Linux

  • Lighter when idle — far fewer background checks while the app is idle or hidden, and the page no longer reloads after one slow health check

  • Fixes — Hugging Face catalog search error, install progress no longer jumps to 87%, Qwen3 thinking shown apart from the answer with vLLM, pip install dflash-console includes the OpenAI gateway again, Windows startup registered only once

  • Models page — the name column follows the cards on screen, so one long name lower in the list no longer hides Load. Names that still do not fit use a second line in place of the target line, and the card stays the same height. Load and Unload stay visible while you resize or open the runtime panel.

  • Windows sign-in — with Start minimized to tray on, the app now goes straight to the tray at sign-in: no splash or window flashes on screen, and update prompts wait until you open it from the tray

  • In-app update — the setup window appears immediately, installs in place even when the install path has spaces, asks for administrator rights when needed, and no longer leaves the unpacked package behind in the temp folder

  • Engines and library — live token counts follow the name the engine actually loaded, prompt reading is labeled separately from generation speed, a full model name stays on that model, and the phone and desktop sidebars remember their own menu state

  • Startup — the desktop app keeps its own Python environment, so an upgrade no longer stops when the computer’s Python is missing the server

  • Share a GPU — another DFlash Console’s GPU appears in the model list as NAME (computer). Load runs on that machine, and a missing file is downloaded there first. See Share a GPU

  • Release note for the server — people who clone or pip-install and run the server see a note at the top when a newer GitHub release is published

  • Model library — loading clears when the model is on the GPU; Engine and GPU column headers stay visible

  • Model catalog — a pasted repo name with a trailing period still opens the real model, and shared shard names are no longer marked installed

  • Image downloads — a pipeline folder no longer nests a second copy of the whole model inside the text encoder

  • Desktop app — a second launch opens the window that is already running

  • Engine standby — Running toggle gates load/chat until you arm the pipeline

  • External GPU cards — OneVoice, LM Studio, and other apps on the GPU; compact mobile layout; loading state expires when models are ready

  • Other GPU processes — per-process VRAM chips for non-model apps

  • Unload fix — engine card Unload works reliably while the list refreshes

  • Client identity — X-DFlash-Client header shows Active client on each card

  • Cursor IDE — connect via OpenAI base URL http://127.0.0.1:8001/v1 (docs/CURSOR.md)

  • VRAM preflight — load plans suggest which engine to unload first; co-resident 12B+31B pairs on one GPU

  • HF catalog — local index for instant Model catalog search

  • GPU performance mode — Balanced / Performance / Inference / Power in Settings → Hardware

From a git checkout: copy config.example.json to config.json, then .\server.ps1. Full walkthrough: docs/USER-GUIDE.md.


Terminal CLI

dflash serve
dflash list
dflash list --dflash
dflash list --vllm
dflash list --transformers
dflash load qwen
dflash chat "hello"
dflash search "qwen dflash2"

The Console must be running except for help, version, serve, and install. Full command list: docs/CLI.md.


OpenAI gateway and API

Point clients at:

http://127.0.0.1:8001/v1

The gateway routes chat, embeddings, TTS, and STT to the loaded engine.

Concurrent chat: multiple OpenAI-compatible clients may call chat/completions on the same loaded model at once (Harness agent turn + title, or two UI actions). The Console serializes ready/JIT per engine, then lets llama-server use parallel slots. You should not see upstream HTTP 409 for that steady-state overlap. HTTP 409 is still used for strict model mismatch (X-DFlash-Strict-Model), a checkpoint already loaded on a different engine, and stack/vision repair. Model names are tolerant (engine id, file name, or an alias such as gpt-4o).

Client identity: send X-DFlash-Client: YourApp on load and chat requests so the Engines page shows the Active client for each model. The gateway forwards this header. The banner updates on every chat or embed call while the model stays loaded. Without the header, callers appear as Unknown API client. See docs/CLIENT-IDENTITY.md.

Cursor IDE: same machine → http://127.0.0.1:8001/v1, placeholder API key, model id from GET /v1/models. Not dflash serve --model … and not ngrok for local use. docs/CURSOR.md

The complete external-control reference, including engine, runtime, download, node, provider, DFlash-stack, GPU-budget, and diagnostics routes is in docs/API.md. The running app exposes the same reference in Documentation → External API reference.

Selected Console routes (UI/API on port 8900):

Method Endpoint Purpose
GET /api/health Liveness
GET /api/servers Engine status
GET /api/servers/{id}/chat-ready Authoritative readiness/JIT state
GET /api/servers/{id}/load-plan VRAM-aware load plan and unload suggestions
POST /api/models/load Load any catalog model; pick engine with runtime_id
POST /api/servers/{id}/load Load one exact engine/checkpoint
POST /api/servers/{id}/unload Unload a model
POST /api/servers/{id}/v1/chat/completions Chat through a llama-server / DFlash engine
POST /api/servers/{id}/cancel-inference Cancel active inference
POST /api/servers/vllm/v1/chat/completions Chat through vLLM
POST /api/servers/transformers/v1/chat/completions Chat through Transformers
POST /api/servers/freetoken/v1/chat/completions Chat through FreeToken
POST /api/stacks/find-and-attach-draft Find a compatible DFlash 1 or DFlash 2 draft and attach it
POST /api/runtimes/piper/v1/audio/speech Piper TTS
POST /api/runtimes/stt/v1/audio/transcriptions Whisper STT
GET /api/models Full local library
GET /api/runtimes All runtimes and adapters
GET /api/system-stats CPU, RAM, GPU, and VRAM telemetry
GET /api/gpu/budget VRAM budget and load guardrail details
GET /api/status/report Full machine/runtime/engine report
GET /api/console/logs?errors_only=true Structured error report
GET /api/endpoints Live Console and gateway route inventory
GET /api/docs/catalog In-app documentation

Load a Hugging Face folder on a specific engine:

curl -X POST http://127.0.0.1:8900/api/models/load \
  -H "Content-Type: application/json" \
  -H "X-DFlash-Client: MyApp" \
  -d "{\"path\": \"C:\\\\models\\\\org\\\\model\", \"runtime_id\": \"vllm\"}"

Use "runtime_id": "transformers" or "freetoken" the same way.

Full list: Documentation in the app, or Swagger at http://127.0.0.1:8900/docs.

Errors and memory pressure

Direct Console errors use FastAPI's {"detail": ...} envelope. Gateway errors use an OpenAI-shaped {"error": ...} envelope with a message, type, code, reason, and (when applicable) retryable. A first chat request can JIT-load a model; callers should poll /api/servers/{id}/chat-ready or retry a 503 marked retryable=true, not switch models. A VRAM refusal reports insufficient_vram, the free/required VRAM, and an unload_first list. Console never silently kills unrelated GPU applications. See docs/API.md for request examples and the complete status/error matrix. Engine context is sized per request: X-DFlash-Min-Context sets a hard floor, X-DFlash-Optimal-Context a preference, and parallel slots are derived from the apps that actually share the model — see docs/DEVELOPMENT-LOG.md for the rules and docs/USER-GUIDE.md for the operator view.


Requirements

  • Windows 10+ (supported platform)
  • Python 3.10+
  • PowerShell 7+ (pwsh)
  • NVIDIA GPU recommended for multi-model loads
  • Optional: WSL2 Ubuntu + CUDA for FreeToken
  • Optional: Node.js 22.12+ only if you build the Electron shell from source

Platform support

Platform Status
Windows 10+ Supported — desktop installer, portable EXE, pip install dflash-console, and git checkout
Linux Not supported or tested — no installer; many features assume Windows
macOS Not supported or tested — no installer; many features assume Windows

DFlash Console is built and validated on Windows. GPU process tracking, external-app detection, system stats, and the Electron desktop shell all target Windows. The PyPI package may install on Linux or macOS, but the product is not guaranteed to work there.

Developers on Linux or macOS: you are welcome to try pip install dflash-console and dflash serve, then report what works and what breaks. Please open a Discussion or Issue with your OS version, install path (pip vs git), and steps. Feedback helps us understand demand and gaps before any future cross-platform work.

Linux CLI (experimental): see docs/LINUX-CLI.md for the roadmap, WSL2 setup, and run.sh / server.sh helpers. Engine auto-boot on Linux is Phase 2 (requires a small server_boot.py platform branch — not shipped yet).


Configuration and security

Copy config.example.json → config.json (never commit the live file).

Setting Purpose
servers[] llama-server / DFlash GGUF profiles (engine_on per profile)
runtimes[] Piper, Whisper, vLLM, Transformers, FreeToken
model_libraries[] Folders scanned for local models
hardware_settings GPU strategy, performance mode, external GPU scan
runtime_stop_others_on_load Unload other Console engines before a new load
gateway_port OpenAI gateway (default 8001)
ui_layout.engines_card_filter Engines filter: both / console / external

The Console binds to loopback. It is for one trusted user on one PC. Do not expose ports 8900 or 8001 to a LAN or the internet without adding your own auth. Keep Hugging Face tokens in the environment (HF_TOKEN), not in config.json.


Community

Include the version from About. Do not paste config.json, tokens, or model weights.

License

GNU AGPL v3 or later. See LICENSE, NOTICE.md, and TRADEMARKS.md. Not affiliated with, endorsed by, or associated with LM Studio or Element Labs, Inc. LM Studio is a trademark of its respective owner.

DFlash Console is developed by ILAN AVIV. Related project: DFlash.

About

Open-source Windows control panel for local LLMs: DFlash speculative decoding, llama.cpp/llama-server, vLLM and an OpenAI-compatible gateway. An open-source LM Studio alternative (not affiliated).

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages