Skip to content

Add an Opper preset to the LLM client - #808

Merged
Mzack9999 merged 1 commit into
projectdiscovery:mainfrom
Felixkw12:opper-preset
Oct 27, 2026
Merged

Mzack9999 merged 1 commit into
projectdiscovery:mainfrom
Felixkw12:opper-preset

Conversation

@Felixkw12

@Felixkw12 Felixkw12 commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #809

Opper is an EU-hosted AI gateway with an OpenAI-compatible chat endpoint: 700+ models from 50+ providers behind one key. Selecting opper uses https://api.opper.ai/v3/compat and still requires LLM_API_KEY. The client calls <base>/chat/completions, which is Opper's chat completions endpoint.

The tests extend the existing preset and hosted key cases. I did not run them locally.

Model ids are bare names such as claude-sonnet-4-6 or gpt-5.4-mini, listed in the public catalog at https://api.opper.ai/v3/models. Keys: https://platform.opper.ai

Once this is in, a small nuclei PR can list opper in the -llm-provider help text.

Disclosure: Opper is my startup.

Opper's chat endpoint is OpenAI-compatible. Selecting opper uses https://api.opper.ai/v3/compat, and the client calls <base>/chat/completions. It is a hosted preset, so LLM_API_KEY is required. Tests mirror the existing hosted preset cases.

Disclosure: Opper is my startup.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@Mzack9999
Mzack9999 merged commit 58f5a3b into projectdiscovery:main Oct 27, 2026
6 checks passed
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.

Add an Opper preset to the LLM client

2 participants