---
title: "How to Get an AI API Key for Core AI Studio"
source: https://4property.com/topic/core-ai-studio/how-to-get-an-ai-api-key-for-core-ai-studio/
updated: 2026-11-27T12:51:27+00:00
---

# How to Get an AI API Key for Core AI Studio

## What you’re setting up, and why

Core AI Studio needs an **API key** to connect your WordPress site to an AI service. You only need **one** key, from OpenAI, Claude or Google Gemini, and setup takes about 15 minutes.

Think of an API key as a private password that lets your website talk to the AI on your behalf. The AI company bills your account for what the plugin uses, so your site never needs your credit card details.

**Which one should I pick?** All three work well with Core AI Studio. If you already have an account with one company, start there. If you’re unsure, pick either one; you can add the other later.

**Important:** a ChatGPT Plus, Claude Pro or Google AI Pro subscription is **not** the same thing. Those plans are for chatting in the app. API access is set up and paid for separately on each company’s developer website, as shown below.

## Before you start

Have these ready, and keep this guide open in one browser tab while you work in another.

- An email address you check (or a Google or Microsoft account to sign in with)
- Your mobile phone, in case you’re asked for a verification code
- A credit or debit card
- A safe place to save your key, such as a password manager
- Your WordPress admin login

**How payment works:** all three companies use **prepaid credits**. You add a small amount up front, for example $10, and it goes down as the plugin uses the AI. When the balance reaches zero, the AI features stop working until you add more. You are never charged more than you choose to add, unless you turn on automatic top-ups.

## What will it cost per article?

**For most agents, a full article costs well under $1, including several rounds of changes.** With the recommended models, writing a long article from scratch costs about 15 to 25 cents. Each round of changes costs between a few cents and about 20 cents. Even a heavily revised article rarely goes above $2 to $3.

That means a $10 starting balance is usually enough for somewhere between 10 and 40 finished articles, depending on how long they are and how many changes you ask for. Claude and OpenAI cost about the same at the recommended level.

**How AI pricing works**

AI companies charge by the **token**. A token is a small piece of a word; 1,000 words of English is roughly 1,300 to 1,700 tokens, depending on the provider.

Every time Core AI Studio asks the AI to do something, you pay for two things:

- **Input:** what the plugin sends, such as your instructions, the page template and, for a revision, the current article.
- **Output:** what the AI writes back. Output costs about five times more than input, so the length of the finished article matters most.

Prices are listed in US dollars per million tokens, and you’re billed in US dollars, so your card statement will show a currency conversion. VAT may also apply.

**Claude (Anthropic) costs**

We recommend **Claude Sonnet 5.5** for articles and pages. It gives the best balance of writing quality and price.

| Model | Price per million tokens (input / output) | New article | Each full rewrite | Each small change | New article + 5 rounds of changes |
| --- | --- | --- | --- | --- | --- |
| Claude Sonnet 5.5 (recommended) | $2 / $10 | $0.15–0.25 | $0.15–0.20 | $0.03–0.08 | $0.50–1.20 |
| Claude Opus 5.5 (top quality) | $4 / $20 | $0.30–0.50 | $0.30–0.40 | $0.06–0.15 | $1.00–2.50 |
| Claude Haiku 5.5 (budget) | $0.10 / $0.50 | about $0.01 | about $0.01 | under $0.01 | about $0.05 |

Prices from Anthropic’s pricing page. Haiku is very cheap but better suited to short tasks than long, polished articles.

**OpenAI costs**

We recommend **GPT-6.2 Sol** for articles and pages. It’s priced the same as Claude Sonnet 5.5.

| Model | Price per million tokens (input / output) | New article | Each full rewrite | Each small change | New article + 5 rounds of changes |
| --- | --- | --- | --- | --- | --- |
| GPT-6.2 Sol (recommended) | $2 / $10 | $0.15–0.25 | $0.15–0.20 | $0.03–0.08 | $0.50–1.20 |
| GPT-6.2 Astra (top quality) | $8 / $40 | $0.50–0.90 | $0.60–0.75 | $0.12–0.35 | $2.00–4.00 |
| GPT-6 Luna (budget) | $0.10 / $0.50 | about $0.01 | about $0.01 | under $0.01 | about $0.05 |

Prices from OpenAI’s pricing page. OpenAI’s models can spend extra “reasoning” tokens thinking before they answer, and these are billed as output, so actual costs can run a little above these figures.

**What makes an article cost more or less**

- **Length.** A 600-word news update costs a fraction of a 2,500-word guide.
- **How you ask for changes.** Asking to change one section (“make the intro shorter”) is much cheaper than asking for the whole article to be rewritten.
- **The model you choose.** The top-quality models cost two to four times more than the recommended ones. Try the recommended model first.
- **Research.** If the AI searches the web while writing, both Claude and OpenAI charge about 1 cent per search, plus the cost of reading the results.

