Skip to content
This repository was archived by the owner on Sep 18, 2025. It is now read-only.

feat: add claude 4 sonnet/opus to openrouter models - #287

Open
porameht wants to merge 1 commit into
opencode-ai:mainfrom
porameht:feature/openrouter-claude-4
Open

porameht wants to merge 1 commit into
opencode-ai:mainfrom
porameht:feature/openrouter-claude-4

Conversation

@porameht

@porameht porameht commented Jul 3, 2025

Copy link
Copy Markdown

Objective

this change adds support for the "openrouter – claude 4 sonnet" and "openrouter – claude 4 opus" models by defining their model ids and configurations, enabling the application to utilize these models via the openrouter provider.

Change logs

  • Adds OpenRouterClaude4Sonnet model ID.
  • Adds OpenRouterClaude4Opus model ID.
  • Defines and configures the OpenRouterClaude4Sonnet model.
  • Defines and configures the OpenRouterClaude4Opus model.
@flaneur2020

Copy link
Copy Markdown

this is very useful 🥇, hope the maintainers can merge it

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants