North Mini Code is an open weights research release of a 30B-A3B parameter model optimized for code generation, agentic software engineering, and terminal tasks.
For more details about this model, please check out our
blog post
.
Try North Mini Code
You can try out North Mini Code before downloading the weights in OpenCode and our hosted
Hugging Face Space
.
Evaluation
Benchmarking Methodology [CLICK TO EXPAND]
We used SWE-Bench Verified, SWE-Bench Pro, Terminal-Bench v2, and Terminal-Bench Hard to benchmark North Mini Code's agentic coding capabilities. For evaluation harnesses, we used the Swe-Agent harness v1.1.0 for SWE-Bench, and a simple ReAct harness employing a single terminal-use tool based on Harbor's Tmux session implementation for Terminal-Bench v2. For Terminal Bench Hard, we directly used Terminus-2, following the same methodology as the Artificial Analysis Intelligence Index to compare North-Mini-Code-1.0 with the other models. Additionally, we used SciCode and LiveCodeBench v6 as complex code-generation benchmarks outside of tool use.
We run each benchmark with 3 different seeds and report the average benchmark performance, using temperature=1.0 and top_p=0.95. We used publicly reported scores for competitor models, either from original reports or the Artificial Analysis Intelligence Index, where available. Additionally, Gemma4’s scores for agentic coding tasks were reported by
Qwen team
. For benchmark results that any public report is missing, denoted by (*) in the figure, we run them internally using the recommended model configuration.
Usage
To use our model in transformers, please use our BF16 model weights. Our NVFP4_W4A16 checkpoint is designed to be used with vLLM and MLX-VLM and is not compatible with transformers due to lack of native 4-bit support.
vLLM
You can run the model in vLLM. Please use vLLM main for North Mini Code until a new release is available, and accurate response parsing also requires installing Cohere’s melody library.
Model Architecture
: North-Mini-Code-1.0 is a decoder-only Transformer-based sparse Mixture-of-Experts model. It uses an efficient attention implementation, interleaved between sliding-window attention with RoPE and global attention with no positional embeddings, in a 3:1 ratio. The feed-forward block is an MoE block with 128 experts, of which 8 are activated per token. Each expert block is an FFN block with SwiGLU activation. The router applies a sigmoid activation function to the logits before the top-k selection. We also use a single dense layer before the sparse layers. North-Mini-Code-1.0 was post-trained using a two-stage cascaded supervised fine-tuning (SFT) followed by reinforcement learning with verifiable rewards (RLVR), focusing on agentic coding. For more technical details, please check out our
blog post
.
Quantization Methodology:
We use NVFP4 W4A16 quantization (4-bit weights, 16-bit activations) for this model, delivering a much smaller memory footprint (~ 18-20GB) and faster inference while preserving coding accuracy. We quantize the MoE experts only, keeping attention, the dense layer, and the router at higher precision. Since the experts hold most of the model's parameters, this captures the bulk of the savings with minimal quality loss. To preserve quality, we use Quantization-Aware Distillation (QAD), training the quantized model to match the unquantized model's outputs,
achieving >99% overall accuracy recovery
across our evaluations. Since only weights are quantized, this format does not require native FP4 hardware and runs on pre-Blackwell GPUs such as Hopper and Ada.
Context Length:
North-Mini-Code-1.0 supports a context length of 256K & 64K output length.
Model Card Contact
For errors or additional questions about details in this model card, contact [
[email protected]
].
Runs of CohereLabs North-Mini-Code-1.0-w4a16 on huggingface.co
922
Total runs
36
24-hour runs
98
3-day runs
55
7-day runs
-337
30-day runs
More Information About North-Mini-Code-1.0-w4a16 huggingface.co Model
More North-Mini-Code-1.0-w4a16 license Visit here:
North-Mini-Code-1.0-w4a16 huggingface.co is an AI model on huggingface.co that provides North-Mini-Code-1.0-w4a16's model effect (), which can be used instantly with this CohereLabs North-Mini-Code-1.0-w4a16 model. huggingface.co supports a free trial of the North-Mini-Code-1.0-w4a16 model, and also provides paid use of the North-Mini-Code-1.0-w4a16. Support call North-Mini-Code-1.0-w4a16 model through api, including Node.js, Python, http.
North-Mini-Code-1.0-w4a16 huggingface.co is an online trial and call api platform, which integrates North-Mini-Code-1.0-w4a16's modeling effects, including api services, and provides a free online trial of North-Mini-Code-1.0-w4a16, you can try North-Mini-Code-1.0-w4a16 online for free by clicking the link below.
CohereLabs North-Mini-Code-1.0-w4a16 online free url in huggingface.co:
North-Mini-Code-1.0-w4a16 is an open source model from GitHub that offers a free installation service, and any user can find North-Mini-Code-1.0-w4a16 on GitHub to install. At the same time, huggingface.co provides the effect of North-Mini-Code-1.0-w4a16 install, users can directly use North-Mini-Code-1.0-w4a16 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
North-Mini-Code-1.0-w4a16 install url in huggingface.co: