Skip to content

feat: add RainDragon provider with Gemma 4 26B and 31B mappings - #8

Merged
madeburo merged 5 commits into
openmodelsrun:mainfrom
hemaprathaban:add-raindragon-provider
Oct 27, 2026
Merged

madeburo merged 5 commits into
openmodelsrun:mainfrom
hemaprathaban:add-raindragon-provider

Conversation

@hemaprathaban

Copy link
Copy Markdown

Adds RainDragon as an inference provider, with mappings for Gemma 4 26B and Gemma 4 31B.

Public sources for the values in this PR:

Happy to change anything you need.

@madeburo madeburo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding RainDragon! Registry validation passes for all 544 files, and the model IDs, standard input/output prices, and provider-specific context windows match the public /v1/models response.

There are two discrepancies to resolve before merging:

  1. Cached-input pricing for Gemma 4 26B — mappings/raindragon/gemma-4-26b.yaml sets cache_read_per_million: 0.02, but the public pricing API currently reports cached_input_price_per_million: 0.03 for google/gemma-4-26B-A4B-it. Please align the mapping with the public USD-per-million rate, or provide an authoritative source explaining when the $0.02 rate applies. The 31B cached-input price already matches.

  2. Prompt/response retention — providers/raindragon.yaml describes prompts and responses as deleted after 24 hours, while the published privacy policy, particularly sections 1 and 4, says prompt/completion content is processed in memory and is not retained after request processing. Please clarify the applicable policy and make the registry description and public documentation consistent. This is a documentation discrepancy; I am not treating the public policy as independent verification of backend retention behavior.

Unknown rate limits being null are fine. I have not tested authenticated inference, so this review does not certify end-to-end API behavior. Happy to re-review once the two metadata discrepancies are resolved.

@hemaprathaban

hemaprathaban commented Oct 26, 2026 via email

Copy link
Copy Markdown
Author

@madeburo madeburo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fixes and the follow-up. Both concerns from our previous review are now resolved:

  • The public pricing API reports $0.02 per million cached-input tokens for Gemma 4 26B, matching the mapping; the 31B rate remains $0.03. The model IDs, standard input/output prices, and provider-specific context windows also match the public APIs.
  • The published privacy policy now consistently states that prompt/completion content is retained for up to 24 hours and then deleted, matching the provider description.

Registry validation passed locally, including a trial merge with the current main branch (579 files), and GitHub's Validate Registry check has passed for this PR. I also fixed a maintainer-side CI issue in this branch: fork PRs now publish the validation report in the Actions summary instead of failing while trying to write a PR comment with a read-only token. The validator and its mandatory failure gate remain in place.

Approving this registry addition. Thank you for resolving the discrepancies and keeping the public documentation and registry metadata aligned!

@madeburo
madeburo merged commit 374ef39 into openmodelsrun:main Oct 27, 2026
1 check 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.

2 participants