Repository navigation
GptTerra W1-01: Register GPT-6.1 Terra in the fork's Bedrock catalog - #39
Merged
Merged
Conversation
Adds openai.gpt-6.1-terra to the model registry and aliases, routes it through Mantle Responses, and records live cassettes for the GPT-6 suite. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Sam Boland <sam.boland@appfolio.com>
samuelboland
marked this pull request as ready for review
November 9, 2026 19:41
samuelboland
approved these changes
Nov 9, 2026
samuelboland
left a comment
There was a problem hiding this comment.
Reviewed 558d9dd: the Terra entry matches the live measurements and the offer's US rate, the alias resolves, the routing lists include it, the seven recorded runs have credentials redacted, and CI is green.
Author
|
🤖 Supernova Code Review — View trace — via automation "Code Review Opus 5.5 Medium" (run), installed by Sam Boland (sam.boland@appfolio.com) |
Author
There was a problem hiding this comment.
I reviewed the PR and found nothing actionable.
models.jsonandaliases.json: theopenai.gpt-6.1-terraentry has the same layout asopenai.gpt-6.1-sol. Itspricing.text_tokens.standardvalues matchmetadata.cost(1.1 / 5.5 / 0.055 / 1.375). The efforts list includesnone, which the live checks support. The context window and output limits match the other GPT-6 models. The alias is in alphabetical order.- Routing:
MantleResponses::FRONTIER_GPT_PATTERN(/\Aopenai\.gpt-[56]/) matches the new id, so no code change is needed. - Specs: the new
gpt6_modelsentry and the routing-list additions agree with the catalog. In the compaction example,(gpt6_models.keys - [model]).firstpicksopenai.gpt-6-lunaas Terra's switch target. Adding Terra at the end of the hash doesn't change the switch target for the existing models, so their cassettes still match.
— via automation "Code Review Opus 5.5 Medium" (run), installed by Sam Boland (sam.boland@appfolio.com)
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.
Summary
Adds
openai.gpt-6.1-terrato the Bedrock catalog so Supernova can offer it after a gem bump. Catalog and specs only:Providers::Bedrock::MANTLE_ONLY_MODEL_PATTERN,Protocols::MantleResponses::FRONTIER_GPT_PATTERNandResponses::Chat::GPT6_MODEL_PATTERNalready match the id, so it routes to mantle/openai/v1/responseswith the GPT-6 output-item handling.models.json: a new entry afteropenai.gpt-6.1-sol.none low medium high xhigh max.aliases.json:gpt-6.1-terramaps toopenai.gpt-6.1-terraon bedrock.Live checks (2026-11-09, account 436292035443, us-east-1 mantle)
/v1/responsesand/v1/chat/completionsreturn 400, the same as 6.1 Sol.nonethroughmaxreturn 200 andminimalreturns 400. 6.1 Sol rejectsnone; Terra accepts it.context_length_exceeded). That is 1,050,000 minus the 128,000 output reservation, as for Luna and both Sols.input_filewas read back correctly, sopdfstays.*_standarddimensions are the US-only rate we are billed.global.*is blocked by an SCP. The long-context tier (2.2 / 8.25 / 0.11 / 2.75) is not stored, the same as for 6.1 Sol.Tests
models_gpt_6_bedrock_spec.rb: Terra's efforts, cost and limits, plus the alias.responses_gpt6_mantle_spec.rb: Terra is ingpt6_modelswithlowest_effort: 'none', sol: false, tool_loop: true, and seven cassettes were recorded live. The tool loop passes on Terra.mantle_responses_spec.rbandbedrock_spec.rbinclude the new id.rake modelsvalidation reports 0 errors.<AWS_ACCESS_KEY_ID>,<AWS_SESSION_TOKEN>).