aider
aider copied to clipboard
openrouter/openai/gpt-5 is missing vision support
Issue
I can't add images using openrouter/openai/gpt-5 or openrouter/openai/gpt-5-codex, but I can using openai/gpt-5:
- https://openrouter.ai/openai/gpt-5
- https://openrouter.ai/openai/gpt-5-codex
$ aider --model openrouter/openai/gpt-5
─────────────────────────────────────────────────────────────────────────────────
Aider v0.86.2.dev28+g11516d6d6
Main model: openrouter/openai/gpt-5 with diff edit format
Weak model: openrouter/openai/gpt-5-nano
Git repo: .git with 79 files
Repo-map: using 4096 tokens, auto refresh
─────────────────────────────────────────────────────────────────────────────────
> /add /Users/danb/Desktop/screenshot-20250809-123252.png
Cannot add image file /Users/danb/Desktop/screenshot-20250809-123252.png as the openrouter/openai/gpt-5 does not support images.
─────────────────────────────────────────────────────────────────────────────────
>
$ aider --model openrouter/openai/gpt-5-codex
─────────────────────────────────────────────────────────────────────────────────
Aider v0.86.2.dev28+g11516d6d6
Model: openrouter/openai/gpt-5-codex with whole edit format
Git repo: .git with 79 files
Repo-map: using 4096 tokens, auto refresh
─────────────────────────────────────────────────────────────────────────────────
> /add /Users/danb/Desktop/screenshot-20250809-123252.png
Cannot add image file /Users/danb/Desktop/screenshot-20250809-123252.png as the openrouter/openai/gpt-5-codex does not support images.
─────────────────────────────────────────────────────────────────────────────────
>
$ aider --model openai/gpt-5
─────────────────────────────────────────────────────────────────────────────────
Aider v0.86.2.dev28+g11516d6d6
Main model: openai/gpt-5 with diff edit format
Weak model: openai/gpt-5-nano
Git repo: .git with 79 files
Repo-map: using 4096 tokens, auto refresh
─────────────────────────────────────────────────────────────────────────────────
> /add /Users/danb/Desktop/screenshot-20250809-123252.png
Added ../../Dropbox (Personal)/My Mac (Dan-B.local)/Desktop/screenshot-20250809-123252.png to the chat
─────────────────────────────────────────────────────────────────────────────────
Editable: ../../Dropbox (Personal)/My Mac (Dan-B.local)/Desktop/screenshot-20250809-123252.png
>
And I can using sonnet-4.5 or gemini-2.5-pro, with or without openrouter:
$ aider --model openrouter/anthropic/claude-sonnet-4.5
─────────────────────────────────────────────────────────────────────────────────
Aider v0.86.2.dev28+g11516d6d6
Model: openrouter/anthropic/claude-sonnet-4.5 with whole edit format, infinite output
Git repo: .git with 79 files
Repo-map: using 4096 tokens, auto refresh
─────────────────────────────────────────────────────────────────────────────────
> /add /Users/danb/Desktop/screenshot-20250809-123252.png
Added ../../Dropbox (Personal)/My Mac (Dan-B.local)/Desktop/screenshot-20250809-123252.png to the chat
─────────────────────────────────────────────────────────────────────────────────
Editable: ../../Dropbox (Personal)/My Mac (Dan-B.local)/Desktop/screenshot-20250809-123252.png
>
$ aider --model anthropic/claude-sonnet-4-5
─────────────────────────────────────────────────────────────────────────────────
Aider v0.86.2.dev28+g11516d6d6
Model: anthropic/claude-sonnet-4-5 with whole edit format, infinite output
Git repo: .git with 79 files
Repo-map: using 4096 tokens, auto refresh
─────────────────────────────────────────────────────────────────────────────────
> /add /Users/danb/Desktop/screenshot-20250809-123252.png
Added ../../Dropbox (Personal)/My Mac (Dan-B.local)/Desktop/screenshot-20250809-123252.png to the chat
─────────────────────────────────────────────────────────────────────────────────
Editable: ../../Dropbox (Personal)/My Mac (Dan-B.local)/Desktop/screenshot-20250809-123252.png
>
$ aider --model openrouter/google/gemini-2.5-pro --weak-model openrouter/google/gemini-2.5-flash
─────────────────────────────────────────────────────────────────────────────────
Aider v0.86.2.dev28+g11516d6d6
Main model: openrouter/google/gemini-2.5-pro with diff-fenced edit format
Weak model: openrouter/google/gemini-2.5-flash
Git repo: .git with 79 files
Repo-map: using 4096 tokens, auto refresh
─────────────────────────────────────────────────────────────────────────────────
> /add /Users/danb/Desktop/screenshot-20250809-123252.png
Added ../../Dropbox (Personal)/My Mac (Dan-B.local)/Desktop/screenshot-20250809-123252.png to the chat
─────────────────────────────────────────────────────────────────────────────────
Editable: ../../Dropbox (Personal)/My Mac (Dan-B.local)/Desktop/screenshot-20250809-123252.png
>
$ aider --model gemini/gemini-2.5-pro
─────────────────────────────────────────────────────────────────────────────────
Aider v0.86.2.dev28+g11516d6d6
Main model: gemini/gemini-2.5-pro with diff-fenced edit format
Weak model: gemini/gemini-2.5-flash
Git repo: .git with 79 files
Repo-map: using 4096 tokens, auto refresh
─────────────────────────────────────────────────────────────────────────────────
> /add /Users/danb/Desktop/screenshot-20250809-123252.png
Added ../../Dropbox (Personal)/My Mac (Dan-B.local)/Desktop/screenshot-20250809-123252.png to the chat
─────────────────────────────────────────────────────────────────────────────────
Editable: ../../Dropbox (Personal)/My Mac (Dan-B.local)/Desktop/screenshot-20250809-123252.png
>
Version and model info
(above)