Skip to main content
Aider is a terminal coding assistant for Git projects. It can usually connect to third-party endpoints through OpenAI-compatible environment variables or model options.

Values

FieldValue
API Keysk-your-key
Base URLhttps://moxus.ai/v1
ModelCopy the exact model name from Models and pricing

Environment variables

Set these in the terminal that starts Aider:
export OPENAI_API_KEY="sk-your-key"
export OPENAI_API_BASE="https://moxus.ai/v1"
Then run Aider in your project directory:
aider --model gpt-4o
If your Aider version uses OPENAI_BASE_URL or --openai-api-base, follow the current version’s option names. The endpoint value remains https://moxus.ai/v1.

Recommendations

  • Start from a clean Git worktree so changes are easy to inspect.
  • Ask Aider to work on a small set of related files at a time.
  • For larger refactors, ask for a plan before allowing edits.
  • Create a separate API key for Aider and set a quota limit.

Troubleshooting

Use the exact model name from Models and pricing, and confirm it is a chat or coding model.
Confirm the variables are set in the same terminal session that starts Aider. If you edited a shell profile, reopen the terminal or run source.
Start with read-only questions, then specify exact files. Use Git diff to review each step.

Next steps