Skip to content

feat(providers): add Opper as an OpenAI-compatible gateway - #242

Open
Felixkw12 wants to merge 1 commit into
HKUDS:mainfrom
Felixkw12:feat/opper-provider
Open

Felixkw12 wants to merge 1 commit into
HKUDS:mainfrom
Felixkw12:feat/opper-provider

Conversation

@Felixkw12

@Felixkw12 Felixkw12 commented Sep 23, 2026 •

Copy link
Copy Markdown

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

  • Changes tested locally
  • Code reviewed
  • Documentation updated (if necessary)
  • Unit tests added (if applicable)

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.

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

No deployments
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

Successfully merging this pull request may close these issues.

1 participant