AI Cloud Architect

Build long-horizon agents with Grok 4.7 on Amazon Bedrock

AWSHow-to by Suheel Farooq, Anirban Gupta, Ikenna Izugbokwe and James WangAWS Artificial Intelligence Blog

Grok 4.7 is now available on Amazon Bedrock. In this post, we build a tool-calling agent on Grok 4.7 and evaluate it on three reasoning tasks at four reasoning effort levels, measuring correctness and token cost per completed task. We show how to tune the trade-off per request and monitor it in production.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

Grok 4.7 on Bedrock gets a reasoning-effort tradeoff: in AWS's tests, low effort used about an eighth of xhigh's output tokens while answering 15 of 18 runs versus 18 of 18.

Who it is for

Architects and developers running tool-calling agents on Bedrock who need to choose a reasoning effort level and track token cost.

Key points

  • Grok 4.7 is reached through us.xai.grok-4.7 (US) or global.xai.grok-4.7 inference profiles; 500K context window per SpaceXAI.
  • Test was 72 runs on three synthetic tasks, six runs per task and level; the post calls the differences indicative, not conclusive.
  • Post gives token counts, not prices; pricing depends on profile and service tier.

Timeline

  1. What it explainsGrok 4.7 is now available on Amazon Bedrock · AWS · AnnouncementAlso published by AWS Artificial Intelligence Blog
  2. This postBuild long-horizon agents with Grok 4.7 on Amazon Bedrock
  3. What it explainsGrok 4.7 is now available on Amazon Bedrock in AWS GovCloud (US) · AWS · Announcement

Go deeper