Skip to content

fix(opencode): match Gemini Flash intro pricing - #13192

Merged
fwang merged 2 commits into
devfrom
gemini-flash-intro-pricing
Nov 9, 2026
Merged

fwang merged 2 commits into
devfrom
gemini-flash-intro-pricing

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Zen charged Gemini 3.6/3.7/3.8 Flash at $1.50/$7.50/$0.15 (input/output/cache read, audio input $1.50), which is Google's price from 2027-01-01. Google's list price through 2026-12-31 is half that (https://ai.google.dev/gemini-api/docs/pricing).

  • gemini-3.6-flash, gemini-3.7-flash, gemini-3.8-flash: $0.75/$3.75/$0.075, audio input $0.75, plus a date >= 2027-01-01 ×2 multiplier (same pattern as gemini-4-argon), matching providers/google.
  • providers/google/models/gemini-3.7-flash.toml: adds the same 2027-01-01 doubling as 3.6 and 3.8 Flash. 3.7 Flash has the same promotion, but Google's pricing page doesn't list it yet.

v1 data change (sourced price fix), per bun run v1:check:

3  api cost.input: 1.5 -> 0.75
3  api cost.output: 7.5 -> 3.75
3  api cost.cache_read: 0.15 -> 0.075
3  api cost.input_audio: 1.5 -> 0.75

bun validate passes.

Docs: anomalyco/opencode gemini-flash-intro-pricing

Requested by: Frank via Slack

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

No actionable findings.

@github-actions github-actions Bot added the reviewer: ready Automated review found no actionable items label Nov 9, 2026
@github-actions github-actions Bot removed the reviewer: ready Automated review found no actionable items label Nov 9, 2026
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Action items

  • [low] [possible mistake] providers/google/models/gemini-3.7-flash.toml:127 - Check: Date-gated price increases must be directly sourced. Why: This adds date >= 2027-01-01 ×2 claiming the same promotion as 3.6/3.8 Flash, while the PR body and file header admit Google's pricing page has no 3.7 Flash entry / does not list it yet, so no cited source shows an intro end-date or post-intro rates for 3.7. Action: Provide a direct Google citation stating 3.7 Flash intro pricing through 2026-12-31 and $1.50/$7.50/$0.15 from 2027-01-01, or remove the multiplier.
  • [low] [possible mistake] providers/opencode/models/gemini-3.6-flash.toml:28 - Check: Relay pricing changes need the relay's own pricing evidence, not only lab list price. Why: Prices are halved away from the cited Zen source (https://opencode.ai/v2/docs/console/models/ accessed 2026-10-21 listing $1.50/$7.50) to Google's intro price with a future ×2 multiplier, with no updated Zen docs/API cited showing Zen honors the intro period and 2027-01-01 increase. Action: Cite updated Zen pricing showing $0.75/$3.75/$0.075 with the 2027-01-01 increase for gemini-3.6-flash, gemini-3.7-flash, gemini-3.8-flash, or retain the Zen-documented price.

@fwang
fwang merged commit d21a0b4 into dev Nov 9, 2026
2 checks passed
@fwang
fwang deleted the gemini-flash-intro-pricing branch November 9, 2026 22:05
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.

1 participant