# AI Connection for WordPress

> Pick your AI provider and model — Claude, ChatGPT, Gemini, Mistral, DeepSeek, Grok, Groq, OpenRouter or any OpenAI-compatible API. Required by every AI…

TW-AI-09 AI


Pick your AI provider and model — Claude, ChatGPT, Gemini, Mistral, DeepSeek, Grok, Groq, OpenRouter or any OpenAI-compatible API. Required by every AI feature. Keys are encrypted before they are stored; content you send to AI features is processed by the provider you choose.

[Get it from $26 a year](https://togglework.app/pricing/#plans) [Try it in the demo](https://togglework.app/demo/)

AI Connection

**Part number**
: TW-AI-09
**Section**
: [AI](https://togglework.app/features/ai/)
**Settings**
: 41
**Starts**
: Switched off
**In plans**
: Every plan

## Why it matters

Every AI feature needs a model to talk to. Rather than each feature having its own key and settings, AI Connection is the one place you choose a provider and model, and it is what the other AI parts use. You pay the provider directly at their prices, with no markup and no extra subscription.

### What it does

- Providers: Anthropic (Claude), OpenAI (GPT), Google Gemini, Mistral, DeepSeek, xAI (Grok), Groq, OpenRouter, or any OpenAI-compatible API.
- Keys are encrypted before they are stored, or can be defined in wp-config.php instead.
- “Load models” fetches the newest models your key can use; any model ID can be typed in.
- Per-feature routing: send quick jobs (alt text, spam checks) to a cheap, fast model and keep the best model for writing.
- A quality-versus-speed setting and an optional monthly token limit.

![AI Connection settings screen in the Toggleworks WordPress plugin, showing AI provider, API address, Anthropic — Claude API key, Model](https://togglework.app/wp-content/themes/toggleworks-site/assets/img/parts/ai-connection.webp?v=1795524122)

The AI Connection screen in wp-admin, where you switch it on and change its settings.

## Set it up

1. Create an API key with your chosen provider and paste it in.
2. Pick a model. Start with the provider’s balanced model; move quick jobs to a cheaper one later.
3. Set a budget in [AI Usage & Costs](https://togglework.app/features/ai/usage/) before switching on bulk features.

## What you can set

Switch AI Connection on in Toggleworks → AI, then adjust any of these. Each one starts with a default, so you can switch the part on first and fine-tune later.

- AI provider
- API address
- Anthropic — Claude API key
- Model
- OpenAI — GPT API key
- Model
- Google — Gemini API key
- Model
- Mistral AI API key
- Model
- DeepSeek API key
- Model
- xAI — Grok API key
- Model
- Groq API key
- Model
- OpenRouter — hundreds of models API key
- Model
- Custom (OpenAI-compatible API) API key
- Model ID (optional)
- AI Agent (with approval)
- Agent Sign-in (OAuth)
- Agent Discovery
- Agent Readiness Check
- AI Alt Text
- AI Assistant
- AI Form & Popup Builder
- AI Chatbot
- AI Internal Links & Image Finder
- AI Content Refresh
- AI Crawler Rules
- Markdown for AI Agents
- AI Product Descriptions
- AI Section Builder
- AI Site Audit
- AI Spam Filter
- AI Translate
- AI Writer
- Extra models for routing
- Quality vs. speed
- Monthly token limit

## Good to know

- Content you send to AI features is processed by the provider you choose. Check their data policy fits your site.
- Nothing is sent to any provider until you switch on an AI part that uses it.

## Comes with 187 more parts

AI Connection is one part of Toggleworks, a single plugin for security, speed, SEO, backups, email and store tools. Switch on what your site needs; the rest stays off and loads nothing.

[All 22 AI parts](https://togglework.app/features/ai/)

### People also look for it as

- api key
- anthropic
- claude
- openai
- chatgpt
- gpt
- gemini
- google
- mistral
- deepseek
- grok
- xai

## Often switched on with it

- [AI Writer](https://togglework.app/features/ai/writer/) — TW-AI-22 · Draft posts from a brief, rewrite or shorten content, and generate titles, excerpts, meta descriptions and translations — from a… · 4 settings
- [Markdown for AI Agents](https://togglework.app/features/ai/markdown-twins/) — TW-AI-14 New · Gives every page a clean Markdown copy that ChatGPT, Claude, Perplexity and other AI agents can read: same URL, picked… · 6 settings
- [AI Agent (with approval)](https://togglework.app/features/ai/agent/) — TW-AI-01 · Ask in plain English — “draft an FAQ page”, “fix missing meta descriptions on our service pages”, “redirect /old-offer to… · Own screen in wp-admin
- [AI Assistant](https://togglework.app/features/ai/assistant/) — TW-AI-06 · A chat panel in the admin bar that knows your WordPress setup — plugins, theme, Toggleworks modules — and helps with how-tos… · 3 settings
- [AI Chatbot](https://togglework.app/features/ai/chatbot/) — TW-AI-08 · A chat bubble that answers visitors’ questions using your own pages, posts and products — with links to the source — and hands… · 10 settings
- [AI Internal Links & Image Finder](https://togglework.app/features/ai/content-helpers/) — TW-AI-10 · Suggest internal links to your other pages (and insert them in one click), and find a free, openly licensed featured image for… · 2 settings

## Questions

**Do I need a separate AI subscription?**

You need an API key from the provider you choose, billed by them for what you use. There is no extra charge from Toggleworks for AI features.

**Is AI Connection included in every Toggleworks plan?**

Yes. Every plan includes all 188 parts, AI Connection among them. Plans differ only in how many sites you can use them on, and staging or local copies of a site don’t count.

**Does AI Connection slow my site down when it’s switched off?**

No. Every part starts switched off, and a part that is off loads none of its code. Switch on AI Connection only if your site needs it.

## Switch off the plugin pile.

All 188 parts, one license, updates and support. 14-day refund.

[Choose a plan](https://togglework.app/pricing/#plans) [Try the live demo](https://togglework.app/demo/)

---

Source: https://togglework.app/features/ai/connection/
