Use AI with your own key
Connect Claude with your own Anthropic key, step by step: choose its model, try it, use it on all your devices. The same for OpenAI, Gemini or Ollama.
On this page
Apple Intelligence works without any setup where your device has it. Bringing your own key lets you use a larger model, such as Claude, on every device, Apple Intelligence or not. You pay the service directly, for what you use: there is no subscription to Courant for it, and nothing goes through us.
This guide connects Claude, which Courant walks you through. Other services follow at the end.
You need: about ten minutes, and a payment card for Anthropic's console. As a guide, Courant says that a thousand summaries or replies cost about $0.50 with Claude Haiku, and about $8 with Sonnet, which writes better.
1. Open Claude's page
- Open Settings › Intelligence.
- Under Model, choose the Claude (Anthropic) card.
What you see: the card is chosen and, since it still needs a key, its page opens. At the top, what it means: Runs on Anthropic's servers, in the United States, the text of the emails concerned is sent there straight from this device when you use an AI feature, and it is Billed to your own Anthropic account, once you've added credit. Below, a Connect Claude section with four steps.
2. Create your key, in four steps
Each step has a link that opens the right page of Anthropic's console in your browser.
- Create an Anthropic account and add credit: Open Anthropic's Billing. You pay Anthropic directly, for what you use only.
- Set a monthly spending limit: Open Limits. Recommended: Anthropic never bills more than it.
- Create a key and copy it: Open API Keys. Name it Courant, for instance, and copy it (it starts with
sk-ant-). - Paste it here: back in Courant, click Paste.
What you see: Courant checks the key with Claude at once and says Claude is connected, on your other devices too. If it says That isn't a Claude key: it starts with sk-ant-., copy the key again. Any other message comes from Anthropic, for instance when the account has no credit yet: add some, then paste again.
3. Allow Claude to receive your emails
As the key is saved, Courant asks Send your emails to Claude? It explains that when you use an AI feature with Claude, Courant sends it the text of the emails concerned, with their senders and recipients, straight from this device.
Choose Allow. The page now says Claude may receive your emails, with Withdraw Permission below it if you change your mind. Until you allow it, Courant sends nothing to Claude from this device.
4. Choose the model
Lower on the page, the Model field shows the model Courant uses unless you choose another. The arrows next to it list Suggested Models: Haiku is fast and inexpensive; Sonnet writes better. Choose one if you like, then Test.
What you see: Works — answered in 1.2 s (or the time it took). A test sends no email.
Go back to Intelligence: Claude's card says Ready, and the line under the cards, Using Claude, model ….
5. Decide what goes to Claude
Two switches on the Intelligence page decide how much Claude receives:
- Send recent emails with the recipients (under the cards, on at first): when you write with AI, Claude also gets your latest emails with the people you're writing to, 6 at most and shortened, to write closer to how you write to them. Turn it off to send only the conversation you answer.
- Automatic summaries with Claude (under Features, off at first): leave it off and the summaries Courant writes by itself, in the list and above an email as it opens, stay on your device with Apple Intelligence. Turn it on only if you want Claude to write them; it then receives the latest messages of each conversation shown as you scroll.
See AI and your data for everything that is sent, and when.
6. Try it
- Summarize: open a long conversation and choose Summarize Conversation (Summarize for a single email) (more).
- Write: reply to an email and choose Write with AI; say what you want in a few words (more).
- Ask: in the search field, choose Ask (⌥⌘A on the Mac) and ask a question about your mail, such as when your flight leaves (more).
The AI prepares drafts; it never sends anything.
7. On your other devices
Your key is already there: it travels in your iCloud Keychain. But each device keeps its own model and its own permission:
- On your iPhone (or your other Mac), open Settings › Intelligence and choose Claude (Anthropic). Its badge says Needs your permission, and its page opens.
- Choose Allow Sending Emails to Claude…, then Allow.
Prefer Apple Intelligence where a device has it, and Claude elsewhere? Choose the Automatic card instead, and set Instead of Apple Intelligence, at its foot, to Claude.
Other services
The steps are the same, without the guided section: open the service's card, use its link to get a key, paste it into API Key, allow it, choose a model and Test.
| Service | Card | Key |
|---|---|---|
| OpenAI | OpenAI | Get an OpenAI API Key; starts with sk- |
| Gemini | Gemini (Google) | Get a Gemini API Key, in Google AI Studio; starts with AIza. On the free tier, Google may use what it receives, except in the EEA, Switzerland and the UK: turn on billing for the key's project. |
| Mistral | Mistral AI | Get a Mistral API Key; hosted in the European Union |
| Ollama, LM Studio, Scaleway, OVHcloud | OpenAI-Compatible | Choose one of the Known Servers to fill in its address; no key for Ollama or LM Studio. On the iPhone, use your Mac's network address rather than localhost. |
To stop, open the service's page: Remove Key removes it from all your devices, and Courant stops sending emails to that service. See Use your own key and Choose a model.