Title: AI Provider for OpenCode
Author: thaikolja
Published: <strong>14 iunie 2026</strong>
Last modified: 25 iulie 2026

---

Caută module

![](https://s.w.org/plugins/geopattern-icon/nominal-ai-provider-for-opencode.svg)

# AI Provider for OpenCode

 De [thaikolja](https://profiles.wordpress.org/thaikolja/)

[Descarcă](https://downloads.wordpress.org/plugin/nominal-ai-provider-for-opencode.1.0.0.zip)

 * [Detalii](https://ro.wordpress.org/plugins/nominal-ai-provider-for-opencode/#description)
 * [Recenzii](https://ro.wordpress.org/plugins/nominal-ai-provider-for-opencode/#reviews)
 *  [Instalare](https://ro.wordpress.org/plugins/nominal-ai-provider-for-opencode/#installation)
 * [Dezvoltare](https://ro.wordpress.org/plugins/nominal-ai-provider-for-opencode/#developers)

 [Suport](https://wordpress.org/support/plugin/nominal-ai-provider-for-opencode/)

## Descriere

The [PHP AI Client](https://github.com/WordPress/php-ai-client) gives WordPress 
a standard way to communicate with AI providers, but it needs a provider-specific
implementation for each service. This plugin fills that gap for OpenCode: it knows
the correct API endpoints, handles authentication, and translates between WordPress
and OpenCode’s API so your site can generate text, maintain chat history, and discover
available models automatically.

Once activated, the plugin registers itself with the PHP AI Client on WordPress 
startup. There are no settings screens, no configuration forms, and no manual wiring.
It’s intentionally zero-config.

#### Features

 * **Text Generation** — Use OpenCode’s language models for content creation, summarization,
   analysis, and more.
 * **Chat History** — Maintain conversation context across multiple interactions
   for natural back-and-forth exchanges.
 * **Dynamic Model Discovery** — Available models are fetched from the OpenCode 
   API automatically. When OpenCode adds new models, they appear in your site without
   a plugin update.
 * **Automatic Provider Registration** — Registers with the PHP AI Client during
   WordPress initialization. No setup required.

#### Requirements

 * PHP 7.4 or higher (if your host is still on PHP 5.6, I have bad news for you —
   and it’s not just this plugin that won’t work)
 * For **WordPress 6.9**: The [wordpress/php-ai-client](https://github.com/WordPress/php-ai-client)
   package needs to be [installed separately](https://github.com/WordPress/php-ai-client?tab=readme-ov-file#installation).
   Yes, it’s an extra step. Complain to the WP core team, not me.
 * For **WordPress 7.0+**: Everything’s built-in. You’re good. Go make a cup of 
   tea.
 * An [OpenCode API key](https://opencode.ai/) (it’s like a library card, but for
   AI)

### External Services

This plugin talks to OpenCode’s servers. Here’s the boring but legally necessary
breakdown:

**What gets sent and when:**
 * Your **API key** goes with every request so OpenCode
knows you’re you. * Your **prompts and messages** (the text you ask the AI to process)
get sent to OpenCode’s servers. Don’t send anything you wouldn’t want a third party
to read. * A quick **model list request** happens when the plugin starts up, so 
it knows what models are available. * Nothing is sent when you’re not using the 
AI features. It’s not spying on you. It’s a plugin, not your ex.

**Who you’re dealing with:**
 * **Service:** [OpenCode](https://opencode.ai/) * **
API end point:** `https://opencode.ai/zen/go/v1` * **Terms of service:** [opencode.ai/terms](https://opencode.ai/terms)

## Instalare

 1. Upload the plugin folder to `/wp-content/plugins/` on your server. Or use the WordPress
    plugin uploader if you’re fancy.
 2. Activate the plugin through the **Plugins** screen in WordPress. Click the button.
    You know the drill.
 3. _(Optional but recommended)_ Add your OpenCode API key to `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.

**That’s it.** Three steps. If you can’t handle that, maybe AI isn’t your biggest
problem.

## Întrebări frecvente

### How do I get an OpenCode API key?

Go to [opencode.ai](https://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.

### Does this plugin work without the PHP AI Client?

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](https://github.com/WordPress/php-ai-client?tab=readme-ov-file#installation).
If you’re on WordPress 7.0+, it’s already there. No, I can’t make it work without
it. Yes, I’ve tried.

### What models are available?

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.

## Recenzii

Nu există nicio verificare pentru acest modul.

## Contributori și dezvoltatori

„AI Provider for OpenCode” este un software open-source. La acest modul au contribuit
următoarele persoane.

Contributori

 *   [ thaikolja ](https://profiles.wordpress.org/thaikolja/)

„AI Provider for OpenCode” a fost tradus în 1 locală. Mulțumim [traducătorilor](https://translate.wordpress.org/projects/wp-plugins/nominal-ai-provider-for-opencode/contributors)
pentru contribuția lor.

[Tradu „AI Provider for OpenCode” în limba ta.](https://translate.wordpress.org/projects/wp-plugins/nominal-ai-provider-for-opencode)

### Te interesează dezvoltarea?

[Răsfoiește codul](https://plugins.trac.wordpress.org/browser/nominal-ai-provider-for-opencode/),
vezi [depozitarul SVN](https://plugins.svn.wordpress.org/nominal-ai-provider-for-opencode/),
sau abonează-te la [jurnalul de dezvoltare](https://plugins.trac.wordpress.org/log/nominal-ai-provider-for-opencode/)
prin [RSS](https://plugins.trac.wordpress.org/log/nominal-ai-provider-for-opencode/?limit=100&mode=stop_on_copy&format=rss).

## Istoric modificări

#### 1.0.0

 * Initial release.
    - Text generation via OpenCode Go and Zen AI models.
    - Chat history support across all discovered models.
    - Dynamic model discovery — models are fetched from the API, so new releases
      appear without plugin updates.
    - Automatic provider registration with the PHP AI Client.
    - Provider logo and description (requires PHP AI Client SDK 1.2.0+).

## Meta

 *  Versiunea **1.0.0**
 *  Ultima actualizare **Acum o săptămână**
 *  Instalări active: **Mai puțin de 10**
 *  Versiune WordPress ** 6.9 sau mai recentă **
 *  Testat până la **7.0.2**
 *  Versiune PHP ** 7.4 sau mai recentă **
 *  Limbi
 * [Dutch](https://nl.wordpress.org/plugins/nominal-ai-provider-for-opencode/) și
   [English (US)](https://wordpress.org/plugins/nominal-ai-provider-for-opencode/).
 *  [Tradu în limba ta](https://translate.wordpress.org/projects/wp-plugins/nominal-ai-provider-for-opencode)
 * Etichete
 * [AI](https://ro.wordpress.org/plugins/tags/ai/)[artificial intelligence](https://ro.wordpress.org/plugins/tags/artificial-intelligence/)
   [connector](https://ro.wordpress.org/plugins/tags/connector/)[opencode](https://ro.wordpress.org/plugins/tags/opencode/)
   [Provider](https://ro.wordpress.org/plugins/tags/provider/)
 *  [Vizualizare avansată](https://ro.wordpress.org/plugins/nominal-ai-provider-for-opencode/advanced/)

## Evaluări

Nu a fost trimisă nicio recenzie până acum.

[Your review](https://wordpress.org/support/plugin/nominal-ai-provider-for-opencode/reviews/#new-post)

[Vezi toate recenziile](https://wordpress.org/support/plugin/nominal-ai-provider-for-opencode/reviews/)

## Contributori

 *   [ thaikolja ](https://profiles.wordpress.org/thaikolja/)

## Suport

Ai ceva de zis? Ai nevoie de ajutor?

 [Vezi forumul pentru suport](https://wordpress.org/support/plugin/nominal-ai-provider-for-opencode/)

## Donează

Vrei să sprijini dezvoltarea acestui modul?

 [ Donează pentru acest modul ](https://paypal.me/thaikolja)