anomalyco / anomalyco/opencode

Amazon Bedrock Grok 4.6 is routed through Mantle and fails with "The model does not exist"

Open
#43,514 1 comment 0 reactions 1 assignee View on GitHub

@kitlangton is already working on this.

Since Aug 19, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

OpenCode Desktop lists Amazon Bedrock Grok 4.6 (xai.grok-4.6) but invoking it fails:

AI_APICallError: The model 'xai.grok-4.6' does not exist

Changing the cache ID to us.xai.grok-4.6 still fails while OpenCode keeps using the Mantle adapter:

@ai-sdk/amazon-bedrock/mantle
https://bedrock-mantle.${AWS_REGION}.api.aws/openai/v1

That same profile works through native Bedrock Runtime:

aws bedrock-runtime converse --model-id us.xai.grok-4.6

Grok 4.3 works on Mantle. Grok 4.6 requires native Bedrock (@ai-sdk/amazon-bedrock) plus an inference profile (us.xai.grok-4.6 or global.xai.grok-4.6).

Expected: Use native Bedrock Runtime for Grok 4.6, or only list it if Mantle actually supports it.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.