Blog
CCORE Web Coder 4Brun locallyGGUF Q4_K_M

How to Run CCORE Web Coder 4B Locally (GGUF Sizes, Speeds)

Run CCORE Web Coder 4B locally: GGUF file sizes, recommended sampler settings, the 20K-token output limit, and tokens per second on RTX and Mac hardware.

Portrait of Luis Chavez-Mattos
Edited by Luis Chavez-Mattos, Director, Product··RSS

For Engineering and IT

A freelance web designer stands with both hands in her jacket pockets as an open laptop floats beside her head, its browser showing a finished page of blank image blocks and bars with no text.

How do you run CCORE Web Coder 4B locally?

Download one of the GGUF files from the model's Hugging Face page (Q4_K_M at 2.71 GB, Q8_0 at 4.48 GB, or F16 at 8.42 GB), load it in a GGUF-compatible runner, and paste in the model's system prompt. Set temperature to 0.6 to 0.8, top-k to 40, top-p to 0.95, min-p to 0.05, and repeat penalty to 1.0. Most important, remove the output cap. A full response uses around 20,000 tokens, and a cap of 8K can cut the page off before it finishes.

TL;DR

  • CCORE Web Coder 4B turns one written brief into a single HTML file (a website, slide deck, or web infographic) that opens in any browser.
  • The weights are released under the Apache 2.0 license. The model was trained from Qwen3.5-4B-Base by an independent developer.
  • Q4_K_M is the smallest download at 2.71 GB. Q8_0 (4.48 GB) is the format used for the preview demos. F16 is 8.42 GB.
  • Do not cap output at 8K tokens. A full response runs about 20,000 tokens including reasoning, so use unlimited output (-1 where supported) or a very high limit.
  • Reported Q8_0 speeds for a roughly 19,000-token page: 240 tokens per second on an RTX 5090, about 120 on a Mac Studio, 110 on an RTX 5070, and 60 on an RTX 3070 Mobile.
  • If you downloaded Q8_0 before November 23, 2026 at 13:03:39 UTC, delete it and download it again.

What is CCORE Web Coder 4B?

It is a small language model (about 4 billion parameters) fine-tuned for one job: taking a plain-English brief and returning a complete, working web page. The output is one HTML file containing the React components, styles, and interactions. You save it as index.html and double-click it.

The model supports three kinds of output:

  • Websites and interfaces, with working navigation and the interactions you asked for.
  • Slide decks, with on-screen navigation and a Save as PDF button that opens the browser print dialog.
  • Informational pages, such as a one-page report with a chart and a comparison.

The developer trained it by pairing briefs with complete React documents, then reviewing the results in a browser. The training dataset is public, with 3,500 web design examples (CCORE Web Designs on Hugging Face).

Because it runs locally, your brief never leaves your machine. That matters if the brief contains draft figures, client names, or anything you would not paste into a public chatbot.

Which GGUF file should you download?

GGUF is a file format for running models on personal computers. Quantization means the model's numbers are stored at lower precision, which shrinks the file and usually lowers the memory you need. The trade-off is that heavier compression can cost some output quality.

FormatDownload sizeWhat the model card says
Q4_K_M GGUF2.71 GBThe smallest download for local inference.
Q8_0 GGUF4.48 GBThe format used for the preview demos.
F16 GGUF8.42 GB16-bit weights for GGUF runtimes.
Original Safetensors17.49 GB totalFive shards for Transformers, with FP32 text weights and BF16 vision weights.

A practical way to choose:

  • Start with Q8_0 if your machine can hold it. It is the version the developer used for the demos, so what you see in the previews is what you should get.
  • Use Q4_K_M if you have a smaller graphics card, limited memory, or a slow connection. It is the lightest option.
  • Use F16 only if you want the full 16-bit weights and have the room.
  • Use the Safetensors files only if you plan to work in Python with the Transformers library. Most people reading this do not need them.

Your machine needs memory for more than the file itself. The model also keeps a working memory (the context) that grows as it writes, and a 20,000-token response is long. Leave headroom above the file size, especially on the larger formats.

There is also an optional 641 MiB vision projector for image-input experiments. It holds the original Qwen3.5-4B-Base vision weights converted to GGUF by mradermacher, and you load it alongside a model file in a multimodal runtime. You do not need it to generate pages from text briefs.

One important warning: the Q8_0 file was updated. If you downloaded it before November 23, 2026 at 13:03:39 UTC, delete your copy and download it again. The final checkpoint uses the same filename as the earlier release, so you cannot tell by looking at the name.

What settings does it need?

These are the sampler settings from the model card. Samplers control how the model picks each next word, so they affect how varied and how stable the output is.

SettingValue
Temperature0.6 to 0.8
Top-k40
Top-p0.95
Min-p0.05
Repeat penalty1.0

A repeat penalty of 1.0 means no penalty. Some runners default to something higher, so check it. Repeated class names and tags are normal in HTML, and penalizing them can damage the page.

