All guides · API quickstart · Last checked: Settings from the app's official documentation (docs.chatboxai.app), November 2026; the requests it sends 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.
The settings
- API type
- OpenAI API compatible
- API host
https://api.datagram.net(without/v1)- API path
- leave empty (the default,
/v1/chat/completions, is right) - API key
- your
dgk_key - Model
gemma4:26b-nvfp4(quick, reads pictures)
1. Add Datagram as a provider
- Open Chatbox and press Settings in the sidebar, then Model Provider.
- At the bottom, press Add. Name it Datagram and choose OpenAI API compatible.
- Fill in the API key and API host from the box above. Leave API path empty.
- Add a model:
gemma4:26b-nvfp4. Tick its vision (picture) capability so you can attach photos. Add more from our model list if you like, such asgpt-oss:120bfor harder questions. - Save, then press Check: it should say the connection works.
2. Chat
Go back to the main screen, start a new chat and pick the Datagram model at the bottom. Chatbox keeps your chat history on your own device; we never store your messages.
The same steps work in Chatbox on Windows, Mac, Linux, iPhone and Android.
If something goes wrong
"Check" fails or 404
The API host must be https://api.datagram.net with no /v1 and no slash at the end, and the API path empty. If you typed /v1 into the host, Chatbox asks for /v1/v1/chat/completions.
401 "Invalid or revoked API key"
Copy the key again from your account under AI API; it starts with dgk_.
Can't attach pictures
Edit the model in the Datagram provider and tick its vision capability. Models that read pictures are marked with the picture icon in our model list.
402 "credit has run out"
Add credit in your account under AI API. Credit never expires.
Questions
Is it private?
Yes. Messages go to our own Macs and are never stored or used for training. Chatbox keeps your history on your own device.
Which model should I pick?
gemma4:26b-nvfp4 for everyday chat and pictures; gpt-oss:120b for harder questions; qwen3-coder:30b for code.
What does it cost?
The normal token price of the model from your Datagram credit. A typical chat message costs a small fraction of a cent.