Skip to main content
MindStudio
Pricing
BlogAbout
My Workspace
run CCORE GLB-3D-Coder locallyLM Studio 3D modelGGUF Q4_K_M Q8_0

How to Run CCORE GLB-3D-Coder Locally in LM Studio

Step-by-step guide to running CCORE GLB-3D-Coder locally: GGUF formats, VRAM needs, system prompt, and sampling settings for text-to-3D.

Edited by Luis Chavez-Mattos, Director of Product RSS
How to Run CCORE GLB-3D-Coder Locally in LM Studio

What is CCORE GLB-3D-Coder and why run it locally?

CCORE GLB-3D-Coder is a free, open-weight 4B parameter coding model built on Qwen3.5-4B that turns a text description into a complete Three.js HTML page with a working “Export GLB” button. You run it locally because the output is just code: the model writes a self-contained HTML/JavaScript file, your browser renders the scene, and you export a GLB file ready for Godot or any editor that reads that format. No cloud inference, no API costs, and the Apache 2.0 license means you can use the outputs commercially.

TL;DR

  • CCORE GLB-3D-Coder is a 4B model fine-tuned from Qwen3.5-4B specifically to generate low-poly 3D game assets as Three.js HTML pages with GLB export built in.
  • The model ships in three formats: Q4_K_M GGUF, Q8_0 GGUF, and the original Safetensors checkpoint (five shards, about 17.49 GB, FP32 text weights plus BF16 vision weights).
  • Generation needs patience and space: the model was trained on examples up to 72K tokens, averages around 20K tokens per response, and an 8K output cap will cut off the HTML before it’s usable.
  • Recommended sampling is temperature 0.8, top K 40, top P 0.95, min P 0.0, repeat penalty 1.0, with thinking enabled and no reasoning-effort limit.
  • A specific system prompt tells the model to target the Godot editor’s GLB workflow and to build everything in one standalone HTML file using only Three.js.
  • The project also released its training data, CCORE ThreeJS-3D-GLB-Assets, with 3,918 tested examples across 40 domains, so you can inspect exactly what the model learned from.
  • If you downloaded the model before November 5, 2026, the filenames look the same but the weights were updated, so redownload to get the current checkpoint.
› Build a claims-review app for 400 adjusters.
already included:✓ HIPAA✓ access control✓ audit log✓ self-hosted
The enterprise platform for building software with AI.

How do you set up CCORE GLB-3D-Coder in LM Studio?

The basic flow is the same as loading any GGUF model in LM Studio or a similar local runtime:

  1. Download one of the GGUF files from the ccore/Qwen3.5-4B-GLB-3D-Coder repository on Hugging Face. Q4_K_M is the smaller, faster option; Q8_0 is the quantization the project used for its own recorded evaluation.
  2. Load the model in LM Studio (or llama.cpp, Ollama, or another runtime that supports Qwen3.5 architecture models).
  3. Paste in the system prompt (below) before sending any requests.
  4. Set the sampling parameters and output length as described in this article.
  5. Send a plain-English description of the asset you want.
  6. Copy the generated HTML into a file, open it in a browser, inspect the preview, and click Export GLB.
  7. Import the .glb file into Godot or whatever 3D-capable editor you’re using.

If you need image inputs as well as text, there’s an optional BF16 vision projector file (mmproj-Qwen3.5-4B-BF16.gguf, about 644 MiB) that plugs into a multimodal-capable GGUF runtime. It’s the unmodified Qwen3.5-4B vision encoder, so it doesn’t add 3D-specific capability, it just enables image understanding alongside the text model.

Which GGUF format should you choose: Q4_K_M or Q8_0?

Pick based on available VRAM and how much you care about matching the model’s evaluated behavior exactly.

Q4_K_M is the compact quantized version. It trades some precision for a smaller file size and faster load/inference, which matters most if you’re running on a single consumer GPU with limited VRAM.

Q8_0 is heavier but was the quantization used for the project’s own recorded evaluation. If you want outputs as close as possible to what the model card demonstrates, Q8_0 is the safer choice when your hardware allows it.

Original Safetensors weights are also available as the unconverted checkpoint: five shards totaling roughly 17.49 GB, using FP32 for text weights and BF16 for vision weights. This is the right option if you’re integrating the model into a custom pipeline rather than a GGUF-based local chat app, or if you want the full-precision source before doing your own quantization.

There’s no official benchmark table comparing quality loss across these formats in the model’s documentation, so the practical approach is to start with whichever fits your VRAM, and move to Q8_0 or the full checkpoint if you notice broken or incomplete GLB exports.

What sampling settings and system prompt does it need?

This model is sensitive to output length limits in a way that’s easy to miss if you’re used to shorter chat completions.

Sampling parameters used in the project’s evaluation:

ParameterValue
Temperature0.8
Top K40
Top P0.95
Min P0.0
Repeat penalty1.0

