LLM API Keys
Captain EPM uses AI to help you analyze EPM data, write formulas, and automate planning tasks directly in Excel. To enable this, you connect your own API key from Anthropic, OpenAI, or Google. This guide walks you through the full setup in under 5 minutes.
Before You Start: API Access Is Separate From Consumer Plans
This is the most common point of confusion — read this first.
A consumer subscription does not include API access. They are completely separate products, billed separately.
| Plan | What it gives you | Works with Captain EPM? |
|---|---|---|
| Claude Pro / Max ($20–$200/mo) | Access to claude.ai web and mobile | No |
| ChatGPT Plus ($20/mo) | Access to chat.openai.com | No |
| Gemini Advanced ($20/mo) | Access to gemini.google.com | No |
| Anthropic API (pay-as-you-go) | Programmatic access via API key | Yes |
| OpenAI API (pay-as-you-go) | Programmatic access via API key | Yes |
| Google AI API (pay-as-you-go) | Programmatic access via API key | Yes |
Captain EPM uses the API, which is billed separately and consumption-based — you only pay for what you actually use.
What Will This Actually Cost?
Real numbers based on public API rates (May 2026), using Claude Sonnet 4.6 — our recommended default model for FP&A work.
Cost per task
Monthly cost by usage
Pricing shown reflects public API rates as of May 2026 and may change. Verify current rates with your provider before production use.
How We Protect Your API Key
Encrypted locally with Windows DPAPI
Your API key is encrypted on your machine using Windows Data Protection API. The encryption is tied to your Windows user account — no other user on the same computer can decrypt it.
We never see your key
Your key never leaves your machine, except in direct outbound HTTPS calls from Captain EPM to your chosen AI provider. It is never sent to Captain EPM servers, never logged, never transmitted to any third party.
Recommended best practices
- Create a dedicated key labeled "Captain EPM" so you can revoke it independently of other apps.
- Set a monthly spending limit in your provider's console.
- If you leave your organization or change machines, revoke the old key from the provider console.
Enterprise note
If your organization has an Anthropic, OpenAI, or Google Cloud enterprise account, use a key issued under that account. Captain EPM works with both individual and enterprise keys.
Step 1 — Choose Your AI Provider
Captain EPM supports multiple AI providers. Pick one to start — you can configure others later.
Best for complex financial reasoning, long-context analysis, and precise instruction following.
Best for speed, broad tool ecosystem, and code/formula generation. Default: GPT-4o.
Best for cost-conscious users and multimodal tasks. Generous free tier for getting started.
Step 2 — Create Your API Key
AAnthropic (Claude)
- Go to the Anthropic Console . Sign in or create a developer account — this is separate from a claude.ai consumer account, though you can use the same email.
- Navigate to Settings → Billing. Add a payment method and set a monthly spending limit (we recommend starting at $25).
- Go to Settings → API Keys → Create Key. Name it "Captain EPM".
- Copy the generated key (starts with
sk-ant-...). You will only see it once.
OOpenAI (ChatGPT)
- Log in to the OpenAI Developer Platform .
- Navigate to Settings → Billing. Add credits or enable auto-recharge, and set a monthly usage limit. OpenAI requires prepaid credits before keys will work.
- Go to API Keys → Create new secret key. Name it "Captain EPM".
- Copy the generated key (starts with
sk-proj-...). You will not be able to view it again.
GGoogle Gemini
- Navigate to Google AI Studio . Sign in with your Google account.
- Click Get API Key → Create API Key in new project (or select an existing Google Cloud project).
- For production use beyond the free tier, enable billing on the linked Google Cloud project.
- Copy the generated key (starts with
AIza...).
DDeepSeek API
- Log in to the DeepSeek Platform .
- Navigate to the API Keys tab.
- Click Create new API key.
- Copy the generated key (starts with
sk-).
XxAI API (Grok)
- Log in to the xAI Console .
- Navigate to the API Keys section.
- Click Create API Key.
- Copy the generated key (starts with
xai-).
KMoonshot API (Kimi)
- Log in to the Moonshot Platform .
- Navigate to the API Keys page in the console.
- Click Create API Key.
- Copy the generated key (starts with
sk-).
Step 3 — Configure the Add-in
- Open Microsoft Excel and navigate to the Captain EPM ribbon tab.
- In the AI group, click Configure AI (or Settings → Providers tab).
- Select your provider from the dropdown.
- Paste your API key into the designated field.
- Click Test Connection. Captain EPM will validate your key before saving.Success — your key is active and ready.401 Unauthorized — key is invalid, mistyped, or revoked. Generate a new one.429 Rate Limited / No Credit — add billing or credits to your provider account.Network Error — check your firewall, VPN, or proxy settings.
- Select your default model from the dropdown. If unsure, start with Claude Sonnet 4.6.Optional: expand Advanced Settings to adjust Temperature (default 0.3 for analytical tasks) and Max Tokens (default 4096).
- Click Save. The AI panel in the add-in is now enabled.
Frequently Asked Questions
Do I need a Claude Pro / ChatGPT Plus subscription to use Captain EPM?
No. Captain EPM uses the API, which is billed separately. A consumer subscription does not provide API access and is not required.
How much will I spend on API costs?
Most FP&A users spend $3–$20/month depending on the model and usage volume. See the cost estimator above. Set a monthly spending limit in your provider's console to cap it.
Is my API key secure?
Yes. Keys are encrypted locally using Windows DPAPI, tied to your Windows user account. They never reach Captain EPM servers and cannot be decrypted by any other user account on your machine.
Can I use multiple providers?
Yes. Configure each provider separately under Settings → Providers. You can switch between them per conversation.
My organization has an enterprise AI account. Can I use that?
Yes. Use the API key issued under your organization's enterprise account. Captain EPM works with both individual and enterprise keys.
Which model should I pick if I'm not sure?
Start with Claude Sonnet 4.6 — best balance of capability and cost for FP&A work. Upgrade to Opus 4.7 only if you need more power for complex multi-step analyses. Use Haiku 4.5 if you run high volumes of routine tasks and want to minimize cost.