---
last_updated: 2026-11-21
source_url: https://opper.ai/bsc/alia-40b-instruct-2601
title: "ALIA 40B Instruct 2601 by Barcelona Supercomputing Center"
description: "ALIA 40B Instruct 2601, Spain's publicly funded 40B multilingual model from the Barcelona Supercomputing Center, Apache 2.0 and pretrained across 35 European languages."
---

# ALIA 40B Instruct 2601

By [Barcelona Supercomputing Center](https://opper.ai/bsc).

ALIA-40b-instruct is the instruction-tuned release of Spain's public language model, built by the Language Technologies Lab at the Barcelona Supercomputing Center and trained from scratch on MareNostrum 5, the EuroHPC pre-exascale system BSC hosts. The base model saw 9.83 trillion tokens of curated data across 35 European languages and code, and the 40.4-billion-parameter architecture runs 48 layers with grouped-query attention. The context-extended base supports up to 163,840 tokens, though the window an individual route serves may be shorter.

Post-training covers 808k instruction conversations and 368k preference pairs, concentrated on Spanish, Catalan, Basque, Galician, and English. The 2601 checkpoint improves on 2512 with stronger instruction adherence, better resilience to noisy or malformed input, tightened safety alignment, and improved long-context behaviour. Conversations use the ChatML template.

Weights, training scripts, and configurations are released under Apache 2.0, with funding from Spain's Ministry for Digital Transformation and support from the Catalan government's Aina project. It fits multilingual assistants, summarisation, and translation work across Iberian and other European languages, particularly where a fully open, publicly funded model is preferred over a commercial one.

## Available routes

ALIA 40B Instruct 2601 runs on 1 route through the Opper gateway. Prices are per 1M tokens. In the EU it is served by Nextbit (Spain). [See every model hosted in the EU](https://opper.ai/models/eu). Its routes and prices, live from the catalogue, are public JSON with no API key needed at https://api.opper.ai/v3/models?q=nextbit%3Aeu%2Falia-salamandra%3A40b.

| Provider | Model id | Region | Zero data retention | Training | Input | Output | Cache read |
| --- | --- | --- | --- | --- | --- | --- | --- |
| [Nextbit](https://opper.ai/provider/nextbit) | `nextbit:eu/alia-salamandra:40b` | EU (Spain) | Yes | No | $0.30 | $0.60 | Input price |

## Key info

- Model id: `nextbit:eu/alia-salamandra:40b`
- Input: Text
- Output: Text
- Features: Tools, Structured output
- Context window: 66K
- Max output: 66K
- Input price: $0.30 per 1M tokens
- Output price: $0.60 per 1M tokens
- EU residency available
- Zero data retention on pay-as-you-go
- No training by default

## Data handling per route

Each route hosting ALIA 40B Instruct 2601 has its own privacy posture, residency, and GDPR terms. Postures are maintained by Opper with a last-verification timestamp.

### Nextbit — Spain

Zero data retention: nothing is logged, held for abuse monitoring or used for training. No training on customer data. EU.

- Zero data retention: Yes. Nothing is logged, held for abuse monitoring or used for training.
- Training: No training on customer data.
- Logging: None
- Abuse monitoring: Keeps nothing
- Caching: Content cached for replay
- Subprocessor access: Subprocessors may read content
- Transfer mechanism: Not applicable — data stays in EU

Verified by Opper on 2026-09-29.

## Get started

Call ALIA 40B Instruct 2601 through the Opper gateway with one API key. Opper is drop-in compatible with the OpenAI, Anthropic and Google AI SDKs.

ALIA 40B Instruct 2601 is a premium model on Opper. Sign up needs no credit card: you get an API key straight away and the free models work in the playground and the API. Add a card to use premium models, pay-as-you-go with no minimum.

### Set it up with your agent

Paste this into a coding agent like Claude Code, Cursor or Codex and it will wire up Opper for you:

```text
Use curl to download, read and follow: https://skills.opper.ai Call ALIA 40B Instruct 2601
```

### Or call it directly

OpenAI:

```javascript
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.OPPER_API_KEY,
  baseURL: "https://api.opper.ai/v3/compat",
});

const completion = await client.chat.completions.create({
  model: "nextbit:eu/alia-salamandra:40b",
  messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);
```

Anthropic:

```javascript
import Anthropic from "@anthropic-ai/sdk";

const client = new Anthropic({
  apiKey: process.env.OPPER_API_KEY,
  baseURL: "https://api.opper.ai/v3/compat",
});

const message = await client.messages.create({
  model: "nextbit:eu/alia-salamandra:40b",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Hello" }],
});
console.log(message.content);
```

Gemini:

```javascript
import { GoogleGenAI } from "@google/genai";

const ai = new GoogleGenAI({
  apiKey: process.env.OPPER_API_KEY,
  httpOptions: { baseUrl: "https://api.opper.ai/v3/compat" },
});

const response = await ai.models.generateContent({
  model: "nextbit:eu/alia-salamandra:40b",
  contents: "Hello",
});
console.log(response.text);
```

cURL:

```bash
curl https://api.opper.ai/v3/compat/chat/completions \
  -H "Authorization: Bearer $OPPER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "nextbit:eu/alia-salamandra:40b",
    "messages": [{ "role": "user", "content": "Hello" }]
  }'
```

## Use ALIA 40B Instruct 2601 in your apps

Pick your tool to see how to run it on ALIA 40B Instruct 2601 through Opper.

- [Claude Code](https://opper.ai/apps/claude-code/alia-40b-instruct-2601)
- [Claude Cowork](https://opper.ai/apps/claude-cowork/alia-40b-instruct-2601)
- [Codex](https://opper.ai/apps/codex/alia-40b-instruct-2601)
- [DeepSeek Harness](https://opper.ai/apps/deepseek-harness/alia-40b-instruct-2601)
- [GitHub Copilot CLI](https://opper.ai/apps/github-copilot-cli/alia-40b-instruct-2601)
- [Aider](https://opper.ai/apps/aider/alia-40b-instruct-2601)
- [Goose](https://opper.ai/apps/goose/alia-40b-instruct-2601)
- [Droid](https://opper.ai/apps/droid/alia-40b-instruct-2601)
- [OpenCode](https://opper.ai/apps/opencode/alia-40b-instruct-2601)
- [Pi](https://opper.ai/apps/pi/alia-40b-instruct-2601)
- [OpenClaw](https://opper.ai/apps/openclaw/alia-40b-instruct-2601)
- [Hermes](https://opper.ai/apps/hermes/alia-40b-instruct-2601)
- [Copilot for Obsidian](https://opper.ai/apps/obsidian-copilot/alia-40b-instruct-2601)
- [OmniRoute](https://opper.ai/apps/omniroute/alia-40b-instruct-2601)
- [Cursor](https://opper.ai/apps/cursor/alia-40b-instruct-2601)
- [Cline](https://opper.ai/apps/cline/alia-40b-instruct-2601)
- [Continue](https://opper.ai/apps/continue/alia-40b-instruct-2601)
- [Kilo Code](https://opper.ai/apps/kilo-code/alia-40b-instruct-2601)
- [GitHub Copilot](https://opper.ai/apps/github-copilot/alia-40b-instruct-2601)
- [Zed](https://opper.ai/apps/zed/alia-40b-instruct-2601)
- [JetBrains AI Assistant](https://opper.ai/apps/jetbrains-ai-assistant/alia-40b-instruct-2601)
- [Voidleap Code](https://opper.ai/apps/voidleap-code/alia-40b-instruct-2601)
- [n8n](https://opper.ai/apps/n8n/alia-40b-instruct-2601)
- [LibreChat](https://opper.ai/apps/librechat/alia-40b-instruct-2601)
- [Open WebUI](https://opper.ai/apps/open-webui/alia-40b-instruct-2601)
- [See all apps](https://opper.ai/apps)