Output length: set the maximum output tokens to unlimited (-1 in runtimes that support it). The model was trained on examples reaching 72K tokens, and typical responses land around 20K tokens. An 8K cap is too restrictive and will truncate generation mid-thought or before the HTML closes out, leaving you with code that won’t run.

Dmitry ShapiroCEO, Remy
Live · Wed, Dec 2 · 12–4pm PT

Build an enterprise app with Dmitry Shapiro. Leave certified.

Bring an idea, deploy it live, and earn the AI Engineer Certification.
ex-Google product leadex-MySpace CTO

Thinking/reasoning: keep it enabled, with no effort cap and no separate thinking-token budget. The project has not validated quality with thinking disabled or restricted, so turning it off is untested territory rather than a safe shortcut.

The system prompt that drives the model’s behavior:

Create game assets for the Godot editor, which uses GLB files. Create whatever the user requests as a good-quality low-poly asset using only Three.js in one complete standalone HTML file. The HTML must show the asset and include an Export GLB button that downloads a working GLB. If the requested asset needs animation, add it and include the animation in the exported GLB; otherwise make it static.

This single instruction locks the model into producing self-contained, exportable files instead of generic Three.js snippets or explanations.

What kind of prompts work well?

Short prompts work for simple objects: “Create a white laboratory microscope with a rotating objective turret” or “Create a pine tree growing on a rocky mound.” For anything with multiple parts, specific materials, or mechanical plausibility (how straps route, how a backpack mounts, how rail wheels fit the track), longer briefs that name the object first and then describe components, colors, materials, placement, and movement tend to produce better results.

The model covers a wide range of game-asset domains: characters, enemies, bosses, companions, weapons, armor, props, modular architecture, vehicles (ground, air, and water), industrial machinery, lab equipment, urban props, farming assets, market stalls, traps, festival decorations, battlefield scenery, underwater structures, and puzzle elements. If you want animation, you have to ask for it explicitly and then verify it survived the GLB export, since not all animations carry through cleanly.

Is it worth running locally instead of using a general coding model?

For this specific task, yes, with caveats. The project’s own comparisons pit CCORE GLB-3D-Coder (4B) against DeepSeek V4.1 Flash 1017 running at high reasoning effort on identical prompts, covering things like a coral-armored lighthouse keeper, a frozen goblin watch camp, and a detailed magnetic-rail rescue engineer. A specialized 4B model competing with a much larger general-purpose model on a narrow task is the point: fine-tuning on 3,918 domain-specific examples (the released CCORE ThreeJS-3D-GLB-Assets dataset) buys consistency that a general coder doesn’t have out of the box for this exact output format (standalone Three.js HTML with a working GLB exporter button).

The tradeoffs are real. Generations are long and can take a while depending on your hardware, some outputs need a retry or manual code fix, and you should always inspect the exported GLB in your actual editor since materials, lighting, and animation can look different there than in the browser preview. If your workflow needs a steady stream of low-poly, editor-ready assets and you’d rather not pay per-call API costs, running it locally with the right settings is a reasonable trade for the setup effort.

Frequently Asked Questions

What hardware do I need to run CCORE GLB-3D-Coder locally?

Remy Certified AI Engineer badge
Live with Dmitry ShapiroEx-Google product lead · Ex-MySpace CTO

What you'll learn · Dec 2

  1. 01How enterprises really build with AI
  2. 02What full-stack means and why it's critical for business software
  3. 03Prompting that holds up in production
  4. 04Build and deploy your own app, live

The model card doesn’t publish explicit VRAM minimums, but as a 4B model it’s small enough to run on consumer GPUs using the Q4_K_M or Q8_0 GGUF quantizations. The original Safetensors checkpoint, at roughly 17.49 GB across FP32 text and BF16 vision weights, needs considerably more memory and is better suited to workstation-class GPUs or CPU offloading setups.

Why does my generated HTML come out incomplete?

This almost always traces back to an output token limit that’s too low. The model averages around 20K tokens per response and can go much higher, so an 8K cap will cut it off mid-generation. Set the output limit to unlimited (-1) where your runtime supports it.

Do I need the vision projector file?

Only if you want to feed images into the model alongside text prompts. It’s the standard Qwen3.5-4B vision encoder/projector, not something fine-tuned for 3D, so skip it if you’re only doing text-to-asset generation.

Can I use the generated assets commercially?

The model and its weights are released under Apache 2.0, which is permissive for commercial use, but always check the license terms on the specific repository version you download.

What if I downloaded the model before November 5, 2026?

The GGUF filenames didn’t change between versions, so a file with the same name as before may still be the old checkpoint. Delete any previously downloaded files and redownload them to make sure you’re running the updated weights.

Editorial standards

Presented by MindStudio

No spam. Unsubscribe anytime.