by Barcelona Supercomputing Center

ALIA-40b-instruct-2601 review, pricing and limits

The instruction-tuned flagship of BSC's ALIA family, a Spain-funded open model aimed at Iberian languages.

Best for
Self-hosted Iberian-language assistant
Not for
Agents and tool-calling workflows
  • Beta
  • Open source

Should you use ALIA-40b-instruct-2601?

The 2601 build offers a 163,840-token window on a dense 40B model that BSC aligned with preference training. It suits teams that want a self-hosted, Apache-licensed assistant for Iberian languages, and it is a poor fit for agents, tool calling or maths.

Best for

  • Self-hosted Iberian-language assistant Post-training targets Spanish, Catalan, Basque and Galician and the weights run on your own servers.
  • Translation and summarization of Iberian-language text BSC lists translation and summarization as target tasks and trained on Flores-style and RAG-style conversations.
  • Studying multilingual post-training The card tabulates instruction data by language and licence and the scripts are public.

Not for

  • Agents and tool-calling workflows BSC lists no function calling and no agentic ability.
  • Maths-heavy or multi-step reasoning tasks BSC says robust reasoning and advanced maths are not guaranteed.
  • Critical applications without extra safety work BSC warns that alignment is incomplete and asks for extensive testing first.

ALIA-40b-instruct-2601 pricing

Pricing model
open-weights (free)
Free tier
Weights are free to download under Apache 2.0; hardware and hosting costs are yours.
TierRate
Self-hosted (Apache 2.0)Free weights from Hugging Face; cost is hardware and electricity only.
Hugging Face Inference EndpointsDedicated endpoint you deploy from the model page; billed by Hugging Face, price depends on the instance.

BSC runs no hosted API, so there is no per-token price. Downloading the weights costs nothing; the bill is whatever hardware you run them on. Hosting on Hugging Face Inference Endpoints is one route, billed by Hugging Face.

Self-hosting requirements

Self-hosted
Yes

What ALIA-40b-instruct-2601 can do

ALIA-40b-instruct-2601 is a 40.4B-parameter open-weights assistant model from the Barcelona Supercomputing Center, published in January 2026. BSC's card reports 45% on MMLU in a 0-shot run and a 13.3% average red-team attack success rate, with post-training focused on Spanish, Catalan, Basque, Galician and English.

What goes in and what comes out

Reads

  • text

Writes

  • text

Capabilities

  • Audio inputNot supported
  • Audio outputNot supported
  • Code executionNot supported
  • Function callingNot supported
  • Tool useNot supported
  • Video inputNot supported
  • VisionNot supported
  • Web browsingNot supported
Reasoning modes
standard

Key features

  • Two-step long-context adaptation

    BSC extended the base model from 4k to 32k tokens and then to 160k, in two documented steps, which BSC credits for the long-context gains over the 2512 build.

  • Iberian-language instruction data

    The supervised mixture holds 103,815 Catalan, 72,011 Basque and 71,123 Galician conversations beside 161,390 Spanish and 342,982 English ones.

  • Open training recipe

    Weights, training scripts and configuration files are public, and the card tabulates the licence of every supervised dataset.

  • Preference alignment with safety data

    The alignment set has 368,475 preference pairs, and the safety prompts cover nine harm categories in five languages.

Known limitations

  • No native function calling or agentic ability, per BSC's card.
  • Maths, multi-step reasoning and code are not strengths.
  • Alignment is preliminary: BSC's red-team test found a 13.3% average attack success rate.

Who it is for

  • NLP teams building Spanish, Catalan, Basque or Galician assistants on their own servers
  • Public-sector and university teams that need Apache-licensed models from a public publisher
  • Researchers studying multilingual post-training who want published recipes and data tables
  • Translation and summarization pipelines for Iberian languages

Supported languages

  • Spanish
  • Catalan
  • Basque
  • Galician
  • English

ALIA-40b-instruct-2601 benchmarks

Standout result

163,840

tokens of context after two-step long-context adaptation

Source: BSC model card on Hugging Face, read 2026-10-12

