Linux 软件免费装
Banner图

AI Provider for OpenCode Zen

开发者 mralaminahamed
更新时间 2026年6月15日 19:15
捐献地址: 去捐款
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 1.3.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: Settings: Go to Settings > OpenCode Zen to configure:

安装:

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. Activate AI Provider for OpenCode Zen
  5. Go to Settings > OpenCode Zen and enter your API key
Note: WordPress 7.0 includes the AI Client SDK natively — no additional AI Client plugin is required. If you are running an older WordPress version, you must install the WordPress AI Client plugin separately first. Manual Installation
  1. Upload the alamin-ai-provider-for-opencode-zen folder to /wp-content/plugins/
  2. Follow steps 4–5 above
As a Composer Package composer require mralaminahamed/ai-provider-for-opencode-zen

升级注意事项:

1.3.0 Adds Top P, Presence Penalty, and Frequency Penalty settings. No database changes or manual steps required. Requires WordPress 7.0 or higher. 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 a separate AI Client plugin?

Not on WordPress 7.0 or higher — the AI Client SDK is built into WordPress core. On older versions you will need the WordPress AI Client plugin.

Where do I get an API key?

Sign up at opencode.ai/zen/settings/api-keys and generate an API key.

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 — this bypasses the database entirely.

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.

What generation parameters are supported?

Temperature, max tokens, top P, presence penalty, frequency penalty, stop sequences, system instruction, and function declarations are all declared as supported options.

更新日志:

1.3.0 1.2.1 1.2.0 1.1.0 1.0.0