Image-Text-to-Text
MLX
Safetensors
qwen4_exp
gbx-lm
mlx-vlm
omlx
qwen
qwen3.8
mixture-of-experts
vision-language
quantized
apple-silicon
4-bit precision
conversational
Instructions to use GreenBitAI/Qwen3.8-Flash-Next-4bit-paged with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use GreenBitAI/Qwen3.8-Flash-Next-4bit-paged with MLX:
# Make sure mlx-vlm is installed # pip install --upgrade mlx-vlm from mlx_vlm import load, generate from mlx_vlm.prompt_utils import apply_chat_template from mlx_vlm.utils import load_config # Load the model model, processor = load("GreenBitAI/Qwen3.8-Flash-Next-4bit-paged") config = load_config("GreenBitAI/Qwen3.8-Flash-Next-4bit-paged") # Prepare input image = ["http://images.cocodataset.org/val2017/000000039769.jpg"] prompt = "Describe this image." # Apply chat template formatted_prompt = apply_chat_template( processor, config, prompt, num_images=1 ) # Generate output output = generate(model, processor, formatted_prompt, image) print(output) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use GreenBitAI/Qwen3.8-Flash-Next-4bit-paged with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "GreenBitAI/Qwen3.8-Flash-Next-4bit-paged"
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "GreenBitAI/Qwen3.8-Flash-Next-4bit-paged" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use GreenBitAI/Qwen3.8-Flash-Next-4bit-paged with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "GreenBitAI/Qwen3.8-Flash-Next-4bit-paged"
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default GreenBitAI/Qwen3.8-Flash-Next-4bit-paged
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use GreenBitAI/Qwen3.8-Flash-Next-4bit-paged with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "GreenBitAI/Qwen3.8-Flash-Next-4bit-paged"
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "GreenBitAI/Qwen3.8-Flash-Next-4bit-paged" \ --custom-provider-id mlx-lm \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Commit History
2 days ago
-
Update draft-head speed tables (v0.8.0)
Verified signatureb67fccd
14 days ago
-
State library_name: mlx
Verified signaturec46e48b -
Document gbx_lm generate and chat (v0.7.1)
Verified signature985b6b8
16 days ago
-
Tag the card gbx-lm
Verified signaturea548fb0
18 days ago
-
Model card: drop the duplicated command lines
Verified signatureTwo different python -m invocations became the same gbx_lm line, and were left printed twice.24639aa -
Model card: clear the old unpack directory when upgrading
Verified signatureA second version unpacks into the same directory as the first, and macOS kills a process that mixes two builds -- `Killed: 9`, with nothing to say why. The install now clears it, and both that and the PATH case are written out.51f2e7f
20 days ago
-
Model card: say what a smaller machine trades for fitting
Verified signaturePaging already said a machine that cannot hold the experts streams them. This says what that costs -- a wait on the SSD per token that routes to an expert not in memory -- without inventing a number we have not measured.ed2abcf -
Model card: use the server's own default port
Verified signature11688 is what gbx_lm listens on without being told, so the run command no longer passes --port and every example uses that port.ca36909 -
Model card: point Codex and Claude Code at the same server
Verified signatureThe server answers /v1/chat/completions, /v1/responses and /v1/messages on one port; the card now shows the provider and settings each client needs.ad1a720 -
Model card: install and run the signed gbx_lm binary
Verified signatureThe Python package is no longer published; the card now documents the notarised Apple Silicon binary, its macOS and chip requirements, and the memory this build actually takes.1e82b2f
27 days ago
-
Draft-head numbers: medians of three runs, 2026-09-18
Verified signature42134c6
28 days ago
-
List the draft head in the size table
Verified signaturedf998f1 -
Describe the draft head
Verified signature3121ef3 -
Add the MTP draft head as a sidecar in mtp/
Verified signature27b6ba6
-
card: name the GBX_PAGING=off and GBX_PLE=off switches
Verified signature8bbac5a
-
Add files using upload-large-folder tool
Verified signature949db74 -
initial commit
Verified signature9404a8c