Duskwork

How to get your key

AI chat in Duskwork is optional. To turn it on, you need an API key from one of five providers: OpenAI, Anthropic, Google, OpenRouter or xAI. Choose one, follow its steps below, then paste the key into Duskwork. You pay the provider directly for what you use. Duskwork doesn’t charge for AI.

Your key and your privacy

Your key is saved in this browser on this device. It isn’t included in backups or exports, and it’s stored encrypted when the passphrase lock is on. When you send a message, it goes from your browser straight to the provider you chose, using your key. Duskwork doesn’t host the AI and doesn’t see your messages or your key.

Before you start

  • Make a new key just for Duskwork. If you ever want to stop Duskwork using it, you can delete that one key and nothing else is affected.
  • Set a spend limit or budget where your provider offers one. Each section below says where to find it.
  • Treat the key like a password. If you think someone else has it, delete it on the provider’s site, make a new one, and save the new one in Duskwork.

Add your key to Duskwork

  1. Open Settings and go to AI chat.
  2. Under Provider, choose your provider.
  3. Model is filled in for you. Leave it as it is unless you want a different model.
  4. Paste your key into API key.
  5. Tap Save on this device. You’ll see “Saved on this device.” Saving sends nothing.

Using Duskwork on another device? Add the key there too, since it doesn’t travel with your backups. To take a key off this device, tap Remove key in Settings › AI chat.

OpenAI

  1. Sign in at platform.openai.com/api-keys.
  2. Click Create new secret key, name it “Duskwork” and create it.
  3. Copy the key straight away. OpenAI shows the full key only once. If you lose it, make a new one.
  4. In Duskwork, choose OpenAI under Provider, paste the key into API key and tap Save on this device.

Spend limit: in your OpenAI project settings, open Limits and set a monthly spend limit. Turn on Enforce a hard limit if you want requests to stop at that amount.

Billing: new API accounts are prepaid, so add credit before you start. API use is billed separately from ChatGPT plans. Prices: OpenAI API pricing

Anthropic (Claude)

  1. Sign in to the Claude Console at platform.claude.com/settings/keys.
  2. Click Create key, name it “Duskwork” and pick an expiry. The key belongs to your Default workspace unless you choose another one.
  3. Copy the key straight away. It starts with sk-ant- and is shown only once. If you lose it, make a new one.
  4. In Duskwork, choose Anthropic under Provider, paste the key into API key and tap Save on this device.

Spend limit: on the Console’s Billing page, go to Spend limits and click Set limit.

Billing: add credit on the Console’s Billing page before you start. Prices: Claude API pricing

Google (Gemini)

  1. Sign in with your Google account at aistudio.google.com/apikey (Google AI Studio).
  2. If you’re new, AI Studio may already have made a project and key for you. To make a key just for Duskwork, click Create API key and choose a project.
  3. Copy the key and keep it somewhere private.
  4. In Duskwork, choose Google under Provider, paste the key into API key and tap Save on this device.

Free tier: the model Duskwork fills in, gemini-3.8-flash, has a free tier with low daily limits for each project. The limits reset at midnight Pacific time, which is between 5 and 7 pm in Melbourne and Sydney depending on daylight saving. Free-tier prompts may be used to improve Google’s products.

If you see an error: some projects won’t work until billing is linked. In AI Studio, click Set up billing next to the project.

Spend limit: once billing is set up, you can set a monthly spend cap for the project on AI Studio’s Spend page. Google calls this feature experimental.

Billing: for the paid tier, link a billing account in AI Studio and add prepaid credit. Prices: Gemini API pricing

OpenRouter

  1. Sign in at openrouter.ai/settings/keys.
  2. Click Create Key and name it “Duskwork”. Set a credit limit for the key so it can’t spend more than you choose.
  3. Copy the key straight away. It starts with sk-or-v1- and is shown only once. If you lose it, make a new one.
  4. In Duskwork, choose OpenRouter under Provider, paste the key into API key and tap Save on this device. OpenRouter model names look like openai/gpt-5.4-mini.

Billing: buy credit on OpenRouter’s Credits page. OpenRouter adds a fee when you buy credit, and charges each model at its provider’s list price. Prices: OpenRouter pricing

xAI (Grok)

  1. Sign in or sign up, then open API keys on the Grok dashboard.
  2. Click Create API key. Under key type, choose Grok API, not Cursor. Name it “Duskwork” and click Create key.
  3. Copy the key straight away and keep it somewhere private. If you lose it, make a new one.
  4. In Duskwork, choose xAI under Provider, paste the key into API key and tap Save on this device.

Spend limit: xAI runs on prepaid credit. By default, requests stop when your credit runs out. If you turn on auto top-up, set its monthly maximum under Billing › API spend management.

Billing: there’s no free tier. Buy credit in the xAI Console under Billing › API spend management before you start. API use is billed separately from X Premium and SuperGrok. Prices: xAI API pricing