Model reference · open weights
S5-nano is an open-weight language model from maritaca-ai. S5-nano (BF16) weighs 9.3 GB; the smallest configuration that runs it is RTX 4060 Ti 16 GB.
For self-hosting, compare this build's requirements below with the GPU you plan to rent.
Summary of the maritaca-ai/S5-nano model card, 2026-11-10
What it is
| Released by | maritaca-ai |
|---|---|
| Released | 2026-11-02 |
| Parameters | 4.7B |
| VRAM | 9.3 GB for the weights |
What it runs on
| Card | Requests at once | Context max | Memory | |
|---|---|---|---|---|
| 8K each | 32K each | |||
| RTX 3060 12 GB | 3K | 11.6 GB | ||
| RTX 4060 Ti 16 GB | 10 | 3 | 116K | 15.4 GB |
| RTX 3090 24 GB | 32 | 10 | all 256K | 23.4 GB |
| RTX 4090 24 GB | 32 | 10 | all 256K | 23.4 GB |
| RTX 5090 32 GB | 52 | 16 | all 256K | 31.0 GB |
| L40S 48 GB | 87 | 27 | all 256K | 44.0 GB |
| A100 80 GB | 179 | 56 | all 256K | 78.2 GB |
| H100 80 GB | 165 | 52 | all 256K | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | 207 | 65 | all 256K | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | 244 | 77 | all 256K | 107 GB |
| H200 141 GB | 326 | 103 | all 256K | 138 GB |
| B200 180 GB | 428 | 135 | all 256K | 176 GB |
| 2× RTX 3060 12 GB tensor parallel | 26 | 8 | all 256K | 11.6 GB a card |
| Requests at once | 8K tokens each | 32K tokens each |
|---|---|---|
| 1 | 11.8 GB | 12.6 GB |
| 5 | 13.3 GB | 17.3 GB |
| 8 | 14.4 GB | 20.8 GB |
| 16 | 17.4 GB | 30.2 GB |
| 32 | 23.3 GB | 49.1 GB |
| 64 | 35.2 GB | 86.7 GB |
One card, with vLLM's small-card settings.
From the model card
This repository contains the BF16 version of S5-nano (9.3 GB), with the original, unquantized weights for vLLM and SGLang. The FP8 version reduces the weight size to 5.8 GB and is recommended for GPUs with native FP8 support. The GGUF versions are for llama.cpp and compatible applications, with BF16 (8.7 GB), Q8_0 (4.6 GB), and Q4_K_M (2.8 GB) options.
S5-nano is a 4B-parameter model built by Maritaca AI on Qwen3.5-4B through continued pretraining followed by post-training. It delivers substantial improvements on Brazilian benchmarks while maintaining strong performance in function calling, tool use, and structured outputs.
It has two modes:
The context window supports up to 262,144 tokens, and the weights include an MTP (multi-token prediction) layer for speculative decoding.
| Version | Format | Size | For |
|---|---|---|---|
| S5-nano | BF16 | 9.3 GB | vLLM, SGLang |
| S5-nano-FP8 | FP8 | 5.8 GB | vLLM, SGLang |
| S5-nano-GGUF | GGUF | 2.8 to 8.7 GB | llama.cpp |
FP8 is recommended for GPUs with native FP8 support (Ada, Hopper, and Blackwell). The GGUF repository provides BF16, Q8_0, and Q4_K_M variants.
The FP8 version uses E4M3 weights for linear layers, with one scale per output channel, and dynamically quantizes activations per token during inference. Embeddings, the vision encoder, the MTP layer, and some small projections remain in BF16.
Explore the results in Observatório Maritaca
Results for the original S5-nano checkpoint, evaluated in BF16 on text tasks.
Each primary metric is weighted equally.
Total, active, and effective parameter counts measure different things. LatamGPT 70B is a larger reference model; LFM2.5 has approximately 24B total parameters and 2B active parameters.
Bold indicates the best result within each group with a documented evaluation protocol, in the same mode. Different groups may produce more than one highlighted result in the same row. † indicates that the model produced reasoning in Instruct mode even though it was disabled in the request.
Sampling parameters match the mode-specific recommendations used for Qwen3.5-4B. The context window was 262,144 tokens, with the qwen3 and qwen3_coder parsers.
During evaluation, Think used the remaining context space for output, without an additional cap. Instruct generally used a 32,768-token limit. For MATH-PT, Instruct used the math configuration: temperature 1.0, top-p 1.0, top-k 40, presence penalty 2.0, and an 81,920-token limit. The llama.cpp usage examples below retain the recommended 32,768-token limit.
| Parameter | Think | Instruct |
|---|---|---|
enable_thinking | true (default) | false |
temperature | 1.0 | 0.7 |
top_p | 0.95 | 0.8 |
top_k | 20 | 20 |
min_p | 0.0 | 0.0 |
presence_penalty | 1.5 | 1.5 |
repetition_penalty | 1.0 | 1.0 |
max_tokens | 32,768 | 32,768 |
chat_template_kwargs; the same server
supports both modes.max_tokens can be increased to 81,920.generation_config.json includes the Think-modeQuoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.