Short answer. Set
OPENAI_API_BASE=https://api.plugsky.com/v1andOPENAI_API_KEYto your Plugsky key, then runaider --model openai/plugsky-coder. Theopenai/prefix is required. For architect mode, use--model openai/plugsky-reasoning --editor-model openai/plugsky-coder.
Install Aider
python -m pip install aider-install
aider-install
Or use pipx or uv. Aider needs a Git repository; run it from the root of the project you want it to edit.
Environment variables
export OPENAI_API_BASE=https://api.plugsky.com/v1
export OPENAI_API_KEY=sk-live-...
aider --model openai/plugsky-coder
Aider’s OpenAI-compatible path reads OPENAI_API_BASE, not OPENAI_BASE_URL. Setting the wrong variable makes Aider call api.openai.com with a Plugsky key, which returns a 401.
Persistent config
Put the same values in .aider.conf.yml at the repository root or in your home directory:
openai-api-base: https://api.plugsky.com/v1
model: openai/plugsky-coder
weak-model: openai/plugsky-lite
editor-model: openai/plugsky-coder
Do not commit a key to this file. Aider reads OPENAI_API_KEY from the environment, or from .env if you load it yourself.
Which model to use
| Alias | Use it for | Why |
|---|---|---|
openai/plugsky-coder | Default coding and edits | 550B class, 262K context, strong diff following |
openai/plugsky-pro | General workhorse | Broader reasoning, same tool-free edit path |
openai/plugsky-reasoning | Architect mode | Planning and trade-offs before the editor model writes |
openai/plugsky-lite | Commit messages and summaries | Cheap, exact-engine ID with no automatic fallback |
openai/plugsky-vision-fast | Screenshots and UI work | Image input; 131K context |
Aider does not use OpenAI tool calling for edits; it asks the model to return a diff or a whole-file rewrite. A model that follows the edit format matters more than one that advertises tool calls. plugsky-coder is tuned for this path.
Architect mode
Architect mode uses two models: one to propose the change and one to apply it. A strong planner plus a fast editor is a good fit for a flat-rate plan.
aider --architect \
--model openai/plugsky-reasoning \
--editor-model openai/plugsky-coder
If the editor model returns malformed diffs, switch it to openai/plugsky-pro or reduce the number of files in the chat. Aider’s /add and /drop commands control that set.
Repository map and context
Aider builds a repository map from the files in the chat and the Git tree. The map is sent with each request. On a large monorepo, lower the map budget:
aider --map-tokens 2048 --model openai/plugsky-coder
Use /add for the files that matter and /drop for the ones that do not. Aider’s context window setting is separate from Plugsky’s alias limit; keep the total below the alias context in /models.
Commits and weak model
Aider uses the weak model for commit messages and summarisation. Point it at openai/plugsky-lite to keep those calls cheap. If you disable auto-commits, the weak model is used less.
aider --no-auto-commits --weak-model openai/plugsky-lite
Cost display
Aider can estimate cost from a per-token price table. Plugsky is flat-rate, so the estimate will be wrong or zero unless you add a custom price. Do not use Aider’s cost line as a bill; use the Plugsky dashboard for plan usage. Builder and Scale have no monthly token cap or per-token overage.
Limits
The free plan is an evaluation tier: 100 requests and 50K tokens per day, one concurrent request, 32K input and 2K output. Aider’s repository map and repeated diffs will exhaust that quickly. Hobby at $8 gives 1,000 requests and 2M tokens per day; Builder at $60 removes the monthly token cap.
Troubleshooting
- 401:
OPENAI_API_KEYis missing, has whitespace, or Aider is calling OpenAI becauseOPENAI_API_BASEis not set. - 404: the base URL is missing
/v1, or it already ends in/v1and you added/chat/completions. Aider appends the path. - Model not found: the
openai/prefix is missing, or the alias is misspelled. Useopenai/plugsky-coder, notplugsky-coderalone. - Malformed diffs: the model is not following the edit format. Try
plugsky-pro, reduce the file set, or switch the edit format with--edit-format. - 429: plan RPM, concurrency or daily tokens. Reduce parallel Aider sessions or move to Builder.
- Context errors: lower
--map-tokens, drop files, or use a larger-context alias.
Security
Aider sends the files you add, the repository map and your prompts to Plugsky. Keep secrets out of the chat, use .gitignore and .aiderignore, and do not run it on a repository with credentials in tracked files. The key belongs in an environment variable or a local secrets manager, never in .aider.conf.yml committed to Git.
Give Aider a flat-rate backend
Start free, then move to Hobby or Builder for real repository work.
Start Free → See pricingRelated pages
Sources
| Project | Page checked | Checked |
|---|---|---|
| Aider | OpenAI-compatible endpoint | 26 Nov 2026 |
| Aider | Config file options | 26 Nov 2026 |
| Aider | Architect mode | 26 Nov 2026 |
| Aider | Edit formats and conventions | 26 Nov 2026 |
| Plugsky | Aliases and context limits | 26 Nov 2026 |
| Plugsky | Plan limits | 26 Nov 2026 |
Last checked 26 November 2026. Plugsky limits are canonical at /pricing; the model list is at /models.