Documentation

Aider

Use Aider with Prismatic by exporting OpenAI-compatible environment variables.

Configuration

  • Set OPENAI_API_KEY to your Prismatic API key.
  • Set OPENAI_API_BASE to https://api.prismaticapi.com/v1.
  • Run Aider with --model openai/public-model-id.
  • Use one project shell per environment so keys stay scoped.

Example

Shell
export OPENAI_API_KEY="pa_YOUR_KEY"
export OPENAI_API_BASE="https://api.prismaticapi.com/v1"

aider --model openai/claude-sonnet-4-6

Recommended models

  • claude-sonnet-4-6 — strong model for reasoning, refactors and coding agents.
  • claude-haiku-4-5 — fast option for autocomplete, small questions and lightweight tasks.
  • deepseek-v3-2 or another public ID — alternative based on your active catalog and plan.

Troubleshooting

Authentication error

Check that the API key has no extra spaces and has not been revoked in the dashboard.

Model rejected

Use a public model ID returned by GET /v1/models; do not use labels or aliases.

Connection issue

Confirm the configured base URL is exactly the one shown above and that your network allows HTTPS to api.prismaticapi.com.

Notes

  • Aider model names usually need the openai/ prefix for custom OpenAI-compatible providers.
  • Use a model with a large context window when asking Aider to inspect many files.