Add Gemini 3.8 Flash extract one-shot pipeline - #36
Merged
Conversation
Register gemini_3_8_flash_extract_oneshot_structured_output_file (one-shot structured output, low thinking) via the gemini_extract provider, add its gemini-3.8-flash pricing entry, document it, and add the leaderboard row.
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.
What
Add Gemini 3.8 Flash as a one-shot structured-output extract pipeline.
Why
Gemini 3.8 Flash is generally available (2026-09-02) at the same introductory price as 3.7 Flash, so the leaderboard should track the latest Flash tier.
How
gemini_3_8_flash_extract_oneshot_structured_output_filevia thegemini_extractprovider (one-shot structured output over the uploaded file,thinking_level: low).gemini-3.8-flashto the Gemini extract pricing table ($0.75 input / $3.75 output per 1M tokens).Changes
src/extract_bench/inference/pipelines/extract.py— new pipeline specsrc/extract_bench/inference/providers/extract/gemini_direct.py— pricing entrydocs/pipelines.md— pipeline table rowleaderboard.csv/README.md— leaderboard row and regenerated tablesTesting
uv run extract-bench pipelines | grep gemini_3_8_flash_extract_oneshot_structured_output_file— registers.uv run ruff checkon the changed files — passes.Notes
Uses the existing Gemini API key env vars (
GOOGLE_GEMINI_API_KEY/GEMINI_API_KEY/GOOGLE_API_KEY); no new configuration.