Add onomeo provider - #7615
Open
Owaid0723666 wants to merge 1 commit into
Open
Add onomeo provider#7615Owaid0723666 wants to merge 1 commit into
Owaid0723666 wants to merge 1 commit into
Conversation
Co-Authored-By: Claude Opus 5 (1M context) <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 onomeo, an OpenAI-compatible gateway. I operate onomeo; this PR comes from its operator.
https://onomeo.com/v1(/chat/completions, streaming supported),@ai-sdk/openai-compatibleONOMEO_API_KEY, the same name the site's own OpenCode guide uses: https://onomeo.com/integrations/opencodemodels) and each has a page athttps://onomeo.com/models/<id>.No
[cost]tablesonomeo has no per-token USD price. Each reply deducts
usage.total_tokensfrom a credit balance, counted from the visible text sent and received (reasoning is not charged), and premium models deduct more per call. Credits come from a free daily check-in (1,200 a day, up to 3,500 on a 7-day streak); an optional $5 membership and a $5 top-up add credits. There is no honest USD/MTok figure to publish, so the model files omit[cost], as the credit and subscription plans already in the repo do (xiaomi-token-plan-*,stepfun-step-plan). Theprovider.tomlheader records this with sources.Limits: 12 requests/min per key, 60 requests per 5 hours per account. The docs FAQ describes the service as a free beta with no uptime promise.
Models (7), all
base_modelwith overrides onlygemini-3.1-flash-litegoogle/gemini-3.1-flash-liteminimal/low/medium/high; inputtext, imagegemini-3-flash-previewgoogle/gemini-3-flash-preview@cf/openai/gpt-oss-120bopenai/gpt-oss-120blow/medium/high; context 128,000, output 16,384providers/cloudflare-workers-ai/models/@cf/openai/gpt-oss-120b.toml@cf/meta/llama-4-scout-17b-16e-instructmeta/llama-4-scout-17b-instructopenai/gpt-oss-20bopenai/gpt-oss-20blow/medium/highcodestral-latestmistral/codestral-latestmistral-Nemo-Instruct-2407mistral/mistral-nemoNot verified for this PR
onomeo does not publish which upstream serves each model. The
reasoning_optionsfollow the lab and same-surface peer entries, per the relay policy inAGENTS.md; each effort value was not re-tested through onomeo.tool_callis inherited from the lab entries and was not tested separately.This first PR leaves out models whose serving surface I could not pin down from the ID (DeepSeek V4 Flash, GLM-5.2, Nemotron 3 Super and others) and the
:freeIDs.Logo
onomeo's pixel-cat icon (https://onomeo.com/icon.svg) with each original color layer set to
currentColorplus afill-opacity. The path data is unchanged; no width/height; squareviewBox="0 -2 40 40".Validation
generate()(the functionbun validateruns) passes locally forproviders/onomeoagainst the repo'smodels/. A fullbun validatecould not run on my Windows checkout, because the repo's symlinked TOML files and filenames containing:do not check out on Windows; CI runs it on Linux.🤖 Generated with Claude Code