Grok 4.7 is now available on Amazon Bedrock
https://aws.amazon.com/blogs/machine-learning/grok-4-7-is-now-available-on-amazon-bedrock/📌 Grok 4.7上架Bedrock,主打耐力而非速度
TL;DR:xAI的Grok 4.7登陸Amazon Bedrock,強項是長時間任務中的自我驗證能力,而非單純比快。
多數frontier model的賣點是「更快」,Grok 4.7反其道而行,它的核心賣點是「肯花更多時間把一件事做對」。這款新模型現在已經進入Amazon Bedrock的模型目錄,鎖定coding、長時間執行的agent與知識工作三大場景。
🤔 上架Bedrock的定位
Grok 4.7透過bedrock-runtime端點以跨區域推論設定檔(cross-Region inference profiles)提供服務,支援Responses、Chat Completions與Converse三種API。根據xAI於2026年9月21日發布的Introducing Grok 4.7公告與模型文件,這是xAI目前在coding與知識工作領域最強的模型:它會在困難任務上花更多時間,並在推進下一步之前更仔細地驗證自己的輸出。
🧩 訓練設計:換取長任務的可靠度
xAI表示Grok 4.7採用了一個新的、更大的base model,並經過一次更長的強化學習訓練,訓練任務組合刻意偏向需要數小時才能完成的困難問題。這帶來兩個能力上的提升:模型更擅長驗證自己的輸出,也能更有效地利用500K token的長context視窗。xAI還訓練模型原生理解Grok Bot harness,並表示這對對話類任務與一般知識工作有幫助。對於正在打造agent的工程師來說,這種「先自我檢查再繼續」的行為值得留意,因為長軌跡任務中,早期的一個小錯誤往往會隨著每一步逐漸放大,自我驗證能降低這種災難性失敗的機率。
📊 評測結果與Bedrock整合細節
xAI公布的評測涵蓋軟體工程(CursorBench、DeepSWE)、多小時的終端機與辦公室任務(Terminal-Bench、AA Briefcase)、電機工程(EEBench)、法律工作(Harvey Legal Agent Benchmark)以及臨床推理(HealthBench Professional),具體數字請見xAI官方公告。另外,Artificial Analysis以自家獨立評測(而非採信廠商公布數字)指出,Grok 4.7在其Intelligence Index綜合評測上有全面提升,最大的進步出現在長時程的agentic知識工作,以及在xAI自家harness中執行的coding agent任務上;評測是在xhigh推理力度下量測的。需要留意的權衡是:這些進步伴隨著大約兩倍的輸出token用量,因此推理力度不該沿用預設值,而應該依任務刻意設定。
💡 企業級功能與部署選項
Grok 4.7支援四種可調推理力度:low、medium、high、xhigh。Bedrock提供兩種跨區域推論設定檔:Global設定檔(global.xai.grok-4.7)將請求分散到任一支援的商用AWS區域、定價較低,但對請求實際落地的區域控制較少;US地理設定檔(us.xai.grok-4.7)則將處理侷限在美國境內,適合有資料落地需求或延遲敏感的流量。服務層級也分三種:Standard按token計費無需承諾、Priority提供加價的優先處理、Flex則針對非時間敏感任務提供較低成本選項。企業功能方面,Amazon Bedrock Guardrails可依ID與版本掛載到請求上,套用內容過濾、禁止主題、PII遮蔽等政策;structured outputs可用JSON Schema限制輸出格式方便下游解析;隱式prompt caching會自動套用到重複的prompt前綴,對每輪都重送大型system prompt的agent能省下成本;invocation logging則會把每次呼叫的請求、回應與token數(含推理token)記錄到CloudWatch,作為長時間agent運行的稽核軌跡。
⚠️ 安全性聲稱與限制
xAI表示Grok 4.7採用全新的safeguard stack,是該公司目前在拒絕有害請求與抵抗jailbreak方面測試過最強的模型,並強調在資安、生物等雙用途(dual-use)領域,目標是同時保持對合法任務有用、又能拒絕危險請求;在資安場景,xAI宣稱模型只會放行極小比例的風險性雙用途提示,同時很少誤擋合法的資安研究工作,並已開始邀請特定資安夥伴使用Grok 4.7的紅隊能力做防禦研究。這些聲稱目前僅來自xAI自身描述,尚待第三方驗證。
🎯 實務啟示
若你正在用Bedrock打造agent,移植既有整合可以直接用OpenAI SDK;若想在帳號內所有模型維持一致的訊息格式、並搭配呼叫紀錄與串流回應,則建議用Converse API。無論選哪種路徑,都值得先確認Bedrock控制台中該模型在你要用的區域是否已開通,並依任務難度手動設定reasoning effort,避免預設值帶來不必要的token成本。
🔗 來源
- 標題:Grok 4.7 is now available on Amazon Bedrock
- 作者/機構:Suheel Farooq, AWS ML
- 連結:https://aws.amazon.com/blogs/machine-learning/grok-4-7-is-now-available-on-amazon-bedrock/
#Grok #xAI #AmazonBedrock #AWS #LLM #AgenticAI #CloudAI #ReasoningModels #CodingAgent #MachineLearning
原始資料 AWS ML · 收集於 2026-09-28
摘要原文
xAI’s Grok 4.7 is now available on Amazon Bedrock , adding a frontier model built for coding, long-running agents, and knowledge work to the Bedrock model catalog. It offers a 500K token context window and supports configurable reasoning effort at four levels: low , medium , high , and xhigh . Grok 4.7 is served on the bedrock-runtime endpoint through cross-Region inference profiles, and it supports the Responses, Chat Completions, and Converse APIs. According to xAI, it’s their most capable model for coding and knowledge work: it works longer on difficult tasks and verifies its own output more carefully before moving on. This post covers what xAI says Grok 4.7 is designed for, how it is packaged on Amazon Bedrock, and how to send your first request. The capability and training details in this section come from xAI’s launch announcement, Introducing Grok 4.7 , published September 21, 2026, and from the Grok 4.7 model documentation . xAI positions Grok 4.7 as its most capable model for coding and knowledge work. The theme is endurance rather than raw speed: the model works longer on difficult tasks and checks its own work more carefully before moving on. On training, xAI reports that Grok 4.7 uses a new and larger base model. It was trained with a longer reinforcement learning run over a harder mix of tasks, deliberately weighted toward problems that take many hours to complete. Two capabilities came out of that: the model is better at verifying its own work, and makes more effective use of its 500K token context window on long tasks. xAI also trained it to natively understand the Grok Bot harness, which it credits for improvements in conversational tasks and general knowledge work. For anyone building agents, the self-verification behavior is the detail worth noting. A model that checks its own output before continuing tends to fail less catastrophically on long trajectories, where an early mistake otherwise compounds through every later step. xAI also calls out stronger document and presentation generation, and describes gains on professional knowledge work of the kind done by lawyers, nurses, and financial analysts. xAI reports gains across its published evaluations. These span software engineering with CursorBench and DeepSWE, multi-hour terminal and office work with Terminal-Bench and AA Briefcase, electrical engineering with EEBench, legal work with the Harvey Legal Agent Benchmark, and clinical reasoning with HealthBench Professional. For the results themselves, see xAI’s announcement . Artificial Analysis runs its own evaluations rather than relying on developer-reported figures, which makes it a useful second reference alongside xAI’s published results. According to Artificial Analysis , Grok 4.7 improves across its evaluation suite. The largest gains are on long-horizon agentic knowledge work and on coding agents run in xAI’s own harness. The Intelligence Index is a composite built from multiple independent evaluations covering agentic tool use, reasoning and knowledge, knowledge reliability, and long-context work. Grok 4.7 is measured at xhigh reasoning effort, and Grok 4.6 at the effort level Artificial Analysis reported for each measure. The final row is the tradeoff to plan for: the gains come with roughly double the output tokens per task. That’s why it pays to set the effort level deliberately rather than inheriting the default. According to xAI, Grok 4.7 was built with an entirely new safeguard stack and is the strongest model it has tested on refusals and jailbreak resistance. xAI frames the goal in dual-use domains such as cyber security and biological work as holding two things at once: remaining useful for legitimate tasks while refusing dangerous ones. On cyber security specifically, xAI reports the model allows only a small fraction of risky dual-use prompts through while rarely blocking legitimate security work. xAI has also begun giving selected cyber security partners invite-only access to Grok 4.7’s red-team capabilities for defense research. Grok 4.7 accepts text and image input and returns text. The model is served on the bedrock-runtime endpoint through cross-Region inference profiles, so requests name a profile rather than a bare model ID: Grok 4.7 supports the Responses API, the Chat Completions API, InvokeModel and the Converse API. Because the model is OpenAI-compatible, you have a choice of client. The OpenAI SDK works against the /openai/v1 path with a bearer token, which can be either an Amazon Bedrock API key or a short-term token minted from your AWS Identity and Access Management (IAM) credentials. The AWS SDKs reach the same model through Converse, signing requests with your ordinary AWS credentials. Use the OpenAI SDK if you’re porting an existing integration. Use Converse if you want one message shape across the models in your account, along with invocation logging and response streaming through the standard Bedrock event types. Implicit prompt caching applies automatically to repeated prompt prefixes, so agents that resend a large system prompt or reference document on every turn pay the cached rate for that prefix. Amazon Bedrock Guardrails attach by ID and version on the request, applying content filters, denied topics, personally identifiable information (PII) redaction, and word policies to both the prompt and the response. This is useful for a model that might run unattended across many steps. With structured outputs, you can constrain a response to a JSON Schema so downstream code can parse it directly. Invocation logging captures each call in Amazon CloudWatch with the request, the response, and token counts including reasoning tokens. This gives you an audit trail for long agent runs. Grok 4.7 routes through one of two cross-Region inference profiles rather than pinning to a single Region. The Global profile, global.xai.grok-4.7 , routes each request to any supported commercial AWS Region, spreading load across more capacity, and is priced below a geographic profile. The tradeoff is less control over where a given request is served, which can mean more variable latency. The US geographic profile, us.xai.grok-4.7 , keeps processing within the US geography, which addresses US data residency requirements. Choose it when you have residency constraints or latency-sensitive traffic, and Global when cost and throughput matter more. Standard is pay-per-token with no commitment, selected by setting "service_tier": "default" or omitting the field. Priority delivers faster, prioritized processing for a premium ( "service_tier": "priority" ). Flex offers lower-cost access for work that isn’t time-sensitive ( "service_tier": "flex" ). Service tier is a significant cost lever that you control. For per-token pricing across the tiers, see the Amazon Bedrock pricing page . Before your first call, confirm that the model is available to you in the Bedrock console for the AWS Region that you plan to use. Install the OpenAI SDK, and boto3 if you plan to use the Converse API: Generate a long-term Amazon Bedrock API key from the Amazon Bedrock console for exploration, then set your environment: A first request with the Chat Completions API: The same call through the Responses API: And through the Converse API with boto3 . Because reasoning is always active, the first content block carries the reasoning and the answer sits in a later block, so search the blocks for the text rather than indexing content[0] : On Converse, you set the effort level through additionalModelRequestFields rather than a reasoning parameter: Three operational notes. First, requests must name us.xai.grok-4.7 or global.xai.grok-4.7 . Second, bedrock:InvokeModel is evaluated against three resources: your account’s default project, the inference profile you name, and the underlying foundation model (FM). The foundation model Amazon Resource Name (ARN) is wildcarded across Regions because cross-Region profiles route outside the calling Region.
由 claude-code/sonnet 自動生成