Use Heabsy models through Opper
Opper is an AI gateway: one OpenAI- and Anthropic-compatible API in front of models from many providers, and for each route it shows where data is processed, whether it is stored and which DPA applies. Heabsy is one of those providers. Call https://api.opper.ai/v3/compat with your Opper key and a model ID such as heabsy/qwen38; the heabsy/ prefix sends the request to Heabsy, which serves it in the EEA without storing prompts or completions.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.opper.ai/v3/compat",
api_key=os.environ["OPPER_API_KEY"], # an Opper key, not a Heabsy key
)
reply = client.chat.completions.create(
model="heabsy/qwen38", # provider/model pins Heabsy
messages=[{"role": "user", "content": "Say hello in five words."}],
)
print(reply.choices[0].message.content)Heabsy on Opper · Opper drop-in SDK docs
https://api.opper.ai/v3/compat · model IDs heabsy/<model>Pin Heabsy, or let Opper pick a provider
A model ID with a provider prefix, such as heabsy/qwen38, sends every request to that one provider. A bare model name is a pool: Opper chooses one of the providers that serve the model and fails over to another if it has trouble. If you need the EEA and no stored prompts on every request, use the heabsy/ prefix.
Anthropic-format clients
Opper also takes requests in the Anthropic Messages format at POST /v3/compat/v1/messages, on the same base URL and with the same key. Use it with an Anthropic SDK client and the same heabsy/ model IDs; the details are in Opper's documentation.
Keys and billing
Through Opper you use an Opper key and Opper bills you; Heabsy does not charge you for these requests. To get a Heabsy invoice and our catalog prices instead, call https://api.heabsy.com/v1 with a Heabsy key; the model IDs are the same, without the prefix.
Which model should I pick?
Opper lists eleven Heabsy models. Start with heabsy/qwen38 for general and coding work, or heabsy/mimo-v26-flash when most of the input is new rather than cached; both have a 1,048,576-token window. The rest are variants of these two and GLM 5.3 Flash Uncensored; the uncensored ones answer requests the original models refuse, so put your own moderation in front of end users.
| Model | ID on Opper | Context | Max output | Runs |
|---|---|---|---|---|
| Qwen3.8 27B Fable | heabsy/qwen38-fable | 1M | 32K | EEA |
| Qwen3.8 27B Queen | heabsy/qwen38-queen | 1M | 32K | EEA |
| GLM 5.3 Flash Uncensored | heabsy/glm53-flash-unc | 1M | 128K | EEA |
| Qwen3.8 27B Obliterated | heabsy/qwen38-obl | 1M | 32K | EEA |
| MiMo V2.6 Flash Uncensored | heabsy/mimo-v26-flash-unc | 1M | 64K | EEA |
| Qwen3.8 27B Uncensored | heabsy/qwen38-unc | 1M | 230K | EEA |
| MiMo V2.6 Flash | heabsy/mimo-v26-flash | 1M | 64K | EEA |
| MiMo V2.6 Flash Abliterated | heabsy/mimo-v26-flash-abl | 1M | 64K | EEA |
| Qwen3.8 27B Uncensored Fast by Heabsy | heabsy/qwen38-unc-fast | 1M | 230K | EEA |
| Qwen3.8 27B | heabsy/qwen38 | 1M | 32K | EEA |
| CyberHeabsy | heabsy/cyberheabsy | 1M | 64K | EEA |
All models above run on Heabsy hardware in the EEA; prompts and completions are not stored. Prices on Opper are set by Opper; our own prices for direct use are in the catalog.
Verify it works
Run the curl command below with your Opper key. A short greeting in the reply means the route to Heabsy works.
If the tool shows an error you cannot read, test the key on its own first — one short request outside the tool:
curl https://api.opper.ai/v3/compat/chat/completions \
-H "Authorization: Bearer $OPPER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"heabsy/qwen38","max_tokens":16,"messages":[{"role":"user","content":"Say hi"}]}'Troubleshooting
| What you see | What to change |
|---|---|
| 401 Unauthorized | Opper expects an Opper key. A Heabsy key works only on api.heabsy.com. |
| The request was served by another provider | The model name had no prefix, so Opper treated it as a pool. Use heabsy/<model>, for example heabsy/qwen38. |
| Model not found | Check the ID against the list on Opper's Heabsy provider page: lowercase, with the heabsy/ prefix. |
Where do my prompts go?
Your request goes from your application to Opper and from Opper to Heabsy. Opper lists Heabsy with an EU region and zero data retention: requests it sends to our models are processed in the European Economic Area and the text is not stored. For billing we keep the model, the token counts and the time. How Opper itself handles your requests is set by Opper's terms and data processing agreement; our side is described in our data processing agreement.
FAQ
Is my data processed in the EU when I use Heabsy through Opper?+
Requests that Opper sends to Heabsy are served in the European Economic Area, and prompts and completions are not stored. Opper lists Heabsy with an EU region and zero data retention. How Opper itself handles your requests is set by Opper's own terms and data processing agreement.
Do I need a Heabsy account to use these models on Opper?+
No. An Opper account and key are enough; Opper settles with Heabsy. You need a Heabsy account only to call api.heabsy.com directly.
Which Heabsy models are on Opper?+
Qwen3.8 27B and its variants (Fable, Queen, Uncensored, Uncensored Fast, Obliterated), MiMo V2.6 Flash with its Uncensored and Abliterated variants, GLM 5.3 Flash Uncensored and CyberHeabsy. The table on this page shows their IDs on Opper and context windows.
Also set up:Vercel AI SDK · LangChain · n8n
Opper is a trademark of Opper Technology AB. Heabsy is a model provider on Opper.