Model reference · open weights

S5-nano

LLMs maritaca-ai Vision + text 1 build Open weights 581 dl/mo

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.

  • S5-nano is a 4.7B parameter image-text-to-text model developed by Maritaca AI.
  • It supports a context length of 262,144 tokens and operates in Portuguese and English.
  • The model is released under the Apache 2.0 license.

Summary of the maritaca-ai/S5-nano model card, 2026-11-10

What it is

Released bymaritaca-ai
Released2026-11-02
Parameters4.7B
VRAM9.3 GB for the weights

What it runs on

Memory and cards for S5-nano (BF16)

9.3 GBweights, file size
33 MBcache per 1K tokens
103 MBfixed state per request
2.1 GBruntime overhead, at least
262,144 tokenscontext max
CardRequests at onceContext maxMemory
8K each32K each
RTX 3060 12 GB3K11.6 GB
RTX 4060 Ti 16 GB103116K15.4 GB
RTX 3090 24 GB3210all 256K23.4 GB
RTX 4090 24 GB3210all 256K23.4 GB
RTX 5090 32 GB5216all 256K31.0 GB
L40S 48 GB8727all 256K44.0 GB
A100 80 GB17956all 256K78.2 GB
H100 80 GB16552all 256K78.1 GB
RTX PRO 6000 Blackwell 96 GB20765all 256K93.8 GB
DGX Spark (GB10) 128 GB unified24477all 256K107 GB
H200 141 GB326103all 256K138 GB
B200 180 GB428135all 256K176 GB
2× RTX 3060 12 GB
tensor parallel
268all 256K11.6 GB a card
Memory needed at each load
Requests at once8K tokens each32K tokens each
111.8 GB12.6 GB
513.3 GB17.3 GB
814.4 GB20.8 GB
1617.4 GB30.2 GB
3223.3 GB49.1 GB
6435.2 GB86.7 GB

One card, with vLLM's small-card settings.

From the model card

What maritaca-ai says about S5-nano

Read 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:

  • Think: reasons before answering (the default mode).
  • Instruct: answers directly, without a reasoning step.

The context window supports up to 262,144 tokens, and the weights include an MTP (multi-token prediction) layer for speculative decoding.

Versions

VersionFormatSizeFor
S5-nanoBF169.3 GBvLLM, SGLang
S5-nano-FP8FP85.8 GBvLLM, SGLang
S5-nano-GGUFGGUF2.8 to 8.7 GBllama.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.

Evaluation results

Explore the results in Observatório Maritaca

Results for the original S5-nano checkpoint, evaluated in BF16 on text tasks.

Averages

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.

Results by benchmark

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.

  • BLUEX: 173 questions and 395 subquestions. One grading result for S5-nano Think and one for LFM3 Think did not produce valid JSON; GAIA Instruct had three failures due to the judge's context limit. These cases receive zero under the native scoring rules, remain in the denominator, and are reported in the completed evaluations. Their scores are included in the averages.
  • Prosa-PT: 981 conversations after 19 fixed exclusions. Rubrics without a recognized verdict are excluded from the denominator, following the native grader.
  • Arena-Hard v2: the primary score uses 100 hard tasks, with the native weighting and bootstrap procedure. The 50 creative-writing prompts are excluded from this score.
  • CAPITU: 200 single-turn prompts and 100 three-turn conversations. Citation grading accounts for typographic quotation marks; full-conversation results are a secondary metric.
  • Lumen: 1,296 scenarios and 22 benign controls. Tucano Think completed 0/22 controls and is not assigned a safety score: its lack of harmful actions is not treated as demonstrated safety. This result is excluded from the averages.
  • MMLU-PT and Global-MMLU PT: answer choices were extracted from chat responses; no equivalence is claimed with evaluations based on answer-choice probabilities.
  • CulturalBench Hard: 1,227 groups, with four answers per group. A group counts as correct only when all four answers are correct.
  • Structured Output Benchmark: weighted score over the 5,000 text items; the 324 OCR/transcription inputs are excluded from the primary denominator.
  • BrowseComp-Plus: correct answers divided by all 100 selected questions.
  • LongBench v2: 503 questions. Context limits vary by model; confirmed context-overflow cases receive zero and remain in the evaluation population.
  • OAB-Bench: 210 questions from editions 39–44, across seven subject areas and 42 exams. Magis-Bench: 74 questions and 24 exam sections. Both use their native exam/section aggregation, converted to a 0–100 scale.
  • CondutaBench: a stratified sample of 140/715 questions, covering 14 guidelines. ENADE-QA: the health-domain subset, with 716 questions.
  • Tool calling not supported indicates that no tool-use evaluation is available; it is not a score of zero.
S5-nano evaluation setup

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.

Recommended generation parameters

ParameterThinkInstruct
enable_thinkingtrue (default)false
temperature1.00.7
top_p0.950.8
top_k2020
min_p0.00.0
presence_penalty1.51.5
repetition_penalty1.01.0
max_tokens32,76832,768
  • Select the mode per request with chat_template_kwargs; the same server supports both modes.
  • For harder problems in Think mode, max_tokens can be increased to 81,920.
  • generation_config.json includes the Think-mode

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms