Linux 软件免费装
Banner图

AI Provider for OpenCode Zen

开发者 mralaminahamed
更新时间 2026年5月22日 02:07
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

ai gpt llm claude opencode

下载

1.1.0 1.2.1 1.2.0 1.0.0

详情介绍:

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: Supported Models (fallback list): GPT models: GPT 5.5, GPT 5.5 Pro, GPT 5.4, GPT 5.4 Pro, GPT 5.4 Mini, GPT 5.4 Nano, GPT 5.3 Codex, GPT 5.3 Codex Spark, GPT 5.2, GPT 5.2 Codex, GPT 5.1, GPT 5.1 Codex, GPT 5.1 Codex Max, GPT 5.1 Codex Mini, GPT 5, GPT 5 Codex, GPT 5 Nano Claude models: Claude Opus 4.7, Claude Opus 4.6, Claude Opus 4.5, Claude Opus 4.1, Claude Sonnet 4.6, Claude Sonnet 4.5, Claude Sonnet 4, Claude Haiku 4.5, Claude 3.5 Haiku Gemini models: Gemini 3.5 Flash, Gemini 3.1 Pro, Gemini 3 Flash Other models: Qwen 3.6 Plus, Qwen 3.5 Plus, MiniMax M2.7, MiniMax M2.5, GLM 5.1, Kimi K2.6, Kimi K2.5, Grok Build 0.1, Big Pickle, DeepSeek V4 Flash Free, Nemotron 3 Super Free When an API key is configured, the live model list is fetched directly from the OpenCode Zen API. Requirements: 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)

安装:

As a WordPress Plugin
  1. Download the plugin zip file
  2. Go to Plugins > Add New > Upload Plugin in your WordPress admin
  3. Upload the zip and click Install Now
  4. Ensure the WordPress AI Client plugin is installed and activated
  5. Activate AI Provider for OpenCode Zen
  6. Go to Settings > OpenCode Zen and enter your API key
Manual Installation
  1. Upload the alamin-ai-provider-for-opencode-zen folder to /wp-content/plugins/
  2. Follow steps 4–6 above
As a Composer Package composer require mralaminahamed/ai-provider-for-opencode-zen

升级注意事项:

1.2.0 Fixes a false "no valid connector" warning on the AI admin page. No database changes required. 1.1.0 Expanded fallback model list to 40 models. No database changes or manual steps required. 1.0.0 Initial release. No upgrade steps required.

常见问题:

What is OpenCode Zen?

OpenCode Zen is an AI platform that provides access to various AI models including Claude and GPT models through an OpenAI-compatible API. Learn more at opencode.ai.

Do I need the WordPress AI Client?

Yes. This plugin is a provider add-on for the WordPress AI Client. Install and activate that plugin first.

Where do I get an API key?

Sign up at opencode.ai and generate an API key from your account dashboard.

Is my API key stored securely?

Your API key is stored in the WordPress options table using WordPress's standard options API. For higher security, set the OPENCODE_ZEN_API_KEY environment variable on your server instead.

What happens if the OpenCode Zen API is unreachable?

The plugin falls back to a hardcoded list of 41 supported models (GPT 5.x, Claude 4.x, Gemini 3.x, and more) so the AI Client continues to function.

更新日志:

1.2.1 1.2.0 1.1.0 1.0.0