WordPress Studio 2.4 Just Let You Bring Your Own AI — Grok, OpenRouter, and Local Models Inside Your Local WordPress

WordPress Studio 2.4 finally lets you build local WordPress sites with the AI you already pay for — Grok, OpenRouter, or a local Ollama model — plus a rebuilt Publish button. I dug through the changelog and worked through the new provider setup. Here is what actually changed, what it costs, and the one migration catch to know before you update.

WordPress Studio 2.4 Just Let You Bring Your Own AI — Grok, OpenRouter, and Local Models Inside Your Local WordPress
WordPress Studio 2.4 Just Let You Bring Your Own AI — Grok, OpenRouter, and Local Models Inside Your Local WordPress — Technical Architecture & Overview

Table of Contents

Introduction

I have built WordPress sites locally for years, and the local environment was always the boring part: spin up a site, build, push. The interesting work happened elsewhere — in the editor, in the browser, in the AI chat window in another tab.

WordPress Studio changed that equation over the last few weeks, and its newest release, version 2.4, is the one that finally made me stop treating the local app as a dumb container. The headline is simple: you can now build a WordPress site inside Studio with the AI you already pay for. Not a locked-in credit system. Not one vendor's model. Your Grok plan, your OpenRouter account, or a model running on your own machine through Ollama or LM Studio. I went through the official changelog and provider docs and worked through the setup myself. Here is what matters, including one migration detail to know before you update.

What WordPress Studio actually is

If you have never used it, WordPress Studio is Automattic's free, open-source desktop app for building WordPress sites on your own computer. It runs on macOS, Windows, and Linux. You describe what you want in a chat panel, and the built-in agent — called WordPress Studio Code — creates the site, edits files, runs WP-CLI commands, creates previews, and publishes for you.

Earlier November releases added the first half of the "bring your own AI" story: one-button connections for Claude Code, Codex, Cursor, and Grok Build, then ChatGPT plans, Claude subscriptions, GitHub Copilot, and API keys for the built-in agent. Version 2.4 finishes the job — xAI, OpenRouter, and local models join the list, and publishing got rebuilt around them.

The new AI providers: Grok, OpenRouter, and your own machine

This is the part I cared about most, because it decides whether Studio becomes my daily driver or stays a demo app. In 2.4, the Settings → Providers page gains three new ways to power the chat.

xAI. Chat with Grok through a SuperGrok or X Premium plan, or an xAI API key. The models are Grok 4.7 and Grok 4.3. Already pay for X Premium? It costs nothing extra — sign in with Grok from the Providers page, approve the code Studio shows, and you are connected.

OpenRouter. This is the one that changes the economics for me. OpenRouter lets you reach models from many AI companies through one account, paid with OpenRouter credits. Connect by signing in with your OpenRouter account or pasting an API key. The model list includes Sonnet 5.5, Opus 5.5, GPT-6.1 Terra, Gemini 4 Argon, Grok 4.7, DeepSeek V4.1 Flash, and Kimi K3 — or others you pick. You choose exactly which models appear in the menu, in Settings → Providers, so it stays short instead of becoming a hundred-item dropdown.

Local LLM. Studio can now talk to a model server on your own computer — Ollama, LM Studio, llama.cpp's llama-server, or vLLM. Nobody bills you: the model and the compute are yours. One constraint: local LLM is only offered in the desktop app, and in the Studio UI on the same computer. Your code and prompts never leave your machine — that is the whole point.

Also new: a Thinking control. Turn a chat's thinking down or off from the model menu, or with /thinking in the terminal. If you have ever watched an agent burn a long reasoning chain on a one-line CSS fix, you know why that toggle matters.

How the provider setup actually works

The workflow is deliberately boring, and I mean that as praise. In the desktop app, open Settings from the account menu at the bottom of the sidebar and select Providers — AI and hosting providers live on that one page. In the terminal, use /connect, or name one directly, like /connect openrouter.

A few details that are easy to miss. First, the agent needs one AI provider before it can build — otherwise the chat box shows "Connect a provider to build and edit your site." You can start with the one-time free allowance from WordPress.com, but that needs an account and a payment method, as an abuse-prevention measure. Second, Default AI provider at the top of Settings → Providers sets which connected provider new chats use. The model menu lists every connected provider's models, so you can switch mid-conversation; in the terminal, /provider switches providers and changes the default.

Third, image generation follows the same pattern: in 2.4 you can generate site images with xAI, choosing the provider with Default image provider. OpenAI, Google Gemini, Meta, and WordPress.com were added in the November 25 release, so the list is broad — hero images and section art without leaving the build flow. Finally, Settings got split in two: a Providers page (AI and hosting providers) and an Agents page (the Studio plugin for Claude Code, Codex, Cursor, and Grok Build). If you are hunting for where your coding agent connects, it moved.

Setup takes five minutes; the real decision is your default. Already pay for Claude? Default to Claude. Live on OpenRouter credits? Default to OpenRouter and curate the list to two or three models. Care about privacy or work offline? The local model is the interesting one — but expect slower, smaller models, and keep a cloud provider connected for the heavy lifting.

The Publish button got rebuilt too

AI providers are the headline, but the publishing changes in 2.4 are the part I will use every single day. Studio now has one Publish button for previews and hosted sites. You choose a Destination and Who can view, and every website and preview of a site lives in one place.

