Build long-horizon agents with Grok 4.7 on Amazon Bedrock
AWS•How-to••by Suheel Farooq, Anirban Gupta, Ikenna Izugbokwe and James Wang•AWS 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.
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.
AI:A step-by-step pipeline distills a frontier teacher's shopping-agent trajectories into a 4B Qwen3.5 student via SeqKD, filtered by a task scorer, trained serverlessly on SageMaker AI and served as a LoRA adapter.
AI:Stretto replaced its web form with Tara, a phone agent on Amazon Nova 2 Sonic that runs bankruptcy intake interviews and sorts leads against attorney rules.