Image-Text-to-Text
MLX
Safetensors
English
Chinese
glm5_next
gbx-lm
apple-silicon
expert-paging
mixture-of-experts
multimodal
conversational
4-bit precision
Instructions to use GreenBitAI/GLM-5.3-Flash-4bit-paged with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use GreenBitAI/GLM-5.3-Flash-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/GLM-5.3-Flash-4bit-paged") config = load_config("GreenBitAI/GLM-5.3-Flash-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/GLM-5.3-Flash-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/GLM-5.3-Flash-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/GLM-5.3-Flash-4bit-paged" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent
How to use GreenBitAI/GLM-5.3-Flash-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/GLM-5.3-Flash-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/GLM-5.3-Flash-4bit-paged
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use GreenBitAI/GLM-5.3-Flash-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/GLM-5.3-Flash-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/GLM-5.3-Flash-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
Yesterday
-
Describe image input
Verified signature9434359
4 days ago
-
Add DGX Spark support to the card
Verified signatured661569
6 days ago
-
Update draft-head speed tables (v0.8.0)
Verified signature7693666
18 days ago
-
State library_name: mlx
Verified signatured665bad -
Document gbx_lm generate and chat (v0.7.1)
Verified signature100862b
20 days ago
-
Tag the card gbx-lm
Verified signature26af35f
22 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.d727fe0 -
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.13ef472
24 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.70f2b59 -
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.3ce9429 -
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.a118554 -
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.1cf5164
-
Describe the draft head
Verified signature562088b
-
Update README.md
Verified signature9fb4ca0 -
Upload folder using huggingface_hub
Verified signatureb87a09e