Title: ModelTrestle AI Connector for Nano-GPT
Author: brento
Published: <strong>July 25, 2026</strong>
Last modified: July 25, 2026

---

Search plugins

![](https://ps.w.org/modeltrestle-ai-connector-for-nano-gpt/assets/icon-256x256.
png?rev=3622537)

# ModelTrestle AI Connector for Nano-GPT

 By [brento](https://profiles.wordpress.org/brento/)

[Download](https://downloads.wordpress.org/plugin/modeltrestle-ai-connector-for-nano-gpt.2.0.0.zip)

 * [Details](https://wordpress.org/plugins/modeltrestle-ai-connector-for-nano-gpt/#description)
 * [Reviews](https://wordpress.org/plugins/modeltrestle-ai-connector-for-nano-gpt/#reviews)
 *  [Installation](https://wordpress.org/plugins/modeltrestle-ai-connector-for-nano-gpt/#installation)
 * [Development](https://wordpress.org/plugins/modeltrestle-ai-connector-for-nano-gpt/#developers)

 [Support](https://wordpress.org/support/plugin/modeltrestle-ai-connector-for-nano-gpt/)

## Description

ModelTrestle connects the WordPress AI Client to Nano-GPT’s OpenAI-compatible API.

**Features:**

 * Text generation through Nano-GPT’s current text model catalog
 * Text-to-image generation through the current image model catalog
 * Subscription-included versus paid labels in model selectors
 * Model family, release month, and context size in model labels when available
 * USD and Nano (XNO) balance display under Settings > Nano-GPT
 * Searchable and sortable model catalog with preferred text, vision, and image 
   models
 * Optional, privacy-aware local activity logging with source, duration, errors,
   and token counts
 * Native WordPress Connectors configuration
 * Automatic provider and model discovery

“Subscription-included” means Nano-GPT reports that a text model is covered by the
authenticated account’s subscription. It does not mean universal or unlimited free
access. Image models are labeled pay-as-you-go.

This maintained fork preserves the history and credit of Jonathan Bossenger’s original
OpenRouter provider.

### External services

This plugin connects to Nano-GPT at https://nano-gpt.com/.

It sends the configured API key to retrieve the current text and image model catalogs,
classify subscription-included text models, perform generation, and retrieve account
balances. Prompts, attachments, generation settings, and generated content are sent
when a site feature requests generation. Nano-GPT may send request content to the
operator of the selected model.

A Nano-GPT API key is required and can be obtained from https://nano-gpt.com/api.

Nano-GPT API documentation: https://docs.nano-gpt.com/
 Nano-GPT terms of service:
https://nano-gpt.com/legal/terms-of-service Nano-GPT privacy policy: https://nano-
gpt.com/legal/privacy-policy

## Installation

 1. Upload the plugin files to `/wp-content/plugins/modeltrestle-ai-connector-for-nano-
    gpt/`.
 2. Activate the plugin through the Plugins screen.
 3. Open Settings > Connectors and configure the Nano-GPT API key.
 4. Open Settings > Nano-GPT to verify the connection and view the balance.

The `NANOGPT_API_KEY` environment variable or PHP constant can be used instead of
storing the key in WordPress.

## FAQ

### How do I get a Nano-GPT API key?

Visit https://nano-gpt.com/api and create an API key.

### Does “Subscription-included” mean a model is free for everyone?

No. It means Nano-GPT lists that text model as included for the API key’s active
subscription. Nano-GPT’s plan limits and terms still apply.

### Where can I see my remaining balance?

Open Settings > Nano-GPT. The USD and Nano balances are cached for five minutes;
use the refresh button to request a current value.

### What image operations are supported?

The initial release supports text-to-image generation. Image editing and image-to-
image workflows are not yet supported.

### Can I troubleshoot recent Nano-GPT calls?

Yes. Open Settings > Nano-GPT > Activity. Logging is disabled by default. When enabled,
the plugin stores a bounded local history with model, type, status, duration, token
counts, request context, and best-effort caller attribution.

Storing prompts, responses, and generation settings is a separate opt-in because
that content may be personal, confidential, or unpublished. API credentials are 
redacted, inline base64 image data is omitted, and URL query strings are not retained.
The default retention is 7 days and 500 calls, and administrators can clear the 
log at any time. Deleting the plugin removes its activity table and activity settings.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“ModelTrestle AI Connector for Nano-GPT” is open source software. The following 
people have contributed to this plugin.

Contributors

 *   [ brento ](https://profiles.wordpress.org/brento/)
 *   [ Jonathan Bossenger ](https://profiles.wordpress.org/psykro/)

[Translate “ModelTrestle AI Connector for Nano-GPT” into your language.](https://translate.wordpress.org/projects/wp-plugins/modeltrestle-ai-connector-for-nano-gpt)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/modeltrestle-ai-connector-for-nano-gpt/),
check out the [SVN repository](https://plugins.svn.wordpress.org/modeltrestle-ai-connector-for-nano-gpt/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/modeltrestle-ai-connector-for-nano-gpt/)
by [RSS](https://plugins.trac.wordpress.org/log/modeltrestle-ai-connector-for-nano-gpt/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.0.0

 * Replaced OpenRouter with Nano-GPT text generation and dynamic model discovery.
 * Added Nano-GPT text-to-image generation.
 * Added subscription-aware billing labels, model family, release month, and context
   size.
 * Added WordPress Connectors integration and account balance display.
 * Added preferred-model settings with catalog filtering and sorting.
 * Added optional local activity logging with privacy controls, filters, caller 
   attribution, errors, timing, and bounded retention.
 * Fixed image size and orientation support for Nano-GPT’s model-specific resolution
   formats.

## Meta

 *  Version **2.0.0**
 *  Last updated **2 months ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 7.0 or higher **
 *  Tested up to **7.0.6**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [AI](https://wordpress.org/plugins/tags/ai/)[artificial intelligence](https://wordpress.org/plugins/tags/artificial-intelligence/)
   [connector](https://wordpress.org/plugins/tags/connector/)[image-generation](https://wordpress.org/plugins/tags/image-generation/)
 *  [Advanced View](https://wordpress.org/plugins/modeltrestle-ai-connector-for-nano-gpt/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/modeltrestle-ai-connector-for-nano-gpt/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/modeltrestle-ai-connector-for-nano-gpt/reviews/)

## Contributors

 *   [ brento ](https://profiles.wordpress.org/brento/)
 *   [ Jonathan Bossenger ](https://profiles.wordpress.org/psykro/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/modeltrestle-ai-connector-for-nano-gpt/)