cd /news/large-language-models/inkling-2-mini-3d-coder-run-it-local… · home › topics › large-language-models › article
[ARTICLE · art-179287] src=mindstudio.ai ↗ pub= topic=large-language-models verified=true sentiment=↑ positive

Inkling 2 Mini-3D-Coder: Run It Locally for Three.js Scene Generation

A LoRA fine-tune of Thinking Machines Lab's Inkling 2 Mini, released by ccore as Inkling 2 Mini-3D-Coder, generated 34.7% fewer output tokens on average than the base model across 19 test scenes at a matched 64K context while producing comparable or better Three.js scenes, with one scene (a family home cutaway) dropping 86.8%. On a 70-run evaluation panel, the base model hit its 64K context limit on 12 runs and failed to complete HTML on 13, while the epoch 5 checkpoint completed HTML on all 70 runs, 56 of which passed browser validation versus 44 valid renders from the base model. The weights ship as Q4_K_M, Q8_0 and F16 GGUF files plus merged BF16 safetensors and a standalone LoRA adapter under Apache 2.0, trained on 7,137 complete conversations and run locally with llama.cpp.

recommendation

Evaluate fine-tunes on a fixed run panel at your target context limit and count truncation failures, not just token averages; the epoch 5 checkpoint completed 70/70 HTML outputs where the base model failed 13.

more in playbook: Evals and testing for LLM apps
by read8 min views4 publishedDec 1, 2026
Inkling 2 Mini-3D-Coder: Run It Locally for Three.js Scene Generation
Image: Mindstudio (auto-discovered)

A guide to Inkling 2 Mini-3D-Coder, a GGUF fine-tune that writes Three.js scenes in far fewer tokens, with setup steps for llama.cpp.

What is Inkling 2 Mini-3D-Coder? #

Inkling 2 Mini-3D-Coder is a fine-tune of Thinking Machines Lab’s Inkling 2 Mini model, trained specifically to generate interactive Three.js scenes from a text description. Give it a prompt like “voxel red panda” or “Manhattan diorama” and it outputs a single standalone HTML file that renders in a browser using the Three.js r160 core module. The project was built and released by ccore, trained on Thinking Machines Lab’s Tinker platform, and ships as GGUF files sized for local use with llama.cpp.

The headline result isn’t new capability so much as efficiency: in testing across 19 scenes, the fine-tuned model used 34.7% fewer output tokens on average than the base model to produce comparable or better scenes, with the strongest single case reaching an 86.8% reduction. For anyone generating 3D content locally, where context windows and generation time are hard limits, that difference is often the gap between getting a finished scene and getting a truncated file.

TL;DR #

  • Inkling 2 Mini-3D-Coder is a LoRA fine-tune of Inkling 2 Mini trained on Tinker specifically to write Three.js scenes as standalone HTML files.
  • The fine-tune cut generated tokens by 34.7% on average across 19 test scenes at a matched 64K context, with one scene (a family home cutaway) dropping 86.8%.
  • On a 70-run evaluation panel, the base model hit its 64K context limit on 12 runs and failed to complete HTML on 13 , while the epoch 5 checkpoint completed HTML on all 70.
  • The model requires a specific system prompt that restricts it to the Three.js ES module from a pinned CDN URL and forbids addon imports, matching what it saw in training.
  • Weights are available as Q4_K_M, Q8_0, and F16 GGUFs , plus merged BF16 safetensors and a standalone LoRA adapter, all released under Apache 2.0.
  • Training data came from 7,137 complete conversations across two internal Three.js scene datasets (released separately under MIT), each fit into a 64K token budget covering prompt, reasoning, and final code.
  • The release is an early preview : the author trained through epoch 7 and may update the published GGUFs after comparing later checkpoints against epoch 5.

1,284

37

6

Vendor Tier Risk Approval <sup>NEW</sup>
Northwind Supply Tier 1 Low Approved
Acme Logistics Tier 2 Medium Approve
Helios Data Tier 1 High Pending
Granite Freight Tier 3 Low Approved
Pinecrest Labs Tier 2 Low Approve

Why does token efficiency matter for 3D scene generation? #

Generating a full Three.js scene as HTML is a long-output task. The model has to reason about geometry, lighting, camera setup, and object placement, then write out complete working code, often tens of thousands of tokens for anything beyond a trivial scene. If a model runs out of context before it reaches the closing HTML tag, you get nothing usable, not a partial scene you can patch.

That’s what happened repeatedly with the unmodified base model in testing. On a 70-run evaluation panel, the base model hit its 64K context ceiling on 12 runs and failed to produce complete HTML on 13 of 70 attempts. The fine-tuned checkpoint completed HTML on all 70 runs at the same context limit. Of those, 56 passed a browser validation check (the scene draws via WebGL without console or page errors), compared to 44 valid renders from the base model, despite the base getting more attempts.

The token savings aren’t just about speed. For local generation on consumer hardware, a smaller completion means less wall-clock time per scene and a lower chance of blowing past a context window that’s already tight after accounting for a long system prompt and reasoning trace.

How was the model trained? #

