Conversation
Opper is an EU hosted gateway. One key reaches models from OpenAI, Anthropic, Google, Mistral, DeepSeek, Moonshot and open weight vendors at https://api.opper.ai/v3/compat. Mirrors the Requesty provider added in HKUDS#159: a ProviderSpec on the generic openai_compat gateway path, the matching ProviderConfig block, and tests pinning the wiring. Two provider specific decisions, both covered by tests. Prompt caching is on, because Opper serves Anthropic models and prices cached input separately, and bare pool names start with claude so the existing trigger applies. strip_model_prefix stays off, unlike Forge: Opper ids are bare pool names, but a provider/model id such as azure/gpt-5.5 deliberately pins one route, so stripping the prefix would silently change routing.
This branch has not been deployed
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.
Opper is an EU hosted gateway. One key reaches models from OpenAI, Anthropic, Google, Mistral, DeepSeek, Moonshot and open weight vendors at https://api.opper.ai/v3/compat.
Mirrors the Requesty provider added in #159: a ProviderSpec on the generic openai_compat gateway path, the matching ProviderConfig block, and tests pinning the wiring.
Two provider specific decisions, both covered by tests. Prompt caching is on, because Opper serves Anthropic models and prices cached input separately, and bare pool names start with claude so the existing trigger applies. strip_model_prefix stays off, unlike Forge: Opper ids are bare pool names, but a provider/model id such as azure/gpt-5.5 deliberately pins one route, so stripping the prefix would silently change routing.
Description
[Briefly describe the changes made in this pull request.]
Related Issues
[Reference any related issues or tasks addressed by this pull request.]
Changes Made
[List the specific changes made in this pull request.]
Checklist
Additional Notes
[Add any additional notes or context for the reviewer(s).]
Disclosure: I work at Opper. Opper is an OpenAI-compatible gateway hosted in the EU, and a good part of what it adds over a generic endpoint is European native routes, so requests can be pinned to EU-hosted regions. Happy to adjust anything here to match project conventions, or to close it if a named provider is not wanted.