Benchmark scores

  • MMLU vendor-reported · 12 Oct 202645%General-knowledge exam across 57 subjects, % correct.

A benchmark is an exam, not the job. Scores transfer unevenly between tasks, so weigh the one closest to your workload and read every figure with its source.

Safety benchmarks

Red team judge
DeepSeek-V3-0324
Red team languages
Spanish, Catalan, English, Basque, Galician
Red team attack success rate pct
13.3

Strengths and limits

Strengths

  • No usage fees and no vendor lock-in: Apache-licensed weights run on your own hardware and your prompts stay in-house.
  • Instruction data is itemised by language and licence, which helps an audit of how the model was built.
  • A named public-sector publisher and funding source (NextGenerationEU, the Aina Project) can simplify provenance questions in procurement.
  • Post-trained on Spanish, Catalan, Basque, Galician and English with itemised instruction data.
Show 2 more
  • A 163,840-token window reached through documented two-step long-context adaptation.
  • Apache 2.0 weights with public training scripts and configuration files.

Limits

  • No native function calling or agent loops, according to BSC's own limitations list.
  • Maths and multi-step reasoning are weak: the card shows single-digit MGSM scores.
  • Needs multi-GPU hardware or quantization, since the BF16 weights alone are around 81 GB.

ALIA-40b-instruct-2601 alternatives

ModelLabContextIn / out per 1MReads and writes
ALIA-40b-instruct-2601 This pageBarcelona Supercomputing Center164K--text → text
Gemma 4 31BPick Gemma 4 31B for image input, tool use and a thinking mode; pick ALIA for Catalan, Basque and Galician post-training from a public publisher.Google262K--text, image → text
Qwen3.8-27BPick Qwen3.8 27B for a longer window and tool calling; pick ALIA when Iberian-language coverage and documented instruction data matter more.Alibaba Cloud262K$0.50 / $3text, image, video → text
Olmo 3.1 32B ThinkPick Olmo to audit published training data; pick ALIA for Spanish and co-official Spanish languages with an instruct-first design.Ai266K--text → text

ALIA-40b-instruct-2601 specs

Context window
164K tokens
Architecture
Transformer (dense, decoder-only)
Mixture of experts
No
Parameters
40.4B (40,433,885,184 dense)
VRAM requirements
About 81 GB for BF16 weights alone (40.4B parameters at 2 bytes each), before KV cache. BSC publishes no minimum.

Training data

Base ALIA-40b was pre-trained from scratch on curated text in 35 European languages plus code (9.83T tokens including continued pre-training). Post-training used 807,750 supervised conversations, much of it synthetic from DeepSeek-V3-0324, and 368,475 DPO preference pairs.

Weight formats

  • BF16 safetensors
  • GGUF

API endpoints

NameEndpointAuth
Hugging Face model page and Deploy buttonhttps://huggingface.co/BSC-LT/ALIA-40b-instruct-2601Hugging Face token

SDKs

  • Python

Prompting patterns

Show 1 prompting pattern
  • Low temperature, no repetition penalty

    temperature=0.1, repetition_penalty unset

    BSC's card says near-zero temperatures give the best results and repetition penalties hurt instruct answers.

Known quirks

Show 5 known quirks
  • Ollama can degrade its output

    BSC states that it strongly discourages Ollama for this model after finding compatibility issues that may seriously degrade performance.

    Workaround: Serve the full model with vLLM, or the quantized GGUF build with llama.cpp, and confirm the sampling settings match BSC's card.

  • Needs near-zero temperature

    BSC recommends temperatures of 0 to 0.2 and advises against any repetition penalty, which it says hurts instruct responses.

    Workaround: Set temperature to 0.1 and leave repetition penalty at its neutral value; raise temperature only for deliberate creative writing.

  • No native tool calling

    The card lists no function calling and no agentic ability, so tool schemas in the prompt are not honoured reliably.

    Workaround: Route tool-using steps to another model, or wrap ALIA behind your own parser and validate every structured output.

  • Weak on maths and long reasoning

    BSC says robust chain-of-thought and advanced maths are not guaranteed, and its own 0-shot MGSM scores are in single digits.

    Workaround: Send calculation to a code tool or a stronger reasoning model and use ALIA for drafting, translation and summaries.

  • Post-training covers five languages

    Alignment focused on Spanish, Catalan, Basque, Galician and English, so other languages in the pre-training mix may be uneven.

    Workaround: Test with 50 real prompts in your language before launch and keep a fallback model for languages that fail.