The fine-tune is a rank-16 LoRA trained on Tinker, Thinking Machines Lab’s fine-tuning platform, using 7,137 complete conversations. Training data came from two datasets built by the same author: 3,889 conversations from ThreeJS 3D Scenes v1 and 3,248 from v2. Each conversation was constructed to fit a full system prompt, user scene request, model reasoning, and the final HTML output inside a 64K token window, with the intended output being one HTML file using the Three.js r160 core module and hand-rolled camera controls (no external addons).

The author’s earlier attempt at a similar fine-tune on a different base model (Qwen3.5-4B) ran into trouble: longer LoRA training runs started distorting object proportions and exaggerating sizes as training continued. The working theory is that Inkling 2 Mini already had stronger underlying geometry and scene-rendering ability, so the LoRA needed to teach it conciseness and reliability rather than teach it 3D generation from scratch. That’s consistent with what the comparison images show: the fine-tune tends to produce similarly structured scenes to the base model, just with less wasted token budget on redundant reasoning or verbose code.

Evaluation used 10 held-out validation scenes plus nine external prompts never seen in training, each run across multiple seeds and temperatures, with reasoning effort fixed at 0.9 and a 65,536-token context ceiling on both sides of the comparison.

How do you run it locally with llama.cpp? #

The model is distributed as GGUF files sized for llama.cpp, in three quantization levels:

  • Q4_K_M : smallest footprint, lowest memory use, some quality tradeoff.
  • Q8_0 : a middle ground between size and fidelity.
  • F16 : full half-precision weights, largest file, closest to the original merged model.

Build a credit limitreview app for800 relationshipmanagers

One prompt. Role-based access, audit trail and SSO come built in.

All three were verified to run a short generation on CPU. To use it for scene generation, load the GGUF in llama.cpp (or llama-server) and set the system prompt to the exact one used in training:

Use only the Three.js core ES module from https://cdnjs.cloudflare.com/ajax/libs/three.js/0.160.0/three.module.min.js. Do not import addons or legacy examples/js paths; implement any camera controls directly inside the HTML.

Put your scene description in the user message, for example “a Victorian conservatory at dusk with a fountain and tropical plants.” The model will output HTML. Save that output as index.html and open it directly in a browser, no build step or bundler needed, since the whole scene is self-contained and pulls Three.js from a CDN at runtime.

The system prompt isn’t optional cosmetic text. It matches the exact constraint the model trained against (core ES module only, no addons, no legacy example paths), so deviating from it risks the model reaching for imports or APIs it wasn’t trained to use reliably.

There’s also an optional multimodal projector file, mmproj-Inkling-2-Mini-BF16.gguf (642 MB), which is the original Inkling 2 Mini vision projector, not something trained for 3D generation. It enables basic image input alongside the text model and was verified working on CPU with the Q4_K_M GGUF, but the 3D fine-tune itself was trained and evaluated purely on text prompts.

Is Inkling 2 Mini-3D-Coder worth using over the base model? #

For anyone running Three.js scene generation locally, the practical case is straightforward: fewer tokens per scene means faster generation and a meaningfully lower chance of hitting a context wall before the HTML closes. The base model needed a larger context window (128K or 256K in several documented cases) just to finish scenes that the fine-tune completed inside 64K, and even then the base occasionally failed the browser validation check that the fine-tune passed.

The tradeoffs worth knowing about: this is explicitly labeled an early preview, and the author is still training further checkpoints (through epoch 7) and comparing them against epoch 5 before settling on a final release, meaning the published GGUFs could be swapped out. It’s also narrow in scope: it’s good at the thing it was trained for (self-contained Three.js HTML scenes using the core module), not general coding or broader web development. If your use case is exactly “describe a 3D scene, get working Three.js code to run locally,” it’s a solid fit. If you need a general-purpose coding model, this isn’t that.

Frequently Asked Questions #

What base model does Inkling 2 Mini-3D-Coder use?

It’s a LoRA fine-tune of Thinking Machines Lab’s Inkling 2 Mini, trained on the Tinker platform and merged back into the base weights for this release.

What quantization should I pick for local use?

Q4_K_M gives the smallest file and lowest memory footprint, Q8_0 balances size against quality, and F16 preserves the most fidelity at the largest file size. All three were confirmed to run on CPU in llama.cpp.

Does it require a specific system prompt?

Yes. It needs the exact system prompt used in training, which restricts the model to the Three.js core ES module from a pinned CDN link and bans addon or legacy example imports, with camera controls implemented directly in the HTML.

› Build a shift-handoff app for 900 nurses.

already included:✓ HIPAA✓ access control✓ audit log✓ self-hosted

How much faster is it than the base model?

It used 34.7% fewer tokens on average across 19 test scenes at a matched context limit, with results ranging roughly from 34% to 86.8% depending on the scene’s complexity.

Can it take image input as well as text?

A separate optional multimodal projector file enables basic image input, carried over from the original Inkling 2 Mini, but the 3D-coding fine-tune itself was trained and tested only on text prompts.

── more in #large-language-models 4 stories · sorted by recency
── more on @inkling 2 mini-3d-coder 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/inkling-2-mini-3d-co…] indexed:0 read:8min 2026-12-01 · —