All guides · API quickstart · Last checked: Open WebUI documentation, November 2026; the model list and chat requests it sends were tested against our live API
- 1. Create an accountSign up in a minute and get $5 of free credit. Already a customer? Sign in.
- 2. Make an API keyIn your account, open AI API and press Create key. Keys start with
dgk_. Keep yours secret. - 3. Follow the steps belowCopy each block, paste your key where it says
dgk_your_key_here.
1. Add Datagram as a connection
- Sign in as an admin and open Admin Panel → Settings → Connections.
- Under Manage OpenAI API Connections, press + (Add Connection).
- Fill in the fields below, press Verify Connection, then Save.
- URL
https://api.datagram.net/v1- API Key
- your
dgk_key - Model IDs
- leave empty to show every model, or list the ones you want
- Prefix ID
- optional, for example
datagram, if you also use other providers
Or set it when you start Open WebUI
With Docker, pass the connection as environment variables:
docker run -d -p 3000:8080 \
-e OPENAI_API_BASE_URL=https://api.datagram.net/v1 \
-e OPENAI_API_KEY=dgk_your_key_here \
-v open-webui:/app/backend/data --name open-webui \
ghcr.io/open-webui/open-webui:main
Open WebUI saves connection settings in its database after the first start, and changes made in the admin panel win over these variables.
2. Pick models
Our models appear in the model menu at the top of a new chat. Good starting points:
| Model | Good for |
|---|---|
gemma4:26b-nvfp4 | Everyday chat and writing; reads images |
gpt-oss:120b | Harder questions and reasoning |
qwen3-coder:30b | Code |
bge-m3 | Embeddings for Open WebUI's document search (set under Documents) |
All prices: model list.
If something goes wrong
Verify Connection fails
Check the URL is exactly https://api.datagram.net/v1 with no trailing slash, and the key starts with dgk_. If your key only allows certain IP addresses, add your Open WebUI server's address in your account under AI API.
No models in the menu
Open WebUI loads the list from our /models endpoint. If your key is limited to certain models, only those show. Add model IDs to the connection by hand if the list stays empty.
402 "credit has run out"
Add credit in your account under AI API. Credit never expires.
Questions
Why run Open WebUI instead of using Datagram's chat?
Our AI Chat works in the browser with nothing to install. Open WebUI suits teams that want their own logins, shared prompts, document libraries or their own branding, on a server they run.
Can I limit which models people see?
Yes. Fill in Model IDs on the connection with only the models you want, for example gemma4:26b-nvfp4 and gpt-oss:120b. You can also limit models on the API key itself in your Datagram account.
Where are chats stored?
In your Open WebUI server's database, not with us. We only pass prompts to the model and back, and keep counts for billing.