HostYourAI

LongAlign 7B 64k base hosting in the EU — OpenAI-compatible API

Instantly via the EU router or as a dedicated GPU deployment. Data stays in Europe.

LongAlign is the first full recipe for LLM alignment on long context. We propose the LongAlign-10k dataset, containing 10,000 long instruction data of 8k-64k in length. We investigate on trianing strategies, namely packing (with loss weighting) and sorted batching, which are all implemented in our code. For real-world long context evaluation, we introduce LongBench-Chat that evaluate the instructi...

Specifications

Parameters7B
Context window65,536 tokens
Minimum VRAM17 GB
ArchitectureLlamaForCausalLM (vLLM)
Licenseapache-2.0
Modalitytext->text
ReleasedJanuary 2024
Publisherzai-org (Hugging Face)

Pricing

Input (per 1M tokens)€ 0.10
Output (per 1M tokens)€ 0.18

Shared EU router, pay-per-token, scale-to-zero. Dedicated GPU deployments are billed hourly — see pricing.

Call it now

Drop-in replacement for OpenAI: change only the base URL and API key. The Anthropic format (/v1/messages) is supported too.

curl https://hostyourai.com/api/v1/chat/completions \
  -H "Authorization: Bearer hyai-..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "zai-org/LongAlign-7B-64k-base",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Frequently asked questions

Can I run LongAlign 7B 64k base in the EU?

Yes. HostYourAI runs LongAlign 7B 64k base on GPUs in European datacenters via vLLM. Prompts and outputs never leave the EU and there is no US cloud provider in the chain.

Is hosting LongAlign 7B 64k base GDPR-compliant?

Yes. All processing happens inside the EU, a Data Processing Agreement (DPA) is available and the subprocessor list is public. Open-source weights also mean: no training on your data.

How much does LongAlign 7B 64k base cost?

Via the shared EU router you pay €0.10 per million input tokens and €0.18 per million output tokens, with no fixed costs. For high volume or isolation you can also run LongAlign 7B 64k base as a dedicated hourly GPU instance.

Is the API OpenAI-compatible?

Yes. You use the standard OpenAI SDKs with a custom base URL (https://hostyourai.com/api/v1). The Anthropic Messages API is supported as a drop-in as well.

Try LongAlign 7B 64k base for free

Creating an account takes a minute. Test LongAlign 7B 64k base straight away in the playground.

Start for free

← All models