Repository navigation
Conversation
Add Opper, a European AI gateway with 700+ models behind one OpenAI-compatible API and one key, as a model provider. It follows the OpenRouter provider: a menu group with the same mix of models, a settings form where any other model can be typed in, an API key in Settings or OPPER_API_KEY, and a README entry. Model IDs are prefixed "opper/", since Opper's IDs are the models' own names (e.g. claude-sonnet-5-5). Each response is its own request to Opper's chat completions, as for OpenRouter. Disclosure: Opper is my startup. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Opper as a model provider. Opper is a European AI gateway: 700+ models from 50+ providers behind one OpenAI-compatible API and one key. It follows the OpenRouter provider from #436, without the image models and reasoning settings.
opper/, as OpenRouter's areopenrouter/. Opper's IDs are the models' own names (claude-sonnet-5-5), which would otherwise route to Anthropic.OPPER_API_KEY.https://api.opper.ai/v3/compat/chat/completions, one per response, as for OpenRouter, and are extracted with the OpenRouter chat extractor.Testing
opper.test.ts, modelled onopenrouter.test.ts: routing and the prefix, the settings form, the request body and key, n requests, tool calls, errors, andcall_llmrouting.https://chainforge.aito the endpoint returnsaccess-control-allow-origin: *and allowsAuthorizationandContent-Type, so the web version can call it.Disclosure: Opper is my startup.