Use Cline with Datagram

Use the Cline agent in VS Code with open models hosted on our own Apple Silicon.

Works with Datagram AI

All guides · API quickstart · Last checked: Settings from the app's official documentation, November 2026; requests use our standard OpenAI-compatible API

  1. 1. Create an accountSign up in a minute and get $5 of free credit. Already a customer? Sign in.
  2. 2. Make an API keyIn your account, open AI API and press Create key. Keys start with dgk_. Keep yours secret.
  3. 3. Follow the steps belowCopy each block, paste your key where it says dgk_your_key_here.

1. Choose "OpenAI Compatible"

  1. In VS Code, open Cline and click the gear (settings). Under API Provider, choose OpenAI Compatible.
  2. Base URL: https://api.datagram.net/v1. API Key: your dgk_ key. Model: qwen3-coder:30b-64k.
  3. Under Model Configuration, set the context window to 65536 and max output tokens to 8192, and leave image support off for this model. Save.

2. Try it

Give Cline a small task in your project. The first answer can take 10 to 20 seconds while the model loads.

Which model?

qwen3-coder:30b-64k. A coding agent sends long instructions and calls tools on every step, so it needs the 65,536-token window and good tool use. Our other models have 8,192 tokens, which is too small for agent work.

If something goes wrong

401 "Missing API key" or "Invalid or revoked API key"

Check the key is set where the tool reads it (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.

"Model not found"

The model name must match exactly, including the part after the colon: qwen3-coder:30b-64k.

Cline is also covered with Continue and Roo Code in our VS Code guide.

Questions

Which model should I use?

qwen3-coder:30b-64k. Coding agents send long instructions and call tools, so they need its 65,536-token window. Our other models have 8,192 tokens.

Is it private?

Yes. Requests run on our own Macs in our datacenter, and we never store prompts or answers, only counts for billing.

Create an account Get an API key More guides →