[Paper Review] Sabiá-3 Technical Report
Sabiá-3 is a domain-specialized large language model trained on a large, high-quality Brazilian Portuguese corpus to enhance performance on Brazil-specific knowledge, reasoning, and instruction-following tasks. It achieves state-of-the-art results on Portuguese academic and professional benchmarks—surpassing even GPT-4o in several cases—while operating at 3–4× lower cost per token than frontier models, demonstrating the effectiveness of domain specialization in low-resource language settings.
This report presents Sabiá-3, our new flagship language model, and Sabiazinho-3, a more cost-effective sibling. The models were trained on a large brazilian-centric corpus. Evaluations across diverse professional and academic benchmarks show a strong performance on Portuguese and Brazil-related tasks. Sabiá-3 shows large improvements in comparison to our previous best of model, Sabia-2 Medium, especially in reasoning-intensive tasks. Notably, Sabiá-3's average performance matches frontier LLMs, while it is offered at a three to four times lower cost per token, reinforcing the benefits of domain specialization.
Motivation & Objective
- To develop a large language model specialized for Brazilian Portuguese and Brazil-specific content to improve performance on local knowledge and reasoning tasks.
- To reduce inference cost while maintaining or exceeding performance of frontier models through domain specialization.
- To enhance instruction-following and agentic capabilities in a low-resource language setting using synthetic and human-annotated data.
- To address limitations in reasoning and multi-step task execution observed in prior models like Sabiá-2 Medium.
- To evaluate performance across diverse benchmarks, including national exams, code generation, and agentic environments.
Proposed method
- Continual pre-training of a base model on a curated, Brazil-centric corpus of high-quality Portuguese texts using self-supervised next-token prediction.
- Application of heuristic and model-based filtering to improve data quality during pre-training.
- Use of TPU v5 accelerators with JAX for distributed training via data and model parallelism to scale efficiently.
- Post-training via instruction tuning using a mix of human-annotated and synthetically generated instructions to improve alignment and reasoning.
- Incorporation of synthetic examples to induce self-awareness and improve reasoning in the model.
- Evaluation using a suite of benchmarks including Brazilian academic exams, code generation, and agentic tasks via AgentBench.

Experimental results
Research questions
- RQ1Can a domain-specialized LLM trained on Brazilian Portuguese data outperform generalist models on Brazil-specific knowledge and reasoning tasks?
- RQ2To what extent does domain specialization reduce cost per token while maintaining or improving performance on benchmark tasks?
- RQ3How does Sabiá-3 compare to state-of-the-art models like GPT-4o and Llama 3.1 in reasoning-intensive and instruction-following tasks in Portuguese?
- RQ4What improvements does Sabiá-3 show over its predecessor, Sabiá-2 Medium, in multi-step reasoning and agentic capabilities?
- RQ5In which domains does Sabiá-3 still underperform, and what are the primary failure modes in complex reasoning or instruction-following?
Key findings
- Sabiá-3 outperforms Sabiá-2 Medium on 76% of 54 ENADE exams, with a 70% reduction in errors in Economics and Computer Engineering.
- On the 52-Brazilian-exams benchmark, Sabiá-3 matches the average performance of frontier LLMs like GPT-4o and Llama 3.1 405B, despite a 3–4× lower cost per token.
- Sabiá-3 achieves an overall agentic performance score (OA) of 2.9 on AgentBench, outperforming Sabiá-2 Medium (0.9) and approaching GPT-4o Mini (3.1), particularly excelling in web-grounded tasks (62.5 in WS).
- In the BFCL benchmark, Sabiá-3 achieves a 97.56% overall accuracy on the Live (AST) task, significantly outperforming GPT-4o (82.91%) and Claude 3.5 Sonnet (75.91%) in relevance and irrelevance detection.
- Despite strong performance, Sabiá-3 still underperforms in Chemical Engineering, Mechanical Engineering, and Accounting on ENADE, indicating persistent challenges in technical domains.
- Sabiá-3 demonstrates competitive performance in code-grounded tasks (OS: 29.2, DB: 28.7), though it lags behind GPT-4o (38.9 and 52.7) and Llama 3.1 405B (43.0 and 58.3), suggesting room for improvement in coding and system interaction.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.