feat(bedrock): add OpenAI GPT-5.6 (Sol/Terra/Luna) support via bedrock-mantle endpoint#3464
Merged
Merged
Conversation
…k-mantle endpoint - Add GPT-5.6 Sol/Terra/Luna as selectable models on the bedrock-mantle Responses API path (builds on langgenius#3240 for GPT-5.5/5.4) - Add reasoning_effort parameter (none/low/medium/high/xhigh/max), forwarded to the Responses API reasoning.effort - Do not forward top_p on the mantle path: rejected by GPT-5.5/5.6 and incompatible with reasoning even on GPT-5.4 - Exclude the GPT-5.6 models from cross-region inference (In-Region only) - Bump plugin version to 0.0.75
crazywoola
approved these changes
Jul 21, 2026
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
bedrock-mantleendpoint using the OpenAI Responses API, reusing the infrastructure introduced in feat(bedrock): add OpenAI GPT-5.5 and GPT-5.4 support via bedrock-mantle endpoint #3240 for GPT-5.5 / GPT-5.4none/low/medium/high/xhigh/max) forwarded to the Responses APIreasoning.efforttop_pon the bedrock-mantle path — GPT-5.5 / GPT-5.6 reject it, and it is incompatible withreasoningeven for GPT-5.4Background
GPT-5.6 (Sol / Terra / Luna) became generally available on Amazon Bedrock on July 13, 2026. Like GPT-5.5 / GPT-5.4 (added in #3240), these models use the
bedrock-mantleendpoint with the OpenAI Responses API rather than thebedrock-runtimeConverse API used by GPT OSS, Claude, etc.openai.gpt-5.6-solopenai.gpt-5.6-terraopenai.gpt-5.6-lunaAll three are Responses-API-only,
bedrock-mantle-only, In-Region only (no cross-region inference), with a 272K-token context window — consistent with the GPT-5.5 / GPT-5.4 path.Changes
models/bedrock/models/llm/model_ids.pyGPT-5.6 Sol/GPT-5.6 Terra/GPT-5.6 Luna→openai.gpt-5.6-sol/-terra/-lunato theopenaisectionis_support_cross_regionexclusion list (In-Region only)models/bedrock/models/llm/openai.yamlmodel_nameoptionsreasoning_effortparameter rule (none/low/medium/high/xhigh/max, defaultmedium)models/bedrock/models/llm/llm.py_BEDROCK_MANTLE_MODEL_IDS_get_model_specific_pricingreasoning_effortto the Responses API asreasoning={"effort": ...}top_pon the bedrock-mantle path (see Known Limitations)resolved_model_namefallback to cover the GPT-5.6 variantsmodels/bedrock/models/llm/model_configurations/gpt-5-6-{sol,terra,luna}.yamlunit: 0.001per 1K tokens):0.0055/ output0.0330.00275/ output0.01650.0011/ output0.0066models/bedrock/manifest.yaml0.0.74→0.0.75Known Limitations
top_pnot forwarded: GPT-5.5 / GPT-5.6 rejecttop_p(400 unsupported_parameter), andtop_pis mutually exclusive withreasoningeven on GPT-5.4. Since these are reasoning models driven byreasoning_effort,top_pis omitted on the mantle path. It remains inopenai.yamlonly for the GPT OSS Converse models (separate code path, unaffected).bedrock-mantle/v1/modelsendpoint):us-east-1,us-east-2: all three (Sol / Terra / Luna)us-west-2: Terra and Luna only (Sol not available)References