| 开发者 | thaikolja |
|---|---|
| 更新时间 | 2026年7月26日 00:27 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
/wp-content/plugins/ on your server. Or use the WordPress plugin uploader if you're fancy.wp-config.php:
define( 'OPENCODE_API_KEY', 'your-api-key-here' );
Replace your-api-key-here with your actual key. I shouldn't have to say this, but someone will paste it verbatim and then wonder why it doesn't work.Go to opencode.ai, sign up for either the "Go" or "Zen" plan, and generate a key from your dashboard. It's free (well, as free as these things ever are). The key tells OpenCode "yes, this person is allowed to use me" every time the plugin makes a request.
No. That's like asking if a USB cable works without a computer. The PHP AI Client is the thing that uses this plugin. If you're on WordPress 6.9, you need to install it. If you're on WordPress 7.0+, it's already there. No, I can't make it work without it. Yes, I've tried.
The plugin asks OpenCode's API for the current model list, so it changes over time. At the time of writing, you get models like DeepSeek-V4-Pro, DeepSeek-V4-Flash, GLM-5.1, GLM-5, Hy3 Preview, Kimi-K2.6, Kimi-K2.5, Mimo-V2-Pro, Mimo-V2-Omni, Mimo-V2.5-Pro, Mimo-V2.5, MiniMax-M3, MiniMax-M2.7, MiniMax-M2.5, Qwen3.7-Max, Qwen3.7-Plus, Qwen3.6-Plus, and Qwen3.5-Plus. New models show up automatically. Old ones might disappear. Such is life in the AI world. Don't get attached.