ALIA-40b-instruct-2601 facts

Deployment
Self-hosted · Hugging Face · vLLM · Llama Cpp
Trains on your data
No
Licence
Apache 2.0 · Open source
Safety posture
Balanced
Released
27 Jan 2026
Current version
ALIA-40b-instruct-2601
Family
ALIA
Variant
Instruct
Data retention
Self-hosted: BSC does not receive prompts or outputs. Retention depends on the host you choose, for example Hugging Face Inference Endpoints.

Safety controls

Dpo
Yes
Rlhf
No
System prompt
Yes
Constitutional AI
No
Content filter API
No
Moderation endpoint
No
Red teaming
internal red-team test reported on the model card

Data governance

Trains on inputs
No
Eu AI act classification
Not stated by BSC; the model card puts AI regulation compliance on the deployer.

Version history

  • ALIA-40b-instruct-2601 · 27 Jan 2026

    Better instruction following, input robustness, safety alignment and long-context handling than 2512.

  • ALIA-40b-instruct-2512

    Previous instruct build named on the model card; BSC gives no release day.

  • ALIA-40b (base) · 09 Dec 2024

    Base model published on Hugging Face; the instruct builds derive from its context-extended successor.

What changed

  • Release ALIA-40b-instruct-2601 published on Hugging Face source
  • Release ALIA-40b base model published source

Questions about ALIA-40b-instruct-2601

How much do you pay for ALIA-40b-instruct-2601?

Nothing for the weights: BSC publishes them under Apache 2.0 and runs no per-token API. Your cost is GPU time, and the full-precision model needs multi-GPU memory. Hugging Face Inference Endpoints can host it, with the price set by Hugging Face and the instance you choose.

Is ALIA-40b-instruct-2601 free to use?

Yes. The licence allows commercial use, and BSC's card describes the family as meant for research and commercial work. The limit is risk, not cost: BSC says deployers must test the model and comply with applicable AI regulation, and it warns against critical applications without extensive testing.

What should you use instead of ALIA-40b-instruct-2601?

For tool calling, pick Gemma 4 31B or Qwen3.8 27B. For fully published training data, pick Olmo 3.1 32B Think. For a smaller Iberian-language model on modest hardware, BSC's own Salamandra 7B Instruct has an 8,192-token context.

Is ALIA-40b-instruct-2601 better than Gemma 4 31B?

For general work, no. Gemma 4 31B accepts images, supports tool use and has a thinking mode, while BSC's card lists no function calling or agent support. ALIA wins only when Catalan, Basque or Galician coverage and a public Iberian publisher matter more than those features, so test both on your own text.

How long does it take to get going with ALIA-40b-instruct-2601?

On a machine with enough GPU memory, the Transformers snippet in BSC's card runs once the download finishes, so the wait is mostly the download and load. The Deploy button on Hugging Face builds a vLLM endpoint in a few clicks, which BSC recommends as a first deployment. Set temperature near 0.1 and leave repetition penalty off.

About ALIA-40b-instruct-2601

ALIA-40b-instruct-2601 is the instruction-tuned release in the ALIA family from the Barcelona Supercomputing Center (BSC), Spain's national supercomputing centre. It is a dense, decoder-only Transformer with 40,433,885,184 parameters, 48 layers, 64 attention heads with grouped-query attention and a 256,000-token vocabulary, published under the Apache 2.0 licence. It is the instruct variant of ALIA-40b, a base model BSC pre-trained from scratch, and per BSC's model card it improves on the earlier ALIA-40b-instruct-2512 in instruction following, input robustness, safety alignment and long-context behaviour.

