Dansk LLM

Models

Gemma 4 31B

Google's open model. Good at Danish.

This model isn't running right now. Requests to it get 404 with model_not_found. See Models for the ones you can use.

Model id
gemma-4-31b
Context window16,384 tokens (prompt and answer together)
InputText
OutputText
StreamingYes
Prompt cachingYes, automatic
Tool calling (tools)Not yet
PriceUnder Oversigt (Overview) on the platform
LicenseApache 2.0

Use the model

curl https://api.danskllm.dk/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $DANSKLLM_API_KEY" \
  -d '{
    "model": "gemma-4-31b",
    "messages": [
      {"role": "system", "content": "Du er en hjælpsom assistent."},
      {"role": "user", "content": "Forklar kort, hvad en API-nøgle er."}
    ]
  }'

More about parameters and streaming.

On this page