Repository navigation
feat: add gpt-6-1-terra, gemini-3-pro-image, and gemini-3-1-flash-image to AI Gateway /models - #6904
Open
danieltprice wants to merge 1 commit into
Open
danieltprice wants to merge 1 commit into
danieltprice wants to merge 1 commit into
Conversation
…ge to AI Gateway /models Co-authored-by: Isaac <no-reply@databricks.com>
danieltprice
requested review from
andrelandgraf,
bgrenon,
philip and
ruf-io
as code owners
November 20, 2026 16:53
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Collaborator
Author
Live test resultsTested 2026-11-20 against a production AI Gateway branch (
This pull request and its description were written by Isaac. |
philip
reviewed
Nov 20, 2026
philip
left a comment
Collaborator
There was a problem hiding this comment.
Reviewed by Philip with his agent (live-tested):
What's here is accurate, but I suggest holding the merge until the pricing is complete and the issues below are addressed. Tested on production:
/v1/modelslists all three, and thedata.jsontext prices and limits match it, including thekimi-k3-1-proandgemini-4-carbonupdates.gpt-6-1-terra: chat returns a string, and Responses, web search, and the page's image examples (AI SDK, TypeScript, Python) work.- Both Gemini image models return
image_urlPNGs on chat completions andinlineDataPNGs on the Gemini endpoint. - Model tests (149) pass.
Before merging:
- Pricing: the gateway also bills image output ($120/M for
gemini-3-pro-image, $60/M forgemini-3-1-flash-image). The pages show only the text output rate ($12 and $3), so image generation looks 10 to 20 times cheaper than it is. And confirm the overall pricing with PM. - Flash Image errors: non-streaming chat requests to
gemini-3-1-flash-imagereturned 200 withfinish_reason: "error"and empty content in 4 of 25 tries. Streamed and Gemini endpoint requests all returned images (22 of 22). This needs a fix upstream or a note to stream. - Image filter: with
imageGeneration: false, the Gemini image models don't appear under the Image filter, and their pages show only text examples.
This branch was successfully deployed
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 three AI Gateway models to the
/modelspage and their docs pages, so the pages show code examples instead of the "not available" placeholder.capabilities.json: measured entries forgpt-6-1-terra,gemini-3-pro-image, andgemini-3-1-flash-image(fromprobe:conformance, new rows only)data.json: regenerated withupdate-models-from-ai-gateway.mjs; adds the three models and replaces $0 prices forkimi-k3-1-proandgemini-4-carbonwith the gateway's ratesgemini.md: adds the two image models to the supported models tableopenai-responses.md: addsgpt-6-1-terra; notes that the Gemini image models generate images on chat completions and the Gemini endpointmodels.md: adds the image models to the content shape admonition, with theimage_urlblock shapeNEON PREVIEW
This pull request and its description were written by Isaac.