All guides · API quickstart · Last checked: Settings from the app's official documentation, November 2026; requests use our standard OpenAI-compatible 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.
Custom providers are a Raycast Pro feature.
1. Open Raycast's providers file
Raycast Settings → AI → Models & Providers → Custom Providers → Reveal Providers Config. Copy providers.template.yaml to providers.yaml in that folder (~/.config/raycast/ai/providers.yaml).
2. Add Datagram
providers:
- id: datagram
name: Datagram
base_url: https://api.datagram.net/v1
api_keys:
default: dgk_your_key_here
models:
- id: gemma4:26b-nvfp4
name: Gemma 4 26B (Datagram)
context: 8192
abilities:
temperature: { supported: true }
system_message: { supported: true }
vision: { supported: true }
- id: gpt-oss:120b
name: gpt-oss 120B (Datagram)
context: 8192
Raycast picks up changes without a restart. Model id must match our model names exactly (see the quickstart for the list). Only declare abilities a model has; a wrong one can make requests fail.
3. Try it
Open Raycast AI Chat, pick Gemma 4 26B (Datagram) and ask something.
If something goes wrong
401 "Missing API key" or "Invalid or revoked API key"
Check the key is pasted in full (it starts with dgk_) and hasn't been revoked in your account under AI API.
402 "credit has run out"
Add credit in your account under AI API. Credit never expires.
The provider doesn't appear
Check the file is named providers.yaml (not the template) and is valid YAML; base_url must not end in /chat/completions.
Questions
Which model should I use?
gemma4:26b-nvfp4 for everyday chat (quick, can see images); gpt-oss:120b for harder questions; qwen3-coder:30b-64k for very long inputs.
Is it private?
Yes. Requests run on our own Macs in our datacenter, and we never store prompts or answers, only counts for billing.