Best of all: you choose what to publish from a checklist of Database, Plugins, Themes, and Uploads — or pick specific files. Anyone who has pushed a local site live and overwritten the database knows why a checklist matters. You can also change who can view a connected WordPress.com site, update a preview (warned before replacing changes made on it, or pull those changes back locally), and launch a preview as your live site with Launch on WordPress.com or studio preview launch. A failed publish now shows the live site's own reason instead of a generic error, and publishing to a Jetpack site restores the content on the first try.

The November 25 release added its own pieces: publish a static copy to Spacefast from the Publish panel or with studio push --remote-site spacefast, let Studio Code publish to any connected site after confirming which one, and new WordPress.com sites now launch on publish instead of sitting in Coming Soon.

What this means for Elementor workflows

WordPress Studio is not an Elementor tool, and nothing in 2.4 changes that. But the local development loop it supports is the loop Elementor developers live in: build locally, preview, push, repeat.

Three things help that loop directly. First, the local LLM option lets you try AI-assisted layout and content work on a client site without client content ever touching a third-party API. Second, the publish checklist lets you push theme and plugin changes without touching the live database — the most common way a local-to-live push goes wrong on an Elementor site. Third, the preview workflow — update a preview, get warned before replacing its changes, pull those changes back locally — is the closest thing Studio has to the round-trip editing Elementor users expect from staging.

One honest limitation: Studio's agent builds with blocks and code, not the Elementor canvas. If your workflow is Elementor-first, Studio is best understood as the environment around the build — the local site, the preview, the push — rather than the builder itself. What 2.4 changes is that the environment now speaks your AI, and the push step finally has guardrails.

The catch: older versions cannot read your settings after you update

There is one migration detail in the 2.4 changelog that deserves a bold warning, because it is the kind of thing you only discover after the fact. In this release, your sites and settings are saved in one file, ~/.studio/config.json — and earlier versions of WordPress Studio cannot read it. The update is a one-way door for your configuration: if you update and then roll back to an older Studio build, your sites and settings will not come with you.

That is not a reason to skip the update — the provider support and the Publish rebuild are worth it — but update deliberately: finish what you are working on, back up or push your sites, then update. Do not update mid-build on a Friday afternoon and discover the rollback path is closed.

Conclusion

Version 2.4 is not a redesign. It is Studio finishing a promise from its November 18 "bring your own agents" release: the AI that builds your site should be the AI you already have — Grok through a plan you already pay for, any model through OpenRouter, or a model on your own machine that costs nothing per prompt and sends nothing anywhere. Around that is a Publish button that finally treats going live with the care it deserves: a checklist, a destination, a visible reason when it fails.

Already use Studio? Back up or push your work, update, connect the AI you already pay for, and try the new Publish flow on a non-critical site first. Never used it? 2.4 is the version to start with — free, open source, and local-first, so you can try the AI-assisted build flow without a hosting plan or a new AI subscription. The local WordPress workflow has been quietly getting good while everyone argued about which AI model is best. Studio 2.4 answers that practically: use whichever one you want. The app stopped picking for you, and that is exactly what a developer tool should do.

Frequently Asked Questions

What is WordPress Studio 2.4?

The latest release of Automattic's free, open-source desktop app for building WordPress sites locally on macOS, Windows, and Linux. Its headline is support for new AI providers — xAI's Grok, OpenRouter, and local models through Ollama or LM Studio — alongside a rebuilt Publish button with a checklist for what gets pushed live.

Which AI providers can I use in WordPress Studio now?

WordPress.com (one-time free allowance), OpenAI via a ChatGPT plan or API key, Anthropic via a Claude subscription or API key, Google Gemini and Meta via API keys, GitHub Copilot, xAI via a SuperGrok or X Premium plan or API key, OpenRouter via sign-in or API key, and a local LLM via Ollama or LM Studio.

How do I connect Grok or OpenRouter to WordPress Studio?

Open Settings from the account menu at the bottom of the sidebar and select Providers. Click Connect next to xAI and choose Sign in with Grok, or connect OpenRouter by signing in with your OpenRouter account or pasting an API key. In the terminal, use /connect xai, /connect openrouter, or /connect local-llm instead.

Can I really run WordPress Studio's AI on my own computer?

Yes. Version 2.4 supports local models served by Ollama, LM Studio, llama.cpp's llama-server, or vLLM. Nobody bills you, and your prompts stay on your machine. Local LLM is only available in the desktop app, and in the Studio UI on the same computer.

What changed about publishing in WordPress Studio 2.4?

One Publish button for previews and hosted sites, with Destination and Who can view pickers. You choose what to publish from a checklist — Database, Plugins, Themes, Uploads — or pick specific files. You can also update a preview with a warning before replacing its changes, launch a preview as your live site, and see the live site's own reason when a publish fails.

Is updating to WordPress Studio 2.4 safe for my existing sites?

Mostly yes, but with one catch: in 2.4 your sites and settings are saved in a single file, ~/.studio/config.json, which earlier versions of WordPress Studio cannot read. Back up or push your work before updating, because rolling back to an older version will not restore your configuration.

Looking for more WordPress & Elementor tutorials?

Explore our complete directory of 53+ web performance, theme development, and Elementor architecture guides.

View Topic Sitemap XML Feed