Languages

How do you build Danish AI apps with Plugsky?

Danish is a Latin-script language with three extra letters (æ, ø and å) and a habit of forming long compounds. Plugsky serves it on the same OpenAI-compatible endpoint as English — set base_url to https://api.plugsky.com/v1 and send UTF-8 text to /v1/chat/completions. Compounding inflates token counts, du is the standard address form, and plugsky-embed-multilingual covers Danish and English retrieval.

Key facts

Danish scriptLatin script with æ, ø and å; modern usage addresses people as du in almost every context
TokenisationCompound nouns split into several subwords — measure with the Plugsky token calculator
NumeralsVigesimal number words such as halvtreds (50) are long and fragment in tokenisers
Embeddingsplugsky-embed-multilingual for Danish and English retrieval
API compatibilityOpenAI-compatible POST https://api.plugsky.com/v1/chat/completions — chat, streaming, JSON mode and function calling
Models30+ models behind one endpoint, from free tiers to frontier reasoning
Free tierFree plan with plugsky-micro and plugsky-lite, no card required
Product statusChat, streaming, JSON mode, function calling, embeddings, RAG and agents live; audio, images, moderation, files, batch, fine-tuning, assistants and responses coming soon

TL;DR

  • Danish works on the standard endpoint with one base_url change.
  • Compounds are the main token risk — count real business nouns.
  • Use du for modern products; reserve De for deliberately formal contexts.
  • Keep æ, ø and å intact for display and embedding.
  • plugsky-embed-multilingual covers Danish and English in one collection.

How it works, step by step

  1. Create a free Plugsky key and set base_url to https://api.plugsky.com/v1.
  2. Send real Danish text — including compound-heavy nouns — to /v1/chat/completions and compare two or three models.
  3. Measure tokens with the token calculator and increase chunk headroom for compound-dense content.
  4. Decide the address form per surface: du for almost everything, De only where policy demands it.
  5. For RAG, embed with plugsky-embed-multilingual and test Danish and English queries against the same collection.
  6. Review outputs with native speakers on a fixed gold set, then move production traffic.
1Create a freePlugsky key and setbase_url to2Send real Danishtext — includingcompound-heavy3Measure tokens withthe tokencalculator and4Decide the addressform per surface:du for almost5For RAG, embed withplugsky-embed-multilingualand test Danish and6Review outputs withnative speakers ona fixed gold set,

Original data

Vigesimal numbNumeralsOpenAI-compatiAPI compatibility30+ models behModelsSource: Plugsky facts table · updated 2026-09-26

Try it yourself

Open the token calculator →

How Plugsky handles Danish text

Danish needs no special endpoint: the API accepts UTF-8 text with æ, ø and å and returns the same. The work sits in prompt policy and preprocessing. Modern Danish addresses people as du almost everywhere, including business communication, so a formal De voice reads dated unless your brand deliberately uses it.

Word order is another quality marker. Danish uses verb-second order in main clauses, and models trained mostly on English occasionally produce English-like ordering in longer sentences. Native review on realistic templates catches that faster than generic grammar checks.

Tokenisation and cost in Danish

Everyday Danish sits close to English on token cost, but compounding changes the picture: a single noun such as arbejdsmiljøvurdering can split into several subwords, and official or technical text compounds aggressively. The vigesimal number system adds long words too — halvtreds, tres, halvfjerds — which appear often in prices, dates and quantities.

  • Measure on contract, invoice or policy text, where compounds cluster.
  • Keep compounds intact for display; split only for search keys.
  • Test number-heavy prompts separately.
  • Re-count whenever you change models.

Danish retrieval and RAG

Danish documents and English queries can share one collection when you embed with plugsky-embed-multilingual. The retrieval failure modes to test are compound variants (hyphenated, split or joined), numbers written as words versus digits, and abbreviations that are common in Danish public-sector text.

  • Add compound-splitting or synonym keys for keyword search.
  • Normalise number formats before indexing.
  • Test English queries against Danish documents explicitly.
  • Keep one embedding model per collection.

Code example: a Danish request

Point your OpenAI client at https://api.plugsky.com/v1 and send Danish text in the content field. Streaming, JSON mode and function calling keep the same shapes.

client = OpenAI(base_url="https://api.plugsky.com/v1", api_key=os.environ["PLUGSKY_API_KEY"])

client.chat.completions.create(model="plugsky-pro", messages=[{"role": "system", "content": "Svar på dansk i en venlig, professionel tone med du-form"}, {"role": "user", "content": "Skriv et svar til kunden om den forsinkede levering"}])

Prototype on the free plan with plugsky-micro and plugsky-lite, then compare paid models on your Danish gold set. See the docs for the API reference.

Honest comparison

CapabilityPlugskyDanish apps todayBuilding in-house
API compatibilityOpenAI-compatible — change base_url and model nameVaries by provider and SDKFull rewrite
Danish text handlingUTF-8 with æ, ø and å; du-form prompts and compound-aware chunkingDepends on provider tokeniser and prompt hygieneYou build normalisation and evals
Token budgetFixed tokeniser per model; measure compounds and chunk to fitVaries by provider and modelYou host and tune each tokeniser
Multilingual retrievalplugsky-embed-multilingual for Danish and English RAGOften needs a separate embedding vendorYou serve and maintain embeddings
SovereigntyCloud, VPC, on-prem and air-gapped with residency optionsUsually US/EU public endpointsYou own the full stack

Frequently asked questions

Can Plugsky handle Danish text?

Yes. The API accepts UTF-8 Danish input, including æ, ø and å, on the OpenAI-compatible chat endpoint. Compare two or three models on your own prompts before choosing.

How do Danish compounds affect token usage?

Long compound nouns split into multiple subwords, so one word can cost several tokens. Measure on real business text with the token calculator and leave extra context headroom.

Should I use du or De?

du for almost all modern products, including business communication; De only where tradition or policy requires a formal register. State the choice in the system prompt.

Does Plugsky support Danish numbers and dates?

The model outputs Danish number words and formats based on your prompt and examples. Test vigesimal number words and date formats explicitly, since they are common failure points.

Is there a multilingual embedding model?

Yes — plugsky-embed-multilingual is part of the 30+ model catalogue and supports Danish and English retrieval from one collection.

Can I deploy in my own environment?

Yes. Plugsky supports cloud, VPC, on-prem and air-gapped deployment with residency options, which matters for EU data-protection requirements.

Is there a free plan?

Yes — plugsky-micro and plugsky-lite are free with no card, and a 14-day full-access trial covers the paid catalogue.