Aider v0.86.0: GPT-5 and Grok-4 Support

Aider v0.86.0 adds GPT-5 and Grok-4 support, improves command UX with better /clear and /undo output, and fixes model settings conflicts.

Aider v0.86.0: GPT-5 and Grok-4 Support

TL;DR

  • GPT-5 models now supported across the board
  • Grok-4 integration via xai and OpenRouter
  • Better UX for /clear, /undo, and /model commands

New

  • GPT-5 support — All GPT-5 models are now available for use in Aider.
  • Grok-4 integration — Access via xai/grok-4 or openrouter/x-ai/grok-4 model names.
  • Gemini 2.5 Flash Lite Preview — Added gemini/gemini-2.5-flash-lite-preview-06-17 model support.
  • Moonshot Kimi K2 — New model available via openrouter/moonshotai/kimi-k2.
  • /clear feedback — Command now prints confirmation message so you know it executed.
  • /undo readability — Shows only first line of commit messages for cleaner output.
  • Model announcements — Run /model with no args to see latest model updates.

Fixed

  • Model settings — New settings for existing models now properly replace old ones instead of conflicting.
  • Analytics — Updated PostHog SDK integration to support latest event-capture API.

Under the Hood

  • Bumped litellm to 1.75.0 for latest model support.
  • Aider wrote 88% of the code in this release.

Update with: pip install --upgrade aider-ai

Source: Aider