Two other instructions from the card matter as much as the numbers:

  1. Keep thinking enabled and do not set a separate reasoning budget. The model reasons before it writes the HTML, and that reasoning counts toward the total output.
  2. Set the system prompt. The card provides one in the model page's collapsed "System prompt" section. It tells the model to return one complete HTML document, load React 18.3.1, ReactDOM, and Babel from a CDN in a set order, put all CSS in one style block, and build responsive layouts for 390px and 1440px widths. Copy it exactly.

If you use llama.cpp, the flags look like this (a sketch, so check your version's documentation):

llama-server -m ccore-web-coder-Q8_0.gguf -c 32768 -n -1 --temp 0.7 --top-k 40 --top-p 0.95 --min-p 0.05 --repeat-penalty 1.0

The context size of 32768 is my suggestion, not the card's. It leaves room for your system prompt, your brief, and a 20,000-token answer. Apps such as LM Studio expose the same settings in a sidebar.

Why does the output limit matter so much?

A normal chatbot answer is a few hundred tokens. A token is a chunk of text, roughly three-quarters of a word. This model writes an entire web page, so a full response typically uses around 20,000 output tokens, counting both its reasoning and the HTML.

Many tools ship with a default output cap well below that. The model card is direct about the consequence: an 8K cap can stop generation before the closing </html> tag. You get a file that looks almost right and breaks in the browser, or shows a blank page.

The fix is to use unlimited output (-1 in runtimes that support it) or set a limit large enough for the whole document. If a page comes out truncated, check this setting before you blame the model.

How fast is it on RTX and Mac hardware?

The developer's preview recorded Q8_0 generation rates for a page of about 19,000 tokens. I added the rough wait times by dividing 19,000 by each speed.

HardwareReported speedApproximate time for a 19,000-token page
RTX 5090240 tokens per secondabout 80 seconds
Mac Studioabout 120 tokens per secondabout 2.5 to 3 minutes
RTX 5070110 tokens per secondabout 3 minutes
RTX 3070 Mobile60 tokens per secondabout 5 minutes

These are single-developer preview figures, not a controlled benchmark, and your results will vary with your runner, context size, and settings. Treat them as a guide to what is realistic. Even on the slowest listed card, a full page takes minutes, not hours.

Q4_K_M files are smaller, but the card does not report speeds for them, so I will not guess.

How do you get a good result from a brief?

The card says to describe the audience, the information to include, and what the page should help them do. Its example briefs show the pattern: a subject, specific facts, and an action.

Make a proposal deck for an evening language-support session after an illustrative survey found 22 of 60 respondents could not attend daytime hours. The pilot needs two helpers for four weekly sessions.

A template you can reuse:

Make a [website / slide deck / one-page report] for [audience].
Include: [the exact figures and facts, written out].
The reader should be able to [decision or action].

Then check the work:

  1. Save the output as index.html and open it in a browser. The page loads React, ReactDOM, and Babel from a CDN, so you need an internet connection to view it.
  2. Compare every number on the page against your brief. The developer reviewed charts against the figures in the brief for the same reason. A small model can still get a figure wrong.
  3. For a deck, use the Save as PDF button. The prompt asks for one A4 page per slide in print, in a wide (horizontal) orientation.
  4. Label made-up data as illustrative. The system prompt asks for this.

What are the limits?

The card describes what the model is designed to do, and it does not publish benchmark scores. A few things follow from that:

  • It produces single-file, front-end pages. It does not build a back end, a database, or user logins.
  • Images come from publicly accessible URLs the model chooses, with a styled fallback if they fail to load. Check that they show what you expect.
  • Its output is a starting point. The prompt asks for named components and descriptive class names so the work can later move into a Vite project, but a person still needs to edit and review it.

What if you need more than a single HTML page?

A local page generator is good for a mock-up, a one-off deck, or a quick infographic. When the page needs to become a tool people use, such as a request form that saves submissions, a tracker with logins, or a dashboard on live data, you need a database and hosting behind it. Remy builds that from a plain-English description. It produces a full-stack app with a database, sign-in, and a live URL, and you own the code. Pricing is $99 per month, or $79 billed annually, with AI usage billed at cost. That can replace a spreadsheet and an extra subscription for an internal process.

Frequently Asked Questions

4 questions

Is CCORE Web Coder 4B free to use?

The model weights are released under the Apache 2.0 license, and you can download them at no charge. Running it locally uses your own hardware, so there are no per-token fees. The developer funds the project through voluntary donations.

Why did my page cut off partway through?

The most likely cause is an output limit that is too low. A full response uses around 20,000 tokens, and the model card warns that an 8K cap can stop generation before the closing </html> tag. Set output to unlimited (-1 where supported) or to a large number, and make sure your context size is big enough.

Do I need the vision projector file?

No. It is optional and meant for image-input experiments in a compatible multimodal runtime. Generating a page from a written brief needs only one of the model GGUF files and the system prompt.

What should I do if I downloaded Q8_0 a while ago?

Check when you downloaded it. If it was before November 23, 2026 at 13:03:39 UTC, delete the local copy and download Q8_0 again. The final checkpoint kept the same filename as the earlier release, so the name will not tell you which version you have.

How we source, write, and correct our articles. Editorial standards

Related articles

Straight to your inbox.
New pieces as they publish. No noise.