Add opper provider - #5114
Open
Felixkw12 wants to merge 8 commits into
Open
Conversation
Opper (opper.ai) is an EU-hosted AI gateway with an OpenAI-compatible endpoint at https://api.opper.ai/v3/compat. Adds provider.toml, logo, and 41 flagship models as base_model references with Opper pricing mirrored from GET /v3/compat/models (no gateway markup) and reasoning_options measured against the live chat completions endpoint (2026-08-19): effort strings pass through to each upstream's native set. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
Action items
|
- Remove toggle reasoning_options (no on/off control exposed on Opper's compat surface; noted in provider.toml comment). minimax/m3 becomes [] as MiniMax's only native control is a toggle we don't relay. - Drop all limit.context overrides: Opper's catalog reports the input cap as context_length for OpenAI-family models, so lab values are the correct window (verified gpt-5.3-codex, gpt-5.3-chat-latest; mistral and minimax overrides removed for the same reason). - Drop gemini-flash-latest / gemini-flash-lite-latest: alias pricing in Opper's catalog does not currently match the models the aliases should resolve to; flagged internally, will re-add once corrected. - grok-4.5 cache_read stays 0.5: that is Opper's billed rate per the live catalog. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
Action items
|
Mirrors Opper's billed tier schedule from the canonical catalog: GPT-5.4/5.5/5.6 family and 5.4-pro (272k threshold), Grok 4.6 (200k), Gemini 3.1 Pro (200k), MiniMax M3 (524288). Grok 4.3/4.5, Kimi K3 and the Gemini Flash entries are billed flat per the catalog. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
Action items
|
- minimax/m3: restore context = 1_048_576 (Opper serves the 1M window; corroborated by the catalog tier threshold at 524_288 and the first-party MiniMax entry). Makes the tier band reachable. - gpt-5.5-pro: add the 272k band (60/270) — Opper bills the upstream schedule; the flat entry was a gap in our catalog record. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
Action items
|
Both entries intentionally differ from first-party list prices; the comments document the verified Opper billed rates and the internal follow-up, per repo convention. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
Action items
|
- grok-4.3 / grok-4.5 / grok-build-0.1: add xAI's 200k tier schedule (Opper bills upstream tiers; the flat records were catalog gaps like gpt-5.5-pro). - grok-4.5: base cache_read corrected to xAI's 0.3 — our catalog's 0.5 was inherited from grok-4.6, flagged internally. - gemini-3.6-flash: dropped until we confirm the route is not a mislabeled 3.7 mapping, per reviewer suggestion. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
|
No actionable findings. |
Measured against POST /v3/compat/chat/completions (2026-08-21): Anthropic, Grok and MiniMax responses carry the thinking text in message.reasoning_content; OpenAI, Gemini, Perplexity and Muse routes return content only, so those entries stay unset. kimi-k3 follows the same upstream convention (capacity-limited during testing). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
|
No actionable findings. |
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.
Adds Opper (https://opper.ai) — an EU-hosted AI gateway serving 700+ models from 30+ providers through an OpenAI-compatible endpoint at https://api.opper.ai/v3/compat. (Disclosure: I work at Opper.)
What's included
provider.toml — @ai-sdk/openai-compatible, OPPER_API_KEY
logo.svg (currentColor)
43 flagship models as base_model references (Anthropic, OpenAI, Gemini, xAI, Mistral, Moonshot, MiniMax, Meta, Perplexity)
Data sourcing
Pricing is mirrored from our public catalog endpoint GET /v3/compat/models (OpenAI models.list shape with per-token pricing and context length). Opper doesn't mark up provider token rates, so costs match upstream list prices.
reasoning_options were measured against POST /v3/compat/chat/completions on 2026-08-19: effort strings pass through to the upstream API unchanged, so each model carries its native set (details in the provider.toml comment). Budget-token values are not accepted on this surface.
The full live catalogue (612 models) is discoverable via /v3/compat/models; this PR curates current-generation flagships.
bun run validate passes locally.