**Tip:** after your first few articles, check the **Usage** or **Billing** page in your Claude Console or OpenAI account. You’ll see exactly what you’ve spent, which is a better guide than any estimate.

## Option A: Get an OpenAI API key

OpenAI makes ChatGPT. Its developer website is separate from the ChatGPT app, but you can sign in with the same login.

### Step 1: Create your account

1. Go to [platform.openai.com](https://platform.openai.com) and click **Sign up**. If you already use ChatGPT, click **Log in** instead.
2. Sign up with your email address, or click **Continue with Google** or **Continue with Microsoft**.
3. Open the email OpenAI sends you and click the link to confirm your address.
4. Fill in your name and birthday. If you’re asked for an organization name, type your business name.
5. If asked, enter your mobile number and type in the code OpenAI texts you.
6. You may see screens about inviting a team or making a first API call. You can skip these.

### Step 2: Add credit

1. Go to the [Billing page](https://platform.openai.com/settings/organization/billing/overview). You can also find it under the **Settings** gear icon, then **Billing**.
2. Click **Add payment details** and enter your card.
3. Choose how much credit to add. The minimum is $5, and $10 is plenty to start.
4. You’ll see an **auto-recharge** (automatic top-up) option, which is on by default. Turn it **off** if you’d rather top up by hand. If you leave it on, set a monthly limit.
5. Confirm the purchase. Your balance may take a few minutes to appear.

Purchased OpenAI credits expire after one year, so there’s no benefit to buying a large amount up front.

### Step 3: Create your API key

1. Go to the [API keys page](https://platform.openai.com/api-keys). You can also find it under **Settings**, then **API keys**.
2. Click **Create new secret key**.
3. In **Name**, type something you’ll recognize, such as `Core AI Studio - mywebsite.com`. Leave the other settings as they are.
4. Click **Create secret key**.
5. Click **Copy** and paste the key straight into your password manager or into Core AI Studio (see the section below). It’s a long code that starts with `sk-`.

**This is your only chance to copy the key.** Once you close the window, OpenAI won’t show it again. If you lose it, delete it and create a new one.

## Option B: Get a Claude API key

Claude is made by Anthropic. API keys come from the **Claude Console**, a separate website from the Claude chat app at claude.ai. You can use the same email for both.

### Step 1: Create your account

1. Go to [platform.claude.com](https://platform.claude.com) and sign up with your email address or Google account.
2. Check your email and click the sign-in link Anthropic sends you.
3. Answer the short setup questions. If asked whether this is for an individual or an organization, choose the one that fits. For a business website, use your business name.

### Step 2: Buy credits

1. Go to the [Billing page](https://platform.claude.com/settings/billing). You can also find it under **Settings**, then **Billing**.
2. Click **Buy credits**. If this is your first purchase, you’ll be asked for a few details about how you’ll use Claude, then your card details.
3. Enter the amount you want, for example $10, and confirm. Credits are available right away.
4. Optional: click **Set up auto-reload** if you want Claude to top up your balance automatically when it runs low. Skip this if you’d rather top up by hand.

Claude credits also expire one year after purchase and can’t be refunded, so start small.

*Already pay for Claude Max or a Claude Team plan?* Those plans include monthly API credits. You can link your Console account to your plan on the Billing page instead of buying credits.

### Step 3: Create your API key

1. Go to the [API keys page](https://platform.claude.com/settings/keys). You can also find it under **Settings**, then **API keys**.
2. Click **Create key**.
3. In **Name**, type something you’ll recognize, such as `Core AI Studio - mywebsite.com`.
4. For **Expiration**, choose the longest option or no expiration, so the plugin doesn’t stop working unexpectedly. Leave the other settings as they are.
5. Click to create the key, then click **Copy**. The key is a long code that starts with `sk-ant-`.
6. Paste it into your password manager or straight into Core AI Studio (see the next section).

**This is your only chance to copy the key.** The Console shows it once. If you lose it, create a new key and delete the old one.

## Option C: Get a Google Gemini API key

Gemini is Google’s AI. You get API keys from **Google AI Studio**, using your normal Google account (the one you use for Gmail).

### Step 1: Sign in to Google AI Studio

1. Go to the [Google AI Studio API keys page](https://aistudio.google.com/apikey) and sign in with your Google account. For a business site, use your business Google account if you have one.
2. Read and accept the terms when asked.
3. Google automatically creates a project and an API key for you. You’ll see it listed on the page.

### Step 2: Set up billing

Gemini has a free tier, so a key can work before you pay anything. But the free tier has tight usage limits, and only paid accounts are excluded from Google using your prompts to improve its products. For a business website, we recommend setting up billing.

1. On the API keys page, find your project and click **Set up billing**.
2. Choose your country, confirm your contact details and add your card. If you’ve used Google Cloud billing before, pick your existing billing account instead.
3. If asked, add prepaid credit. The minimum is $5.
4. Optional: you can turn on auto-reload, and on the **Spend** page you can set a **Monthly spend cap**.

Google credits also expire 12 months after purchase and are generally non-refundable.

### Step 3: Copy your API key

1. Go back to the [API keys page](https://aistudio.google.com/apikey).
2. Use the key Google created for you, or click **Create API key** to make a new one just for this website.
3. Click the key to copy it. Gemini keys usually start with `AIza`.
4. Paste it into your password manager or straight into Core AI Studio (see the next section).

If your key shows an **Unrestricted** label, hover over it, click **Add restrictions**, choose **Restrict to Gemini API only**, then click **Restrict key**. Gemini won’t accept unrestricted keys.

## Add your key to Core AI Studio

1. Log in to your WordPress dashboard.
2. In the left-hand menu, click **Core AI Studio**.
3. Along the top of the page, click the **Agent Settings** tab.
4. In the **Active Provider** dropdown, choose **OpenAI**, **Anthropic** (the company behind Claude) or **Gemini**.
5. Below that, click the same provider’s name, **OpenAI**, **Anthropic** or **Gemini**, to open its settings box.
6. Click into the **API Key** box and paste your key. On Windows press Ctrl + V; on a Mac press Cmd + V. Leave **Base URL** as it is.
7. Under **Model**, keep the suggested model unless we’ve recommended a different one for you.
8. Scroll to the bottom and click **Save Settings**.

Check you pasted the whole key, with no spaces at the start or end. If the **Model** list fills with options after you save, your key is working. To remove a key later, clear the **API Key** box and click **Save Settings**.

## Keep your key safe and your costs under control

Anyone who has your key can spend your credits, so treat it like a bank PIN.

- **Don’t share it** by email, chat or text. If your web developer needs it, let them paste it into WordPress during a screen share, or use your password manager’s secure sharing.
- **Use one key per website.** If one site has a problem, you can delete that key without affecting the others.
- **If you think it leaked,** go back to the API keys page, delete the key, create a new one and paste it into Core AI Studio.
- **Start small.** $10 to $20 is plenty for most sites to begin with. Check your balance on the Billing page after the first week or two to see what you actually use.
- **Be careful with automatic top-ups.** If you turn them on, set a sensible monthly limit.

## Common problems

| What you see | What it usually means | What to do |
| --- | --- | --- |
| “Invalid API key” or “Incorrect API key” | The key was copied incompletely, or it has been deleted | Paste it again, with no spaces. If that fails, create a new key. |
| “Insufficient credits,” “quota exceeded” or a billing error | Your balance has run out, or it hasn’t appeared yet | Add credit on the Billing page. New credit can take a few minutes to show up. |
| I can’t see my key any more | Keys are shown only once | Create a new key and delete the old one. |
| The **Create key** button is greyed out (Claude) | Someone else set up your organization and your role can’t create keys | Ask the account owner to create one for you, or to change your role. |
| I pay for ChatGPT Plus, Claude Pro or Google AI Pro but it still asks for credit | Chat subscriptions don’t include API access | Buy API credits separately, as described above. |

Still stuck? Contact us and tell us which provider you chose and the exact error message. **Never send us the key itself.**

## Sources

- [OpenAI: Setting up and managing prepaid API billing](https://help.openai.com/en/articles/8264644-how)
- [OpenAI: API quickstart](https://developers.openai.com/api/docs/quickstart)
- [Claude Docs: Get an API key](https://platform.claude.com/docs/en/get-api-key)
- [Claude Help Center: How do I pay for my Claude API usage?](https://support.claude.com/en/articles/8977456-how-do-i-pay-for-my-api-usage)
- [Claude Help Center: Getting started with a Console organization](https://support.claude.com/en/articles/8114531-i-created-a-claude-console-organization-how-do-i-start-using-the-claude-api)
- [Google AI for Developers: Using Gemini API keys](https://ai.google.dev/gemini-api/docs/api-key)
- [Google AI for Developers: Gemini API billing](https://ai.google.dev/gemini-api/docs/billing)
- [Claude Docs: Pricing](https://platform.claude.com/docs/en/about-claude/pricing)
- [OpenAI: API pricing](https://developers.openai.com/api/docs/pricing)
