Skip to content

feat(ai-gateway): discount Gemini 3.8 Flash pricing - #5998

Merged
chrarnoldus merged 1 commit into
mainfrom
jagged-cardamom
Sep 10, 2026
Merged

feat(ai-gateway): discount Gemini 3.8 Flash pricing#5998
chrarnoldus merged 1 commit into
mainfrom
jagged-cardamom

Conversation

@chrarnoldus

Copy link
Copy Markdown
Contributor

Summary

  • set non-fallback custom pricing for google/gemini-3.8-flash using OpenRouter's 50%-discounted standard endpoint rates
  • mark the promotional pricing as available through the end of 2026
  • cover displayed rates and cost recalculation when upstream reports a market cost

Pricing source: https://openrouter.ai/api/v1/models/google/gemini-3.8-flash/endpoints

Testing

  • Not run locally; left to CI as requested

@chrarnoldus chrarnoldus self-assigned this Sep 9, 2026
@kilo-code-bot

kilo-code-bot Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (2 files)
  • apps/web/src/lib/ai-gateway/custom-pricing.ts
  • apps/web/src/lib/ai-gateway/custom-pricing.test.ts

Reviewed by grok-4.6 · Input: 110.3K · Output: 12.5K · Cached: 986.1K

Review guidance: REVIEW.md from base branch main

@chrarnoldus
chrarnoldus merged commit 13e40bf into main Sep 10, 2026
17 checks passed
@chrarnoldus
chrarnoldus deleted the jagged-cardamom branch September 10, 2026 09:39
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