ready. Connect supports automatic setup.
Connect Aider
Have Aider installed, a workspace API key, and available RunInfra credits.What Connect writes
Both files live in your home directory. Connect does not move them to an application-data or XDG directory.
The YAML sets
model to openai/<slug> and openai-api-base to https://api.runinfra.ai/v1. The metadata contains catalog token limits under each openai/<slug> entry: max_input_tokens, max_output_tokens, and max_tokens. Here, max_tokens is the output limit.
The catalog supplies token limits, not cost data. Existing cost fields are preserved but are not verified by this catalog. Unknown cost warnings may remain. Connect does not add tool or reasoning capability fields to the metadata.
Key placement
The default literal mode writes your key toopenai-api-key in .aider.conf.yml. Helper mode removes an owned saved literal and requires Aider’s native environment variable:
RUNINFRA_API_KEY securely, then run the handoff in the environment that launches Aider:
- macOS and Linux
- PowerShell
RUNINFRA_API_KEY securely in their launch environment and restart them with the native handoff above. On Windows, use the user environment and also set AIDER_OPENAI_API_KEY there before restarting the launcher. GUI and Start menu launches do not inherit a terminal-only assignment. Connect does not write YAML environment interpolation.
Verify
Aider 0.86.2 completed a verified round trip through RunInfra using the Connect-written.aider.conf.yml and .aider.model.metadata.json.
This manual verification template is docs-only. Connect does not execute it:
Restart
Restart Aider in a new Aider process to load the selected model and credentials.Troubleshooting
The planning check cannot prevent later project, command-line, dotenv, model
extra_params, or set-env changes from redirecting Aider. Confirm the actual destination after restart.
Revert
off restores the original bytes from before the first on in the active connection. It removes managed files that did not exist then. Later on calls and key rotations keep that restore point.
If either managed file changed after setup, Connect refuses to overwrite it. Back up and review the edits before choosing to discard them:
AIDER_OPENAI_API_KEY environment changes yourself. File restoration does not change project overrides or dotenv files outside the managed pair.
Related
Connect
Set up, inspect, and restore your coding agent.
Chat completions
Read the request contract.
Models
Find model ids and context windows.