Read the full background

The base model saw 9.37 trillion tokens of curated text in 35 European languages plus code, then 424 billion more high-quality tokens and 39 billion tokens from a similar mixture, for 9.83 trillion in total. Post-training has three stages. Long-context adaptation first stretched the window (2 billion tokens at 4k to 32k, then 36.8 billion at 32k to 160k). Supervised fine-tuning followed on 807,750 conversations, and preference alignment used Direct Preference Optimization on 368,475 pairs, about 82% aimed at helpfulness and 18% at safety. BSC states that much of the instruction and preference data is synthetic and was generated or judged with DeepSeek-V3-0324, a model from DeepSeek. Training ran on BSC's MareNostrum 5, whose accelerated partition has four NVIDIA Hopper GPUs per node; each post-training stage used 16 nodes and 64 GPUs.

The context window is 163,840 tokens and both input and output are text. BSC lists text generation, translation, summarization and question answering as the target tasks. Post-training concentrated on Spanish, Catalan, Basque, Galician and English, and BSC says performance in other languages is not guaranteed. The card also states plainly what the model does not do: it has no native function calling, no agent or autonomous workflow capability, no guarantee of reliable multi-step maths, and no specialisation in code.

BSC reports 0-shot results from EleutherAI's lm-eval suite. In English the card gives 45% on MMLU, 77% on Belebele, 73% on ARC-Easy and 9% on MGSM. In Spanish it gives 72% on Belebele and 41% on MMMLU. These figures are vendor-reported and not independently reproduced, BSC warns of about 1.5% variance depending on library version and tensor parallelism, and they are not comparable with the five-shot MMLU numbers quoted for other models on Hokai.

On safety, BSC ran a red-team test with adversarial prompts written by its own annotators in five languages, using DeepSeek-V3-0324 as the judge, and reports an average attack success rate of 13.3%. It describes alignment as substantially improved but incomplete and tells deployers to add their own filters, human oversight and evaluation before any critical use.

The weights are on Hugging Face as BF16 safetensors. BSC recommends vLLM for the full model and llama.cpp for the quantized GGUF build, and it discourages Ollama because of compatibility problems that can degrade output. It advises temperatures of 0 to 0.2 with no repetition penalty. BF16 weights alone come to roughly 81 GB (40.4 billion parameters at 2 bytes each) before the KV cache.

Choose it for self-hosted assistants, translation and summarization in Iberian languages where an Apache licence and a public-sector publisher matter. Choose Gemma 4 31B from Google DeepMind or Qwen3.8 27B from Alibaba Cloud when you need tool calling and a 262,144-token window, and Olmo 3.1 32B Think when published training data is the requirement. The ALIA work is funded by the Spanish Ministry for Digital Transformation through the NextGenerationEU project Modelos del Lenguaje and supported by the Government of Catalonia through the Aina Project.

Sources and guides

More AI Models on Hokai

  • Hy4 flashTencent's Hy4 flash, released 16 November 2026, is a lower-cost multimodal model that reads text and images across a 1M-token window.
  • Nemotron-Labs-SigmaNVIDIA's Nemotron-Labs-Sigma, released in November 2026 in 8B and 3B sizes, writes text by denoising whole blocks of tokens in parallel, not one at a time.
  • Qwen4 MaxAlibaba's Qwen4 Max, released 16 November 2026, is a sparse mixture-of-experts model with a 1M-token context and text, image and video input.
  • Gemini 4 HydrogenGoogle DeepMind's November 2026 Gemini 4 model for coding agents, with four thinking levels from low to xhigh and a free tier in AI Studio.
  • Qwen4-Max-PreviewAlibaba's November 2026 Qwen 4 flagship preview, open only to Token Plan subscribers, with three reasoning levels from low to xhigh.
  • Claude Fable 5Superseded by Fable 5.1 and Fable 5.2 but still sold on the Claude API: Anthropic's first generally available Mythos-class model, released June 2026, with a 1M-token context.