RisuAI plugins explained: do you need a provider plugin?
What RisuAI plugins are, what provider plugins such as Cupcake Provider Manager, Yumi Provider Manager and Mask do, and how to get Claude's prompt caching in RisuAI without one.
Usually not. RisuAI's built-in Custom API and custom models already connect any OpenAI-compatible service, switch models, and send Claude requests in Claude's own format with prompt caching; a provider plugin is an optional extra for juggling several keys or accounts and keeping per-model presets in one place.
Last updated: 15 November 2026. Based on RisuAI v2026.10.295's source code and what each plugin's author has published.
What a RisuAI plugin is
A RisuAI plugin is a JavaScript file that adds to the app. You add the file under Settings, Plugin, and turn it off or remove it on the same screen, which warns that "installing malicious plugins can cause problems".
Plugins can restyle the interface, hook into translation and text-to-speech, add tools, or register a new way to reach a model. That last kind is a provider plugin: RisuAI's plugin API has an addProvider call that registers the plugin as a model source, and the plugin then builds and sends each request itself instead of RisuAI's built-in connection.
What provider plugins are used for
- Claude's native format: sending requests in Claude's own message format, to control prompt caching and thinking settings.
- Several services, keys and accounts: storing more than one key or account, switching between them, and moving to the next one when a request fails.
- Per-model fixes and presets: adjusting parameters and message rules for each model, and saving sets of settings.
The best-known provider plugins
These are community plugins, not part of RisuAI, and are mostly shared through their authors' posts in Korean RisuAI communities. Features change between versions, so check the author's current notes before relying on one.
| Plugin | What it does |
|---|---|
| 🧁 Cupcake Provider Manager (CPM), by ruyari | Manages many services' endpoints, authentication and model lists in one plugin, with a separate connection slot for the auxiliary model. |
| Yumi Provider Manager | Key rotation and retries, usage statistics including cache reads and writes, request logs, cache point settings, and a router that picks a connection by rule. It can also connect to an OpenAI-compatible URL. |
| Mask, by hush27 | A provider plugin for RisuAI's plugin API 3.0 with multi-account routing, native request formats per service, request logs, and memory and tool add-ons. |
What works without a plugin
| You want to | Built into RisuAI |
|---|---|
| Connect an OpenAI-compatible API | Settings, Chat Bot, model Custom API |
| Switch models | Change the Request Model id |
| Send Claude its own format | Advanced Settings, Custom Models, Format Anthropic |
| Prompt caching on Claude | A custom model, plus a Cache Point in the prompt template or Automatic Cache Point |
| Keep the cache for an hour | Advanced Settings, Claude 1 Hour Caching |
| Claude's thinking | The claudeThinking or claudeAdaptiveThinking flag on the custom model |
With an API that serves many models on one key, such as Inferray, the "several services and keys" reason mostly goes away too: one key reaches every model in the catalogue, and you switch by changing the model id.
Claude prompt caching without a plugin
Prompt caching stores the part of a request that repeats, such as the character card, the system prompt and the older chat history, and bills it at a fraction of the input price the next time it is sent. A role-play chat resends the same beginning on every message, so it is where caching pays off most. See prompt caching for role-play for the numbers.
Claude caches only what the request marks. In RisuAI:
- Under Advanced Settings, Custom Models, click +.
- Enter
https://api.inferray.com/v1/messagesas the URL, Anthropic as the Format, Claude as the Tokenizer, a Claude id such asclaude-sonnet-5-5as the Request Model and your key as Key/Password, and turn on thehasFirstSystemPromptandhasStreamingflags. - Add a Cache Point item to your prompt template, or turn on Enable Experimental Features and then Automatic Cache Point.
One trap: switching the Custom API's Format to Anthropic Claude does send Claude's format, but RisuAI sends each message as plain text on that path, so the cache markers are dropped. Use a custom model for caching. The RisuAI setup guide has every field.
When a plugin is worth it
- You want several keys or accounts stored and rotated automatically.
- You want usage, cache-hit statistics and request logs inside RisuAI.
- You keep several parameter presets per model and switch between them.
- You want a plugin's own extras, such as its memory or tools.
If a plugin has a field for a custom OpenAI-compatible or Anthropic endpoint, Inferray works there too, at https://api.inferray.com/v1. Field names differ from plugin to plugin, so follow its own instructions.
Using plugins safely
- A provider plugin handles your API keys. Install only builds you can trace to their author.
- Give the plugin its own key, so you can delete just that key if something goes wrong.
- A RisuAI update can break a plugin for a while. Keeping a plain Custom API setup lets you keep chatting meanwhile.
FAQ
How do I install a RisuAI plugin?
Add the plugin's .js file under Settings, Plugin. For a provider plugin, then choose the connection it registers in the model list.
Is CPM, Yumi or Mask better?
They aim at different things. The provider managers (CPM, Yumi) gather many services in one place; Mask adds account routing and extra features. If all you want is many models on one key, the built-in Custom API is enough.
Does prompt caching always save money?
Nearly always in long chats, but not on every message. Writing to the cache costs more than normal input, and anything that changes near the start of the prompt, such as a random macro or a lorebook entry that changes every turn, stops the cache from matching.
Is RisuAI free?
Yes, RisuAI is free and open source. You pay only for the model you connect, and Inferray adds no gateway fees on top of the model's price.
| Model | Input / 1M | Cached / 1M | Output / 1M | Context |
|---|---|---|---|---|
| Claude Sonnet 5.5 | $2 | $0.1 | $10 | 1M |
| Claude Opus 5.5 | $4 | $0.2 | $20 | 1M |
| DeepSeek V4.1 Flash | $0.15 | $0.003 | $0.6 | 1M |
| GLM-5.3 | $0.77 | $0.143 | $2.42 | 262K |
| Kimi K3 | $3 | $0.3 | $15 | 1.0M |
Prices on this page come from the model catalog and were current on November 27, 2026.
A Token Plan key works in RisuAI the same way, for a fixed monthly price.