plugin-icon

AI Provider for OpenCode Zen

Integrates OpenCode Zen as an AI provider for the WordPress AI Client, enabling Claude and GPT model access for coding and general tasks.
גרסה
1.0.0
עודכן לאחרונה
Apr 30, 2026
AI Provider for OpenCode Zen

This plugin integrates OpenCode Zen as an AI provider for the WordPress AI Client. It enables access to high-performance AI models optimized for coding and general tasks through the OpenCode Zen API.

This plugin is an independent, third-party integration and is not affiliated with, endorsed by, or sponsored by OpenCode Zen. "OpenCode Zen" is the name of the third-party service this plugin connects to.

Features:

  • Seamless integration with the WordPress AI Client plugin
  • Dynamic model discovery from the OpenCode Zen API with hourly caching
  • Support for text generation using Claude and GPT models
  • Secure API key management via WordPress settings or environment variable
  • Fallback to a hardcoded model list when the API is unavailable

Supported Models (fallback list):

  • GPT-4o
  • GPT-4o Mini
  • Claude Sonnet 4
  • Claude 3.5 Sonnet

Requirements:

  • WordPress AI Client plugin (or WordPress 7.0+ with built-in AI Client)
  • An OpenCode Zen account and API key

API Key Configuration:

Set your API key in one of two ways:

  1. Settings > OpenCode Zen admin page
  2. OPENCODE_ZEN_API_KEY environment variable (takes priority)

External Services

This plugin connects to the OpenCode Zen API to:

  1. Retrieve the list of available AI models (cached for 1 hour via WordPress transients)
  2. Send text generation requests using your configured AI model

Service: OpenCode Zen API endpoint: https://api.opencode.ai (or as configured) When data is sent: When generating AI text responses or refreshing the model list Data sent: Your API key (via Authorization header) and the text prompt/conversation Provider site: opencode.ai — refer to the OpenCode Zen website for their current Terms of Service and Privacy Policy.

No data is sent to the OpenCode Zen API until you enter an API key and a WordPress feature triggers a text generation request.

חינםבתוכניות בתשלום
בביצוע ההתקנה, אנחנו מקבלים את הסכמתך לתנאי השירות של WordPress.com ולתנאים של התוסף של הצד השלישי.
נבדקו עד
WordPress 6.9.4
תוסף זה זמין להורדה ולשימוש דרך שברשותך.