Model reference · open weights

mamba

mamba is an open-weight language model from state-spaces, listed in the AxForge catalogue. AxForge can bring it up on EU-owned hardware for you on request — with the licence handled where one is required.

Licence fee required LLMs state-spaces 5 variants 322k downloads/mo
Request a licence + hosting quote All served models Not on the shared API today — deployed on request.

About

What mamba is

Mamba This repository contains the transfromers compatible mamba-2.8b. The checkpoints are untouched, but the full config.json and tokenizer are pushed to this repo. Usage You need to install transformers from main until transformers=4.39.0 is released. We also recommend you to install both causalconv1d and mamba-ssm using: If any of these two is not installed, the "eager" implementation will be used. Otherwise the more optimised cuda kernels will be used. Generation You can use the classic generate API: PEFT finetuning example In order to finetune using the peft library, we recommend keeping the model in float32!

Summarised from the published model card. Read the full card on the HuggingFace links below.

Specifications

What it is

Makerstate-spaces
TypeLanguage models
Parameters (lead)129M
Variants5
Runs withtransformers
Released2024-03-06
Popularity322k downloads / month
Likes123
LicenceCommercial licence needed

How it works

How language models work

Your prompttext / messagesTransformerattention over tokensNext-token loopgenerate + streamResponsetext · tool callsA language model reads your tokens and predicts the next one, again and again, streaming the reply back.

Variants

Sizes & precisions

Open weights ship in several sizes and precisions. One page, all the variants — pick the one that fits your GPU. VRAM figures are estimates from model size.

VariantParamsPrecisionVRAMFits 16 GBWeights
mamba-130m-hf129MBF16~0.3 GBWeights ↗
mamba-2.8b-hf2.8BBF16~6.4 GBWeights ↗
mamba-1.4b-hf1.4BBF16~3.2 GBWeights ↗
mamba-370m-hf372MBF16~0.9 GBWeights ↗
mamba-790m-hf793MBF16~1.8 GBWeights ↗

Using it via the API

Call it like any OpenAI endpoint

Once AxForge deploys mamba for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (mamba below is illustrative; you get the exact model name on deployment.)

$ curl -sS https://api.axforge.ai/v1/chat/completions \
  -H "Authorization: Bearer $AXFORGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"mamba","messages":[{"role":"user","content":"Hello"}]}'

Details

Languages, data & research

Tags

transformers safetensors mamba text-generation text-generation-inference endpoints_compatible deploy:azure

Licence

Commercial licence needed

The weights are open but its licence needs a commercial agreement for business use. AxForge can arrange that licence and host the model for you — you pay AxForge, we settle with the model’s maker. Ask us for a quote. Read the licence ↗

Sources

Weights & code

Want mamba on EU-owned hardware?

Request a licence + hosting quote See what’s served now

Explore

More language models

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