LLMs in Your Project: Prompts and beyond as integral part of WordPress Products
summary
A WordPress-focused stack is already usable: the AI Services plugin exposes a unified API for OpenAI and Anthropic, and a new PHP AI client / SDK standardizes calls and actions. Implementation notes are concrete: prefer server-side with async job queues, enforce schema-validated JSON outputs, cache a system prompt to halve token cost, and rotate per-site keys. Operational data is blunt — 71% adoption trend and an example spike of 62 million tokens in 24 hours — so add max_tokens limits, exponential backoff, circuit breakers and integration tests that assert titles <60 chars.
AI-written summary · about
