Skip to content

Add claude 4 #4063

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jdanbrown opened this issue May 22, 2025 · 7 comments
Open

Add claude 4 #4063

jdanbrown opened this issue May 22, 2025 · 7 comments

Comments

@jdanbrown
Copy link

Issue

Released today (2025-05-22) 🎉

Please include the openrouter models in addition to the usual anthropic/bedrock/etc. ones :)

Version and model info

No response

@NN1985
Copy link

NN1985 commented May 22, 2025

Looking forward to seeing the benchmarks as well.

@y0ug
Copy link

y0ug commented May 23, 2025

In the meantime you can create a file .aider.model.settings.yml in your $HOME, project, etc...

Advanced model settings | aider

aider/aider/resources/model-settings.yml at main · Aider-AI/aider

- name: anthropic/claude-4-sonnet-20250514
  overeager: true
  edit_format: diff
  weak_model_name: anthropic/claude-3-5-haiku-20241022
  use_repo_map: true
  examples_as_sys_msg: true
  extra_params:
    extra_headers:
      anthropic-beta: prompt-caching-2024-07-31,pdfs-2024-09-25,output-128k-2025-02-19
    max_tokens: 64000
  cache_control: true
  editor_model_name: anthropic/claude-3-7-sonnet-20250219
  editor_edit_format: editor-diff
  accepts_settings: ["thinking_tokens"]

@UnbornAztecKing
Copy link

- name: claude-4-opus-20250514
  edit_format: diff
  weak_model_name: claude-3-5-haiku-20241022
  use_repo_map: true

@slonik-az
Copy link

surprisingly @paul-gauthier has not labeled this as a priority.

@jdemaeyer
Copy link

surprisingly @paul-gauthier has not labeled this as a priority.

Jesus, it's not even been 24 h since the release. Give the man some time to react (or maybe even – God forbid – time to enjoy his life for a day)

@jdanbrown
Copy link
Author

surprisingly @paul-gauthier has not labeled this as a priority.

Please lay off. I consider myself lucky that he does such a fantastic job maintaining and improving aider. It's not our place to tell him to work harder or faster, or on our own timelines. He'll get to it when he gets to it.

@ThePixelDeveloper
Copy link

There's a sick irony in that Aider could probably help you add support (and create a PR) for Claude 4 using models that are already available to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants