← Back to Projelli

API Keys Guide

How to get API keys for Claude, OpenAI, and Gemini, and what they cost.

Projelli is a "bring your own key" (BYOK) tool. You sign up for an account directly with one or more AI providers, get an API key, and paste it into Projelli. This means:

You only need ONE provider to use Projelli. Most people start with Claude. You can add others later.

Where keys are stored: Projelli stores your API keys in your operating system's secure keychain, Keychain on Mac, Credential Manager on Windows, Secret Service on Linux. They're never written to a plain file, never logged, never sent anywhere except directly to the provider when you make a request. If you uninstall Projelli, your keys are removed from the keychain along with the app.

Anthropic (Claude)

Recommended for: long-form writing, document drafting, following complex instructions

  1. Go to console.anthropic.com and sign up (free)
  2. Add a payment method (you'll be billed only for actual usage)
  3. Click API Keys in the sidebar
  4. Click Create Key, give it a name like "Projelli", and copy the key (it starts with sk-ant-)
  5. In Projelli, go to Settings → API Keys → Anthropic, paste the key, and click Save

Cost: Claude Sonnet (the default model) costs about $3 per million input tokens and $15 per million output tokens. A typical New Business Kickoff workflow run costs around $0.05-$0.20. Heavy daily use is usually $5-$15/month.

Free credits: Anthropic gives new accounts $5 in free credits. That's enough for ~50 workflow runs.

OpenAI (ChatGPT / GPT-4)

Recommended for: structured data extraction, JSON output, image-related tasks

  1. Go to platform.openai.com and sign up (free)
  2. Add a payment method
  3. Click API Keys in the sidebar (or go to platform.openai.com/api-keys)
  4. Click Create new secret key, give it a name like "Projelli", copy the key (it starts with sk-)
  5. In Projelli, go to Settings → API Keys → OpenAI, paste the key, and click Save

Cost: GPT-4o costs about $2.50 per million input tokens and $10 per million output tokens. Comparable to Claude Sonnet for typical workflows. GPT-4o-mini is much cheaper (~$0.15 / $0.60) and fine for less demanding tasks.

Note: An OpenAI API account is separate from a ChatGPT Plus subscription. If you pay $20/mo for ChatGPT Plus, that does NOT give you API access, you need to set up billing separately on platform.openai.com.

Google AI (Gemini)

Recommended for: very long context windows, free tier for hobby use

  1. Go to aistudio.google.com/app/apikey (sign in with a Google account)
  2. Click Create API key
  3. Copy the key
  4. In Projelli, go to Settings → API Keys → Google, paste the key, and click Save

Cost: Gemini 2.0 Flash has a generous free tier (up to 15 requests/minute and 1500 requests/day at no charge). Beyond that, paid usage is roughly $0.075 per million input tokens, the cheapest of the three. Worth using as a "draft" model and switching to Claude or GPT for the final pass.

How to choose

If you want… Use…
Best writing quality, long-form output Claude (Sonnet or Opus)
Reliable structured output, JSON, code GPT-4o
Cheapest, free tier for low-volume use Gemini Flash
Multiple perspectives on the same prompt All three (Projelli supports multi-model comparison)

Setting spending limits

All three providers let you set hard spending caps on your account. We strongly recommend setting one, usage-based AI billing can get expensive fast if something runs in a loop.

A reasonable starting limit is $10/month per provider. Adjust up if you find yourself hitting it often.

What if my key gets compromised?

If you suspect your API key has been exposed (committed to a public git repo, shared in a screenshot, etc.):

  1. Go to your provider's API keys page
  2. Revoke the compromised key
  3. Create a new key
  4. Update Projelli with the new key (Settings → API Keys)

Compromised keys can be used to run up charges on your account, so revoke immediately if there's any doubt.

Why bring your own key instead of paying Projelli?

This is a deliberate design choice. By having you bring your own key:

The downside is the small setup hurdle. Once it's done, it's done, you don't think about it again.