← Thinking Thinking

AWS re:Invent 2026: When the Cloud Starts Counting the Cost of an Agent Task

At re:Invent 2026, AWS unveiled the dedicated inference system Trainium3SR, the new Rubin GPU instances, the open-weights model Ergo, and a set of services for managing model budgets, enterprise data and tool permissions. They look like separate product lines, but placed inside one complete agent task they point to the same thing: cloud vendors are starting to help decide, at every step, what compute to use, how much to spend, what data to read and what actions may be taken. The next round of competition comes down to who can complete more tasks on time and in compliance, at a predictable cost.

2026-12-04Thinking30 min read
AWS re:Invent 2026: When the Cloud Starts Counting the Cost of an Agent Task

This article is based on announcements made through December 2, 2026, Las Vegas time, and adds the December 3 Technical Innovations Keynote.

Picture a customer service agent handling a refund. It first looks up the order and the payment status, then checks the return policy that was in effect at the time. If it encounters an exception, it may have to switch to a stronger model and judge the case again. In the end, it has to confirm that it is allowed to issue the refund, and it has to know whether the money actually went back. How fast the model generates tokens decides only part of the experience. A slow order API, the wrong version of a rule, or a payment system that has already issued the refund but lost the receipt will each make the task fail.

With that refund in mind, the announcements are easier to follow. None of these announcements introduced cloud-service pricing per successful refund. What AWS did was to pull the costs and constraints that used to sit in the model API, the data platform and the business code, step by step, into a single infrastructure that can be observed and managed.

1. AWS Prepares Two Paths for Inference: Faster Generation, More Usable Capacity

The most notable thing about Trainium3SR (3SR from here on) is that it assigns the two phases of inference to different chips. Trainium3 handles prefill: it reads the prompt and builds the KV cache. A dedicated chip with on-chip SRAM handles decode, generating tokens one at a time. Software has long been able to schedule the two phases on separate pools of cards; with Trainium3SR, AWS changes the division of labor at the hardware level. At low concurrency, where the speed of each individual request is the priority, decode tends to be limited by memory reads, and on-chip SRAM can speed up those reads. The trade-off is limited on-chip capacity: the model split between the prefill and decode sides, the KV handoff and the queueing all have to be designed again. The time saved on generation must not be spent waiting on the other pool of cards, or the gain is lost.

Diagram: Trainium3 handles prefill and hands off through EFA to the SRAM chip for decode; handoff latency and generation speed are measured separately
Diagram: Trainium3 handles prefill and hands off through EFA to the SRAM chip for decode; handoff latency and generation speed are measured separately

Schematic, drawn from Amazon's announcement · Source for the EFA handoff

Amazon demonstrated it with its new model Ergo: on Trainium3 alone, Ergo generates more than 400 output tokens per second; with 3SR it reaches up to 2,200 output tokens per second. This is a single-model demonstration, and 3SR remains in limited preview. The first tasks to benefit are probably tasks that generate long runs of code or long reasoning chains. If generation originally accounts for one fifth of a task's total duration, a fivefold speedup in that part still leaves the whole task running only about 1.19 times as fast, before subtracting the overhead of the handoff between the two phases. AWS also updated its Trainium4 roadmap: relative to Trainium3, the official targets are about 10x the FP4 compute, 5x the memory bandwidth and 2x the memory capacity, with availability expected in the second half of 2027. How much usable capacity this generation will add for training and general inference still needs end-to-end measurement. Trainium3SR and Trainium4 announcement · CEO keynote, 30:52

Amazon's Trainium3SR server rack, product image released by Amazon; the appearance identifies the product and does not show the internal interconnect topology
Amazon's Trainium3SR server rack, product image released by Amazon; the appearance identifies the product and does not show the internal interconnect topology

Official image: Amazon

On December 3, AWS added interconnect targets for Trainium4. AWS Trainium chief architect Ron Diamant said a single scale-up domain (the chips linked by NeuronLink) is planned to connect more than 1,000 chips, with a NeuronLink bandwidth target of 2x that of Trainium3. The previous generation, the Trn3 UltraServer that is already in service, tops out at 144 chips per domain. A larger domain should keep more of the expert communication in large MoE models inside one interconnect domain, but the actual gain depends on the cross-rack topology, the tail latency (the slowest requests) of all-to-all communication, and how much effective training throughput is retained after a link failure. The thousand-chip scale is still a roadmap item, with no public measurements yet. Ron Diamant's article (Amazon Science) · Technology keynote transcript · AWS Trn3 specifications

At the same time, AWS offered NVIDIA Rubin as two products available for reservation: the 8-GPU P7-Rubin in Oregon and the 72-GPU P7-VeraRubin UltraServer in Northern Virginia. Both are generally available, offered for now through Capacity Blocks and also in AWS AI Factories. AWS says the 8-GPU instance is built for inference on reasoning models (long chains of thought) and multimodal models with up to about 1 trillion parameters, as well as for reinforcement-learning post-training. The value of the 72-GPU single NVLink domain depends on whether large MoE and training jobs can keep dense communication inside the rack instead of letting it cross nodes. Beyond one rack, what gets tested is the EFA network (AWS's high-performance network adapter), the parallelism strategy and how efficiently the job recovers after a failure. AWS also previewed Graviton5 C9gn with Nitro v7, rated at up to 600 Gbps, aimed at network proxies, caches and data orchestration. For agents that call tools heavily, the CPU and the network can slow down an entire round of the task. Rubin P7 launch · C9gn preview

NVIDIA's official Vera Rubin rack-scale platform; it does not show the actual data center or configuration of AWS P7
NVIDIA's official Vera Rubin rack-scale platform; it does not show the actual data center or configuration of AWS P7

Official image: NVIDIA

These products also give token factories (large-scale inference providers) a ready-made way to check whether the new hardware is worth its price. In the same region, Oregon, the list prices for reserving an 8-GPU Rubin instance and an 8-GPU B300 instance are $206.67 and $129.168 per instance-hour, respectively. With all other costs equal, Rubin has to complete about 1.60x the task volume of a B300, at the same quality and latency tier, over the entire paid window (the length of the reserved Capacity Block), to match the B300 on instance cost. That ratio has to count warm-up and idle time, and the tail latency once the peak has passed. A strict interactive tier and a relaxed batch tier may well give different results. To judge whether a new generation of hardware is worth buying, look at a capacity table broken out by latency tier, not at a peak-throughput record. AWS Capacity Blocks pricing

Diagram: the 8-GPU instance, the 72-GPU single NVLink domain and cross-rack EFA scaling, looked at separately, with the 1.60x break-even figure against the 8-GPU B300
Diagram: the 8-GPU instance, the 72-GPU single NVLink domain and cross-rack EFA scaling, looked at separately, with the 1.60x break-even figure against the 8-GPU B300

Analysis chart, drawn from the AWS instance announcement.

2. More Models, More Decisions About Which One to Use

Ergo gives AWS a model of its own that competes on price-performance. It is already available through Bedrock, and its weights are open under Amazon's own license. On the Standard global cross-region inference tier, it is priced at $1 and $3 per million tokens for input and output. In evaluations Amazon ran and published itself, Ergo's pass@1 on DeepSWE is 74.2% and Kimi K3.1 Pro's is 77.9%; on Terminal-Bench Science 0.1, Ergo scores 21.3% and GPT-6 Astra 67.9%. These benchmark results also indicate where it fits: for routine software engineering tasks, Ergo is worth adding as a lower-cost baseline, while for hard, long tasks the question is still how many more of them the stronger model can complete. The open weights leave self-hosting as an option; the speed shown in the 3SR demo applies only to a 3SR deployment and the Bedrock price only to the hosted service, so the two figures apply to different deployments. Ergo announcement and evaluations · Official Ergo pricing

Bedrock Gateway and Smart Routing turn that choice into a platform capability. Bedrock Gateway puts identity, model permissions, spending caps per period and fallback models behind one entry point. Smart Routing picks a model for each request within the same model family, and can first be evaluated on shadow traffic. Both are still in gated preview. Early results for Smart Routing show inference cost 40%–50% lower than a baseline of always using the most capable model in the family, at comparable quality. For customers that have already assigned tasks to different models manually, the actual saving has to be measured again. At the same time, AgentCore's cost estimation feature entered preview, listing inference, compute, memory, gateway and tool costs by session, trace and sub-step. Enterprises now have a way to see why one refund was expensive, rather than finding out only at month's end how many tokens it used in total. Gateway and routing preview · AgentCore cost visibility

Diagram: the request entry point, Bedrock Gateway, Smart Routing and the model and telemetry layer each handle a different job on a request's path
Diagram: the request entry point, Bedrock Gateway, Smart Routing and the model and telemetry layer each handle a different job on a request's path

Responsibility diagram, drawn from the AWS announcement.

A clear line separates inference scheduling from the operations entry point. Inference scheduling is responsible for placing each request on a suitable replica and deciding whether to reuse a KV cache or to queue. The operations entry point (Bedrock Gateway is one example) governs which caller may use which model and how much it can spend, and how a call that fails over to another model is accounted for. Open-source inference schedulers such as llm-d handle inference scheduling; the operations entry point still rests with whoever operates the service. If one customer task is retried three times, the operator may pay the upstream cost three times and deliver one result. The ledger has to record tasks and attempts separately, or a "cheap model" can end up as an expensive service. llm-d

3. Whether an Agent Goes to Production Often Depends on What It Read and What It Finally Did

Back to that refund: the agent first has to find the applicable policy, then verify the facts against the order system. AWS Context, now generally available, builds a semantic graph of business entities from different sources and offers search and query through MCP. Its purpose is to let multiple agents share one understanding of how customers, orders and policies relate. It also comes with one concrete engineering trade-off: when two documents with different permissions describe the same entity, the document that arrived first sets the node's permissions, and the later document's update to that node is refused. In that case what the later document says about the shared entity stays out of the graph, while the rest of the document is ingested normally. This trade-off also means that information not found in the graph may still exist in a source system the user is allowed to read. An enterprise pilot should test whether, after a document is revised, deleted or has its permissions revoked, the graph, the source data and the final answer stay consistent. AWS Context launch · Rules for permissions across multiple documents

Diagram: AWS Context separates data ingestion, permission sync, graph building and agent queries into layers, from separate data sources to identity-scoped MCP queries
Diagram: AWS Context separates data ingestion, permission sync, graph building and agent queries into layers, from separate data sources to identity-scoped MCP queries

Schematic, drawn from the official AWS architecture diagram.

Athena powered by DuckDB shortens the wait for historical-data queries. It brings DuckDB into a managed, distributed query service and supports Arrow streaming results and Iceberg v3. The Aurora PostgreSQL → S3 Tables integration, now in preview, replicates transactional data into Iceberg tables within minutes. Used together, they suit agents that explore historical records over several rounds and trace causes. AWS's figures for Athena are up to 2x faster at up to 50% lower cost, measured on large datasets against Athena v3; the actual performance of this preview depends on the query mix. For up-to-the-minute state such as whether a refund has gone through, the transactional source is still the place to check. Athena/DuckDB preview · Aurora and S3 Tables integration preview

The last step is handled by AWS Greenlight. This preview service drafts rules from written policies and derives rules from the agent's run traces, then hands them to people for review. The approved rules are deployed to AgentCore Gateway or Strands Box. These run a deterministic check outside the agent before each action executes. "Do not refund above the limit" in a prompt is an instruction to the model; checking the amount and the approval status right before a tool executes is a system control. During acceptance testing, testers can deliberately revoke an approval while a task is running and let it continue; they can also simulate a completed refund whose receipt is lost. In the first case the action should be refused; in the second, the refund must not be repeated. Passing these rule checks does not mean the business system has solved the problems of idempotency, reconciliation and receipts. AWS Greenlight preview

Diagram: Greenlight checks the action against approved rules before the business system executes it, and an independent business receipt confirms the result
Diagram: Greenlight checks the action against approved rules before the business system executes it, and an independent business receipt confirms the result

Schematic, drawn from the AWS announcement.

4. Outlook: The Cloud Has to Get the Accounting Right Before It Can Sell the Services on Top

While launching Ergo and its own chips, AWS kept expanding its work with OpenAI and Anthropic: both companies' managed agent offerings entered Bedrock preview, and both announced that AWS AI Factories would extend model inference into customers' own data centers. Whichever model an enterprise chooses, that does not stop AWS from operating the unified identity, data access and delivery stack. For the customer, on-premises inference only answers the question of where the model runs; logs, keys, operator access and where traffic goes after a failure also have to be spelled out in the delivery scope, item by item. The partnership announcements themselves do not say when a given site will be delivered or what the minimum committed capacity is. OpenAI and AWS · Anthropic and AWS

Over the next year, three signals will test this approach: whether 3SR can publish prices and P99 latencies across multiple models and concurrency tiers; whether the gateway can hold quality and budget steady during fallbacks and retries; and whether enterprise data and execution controls can still retain auditable evidence after permissions change, tools time out and the runtime restarts. The first decides how large the market for specialized inference chips can be; the other two decide how much work enterprises are willing to hand to agents.

Independent compute and systems vendors do not need to copy AWS's full stack. They can start by delivering their own part more clearly: how much load a given latency tier can take, how a given contract is metered and under what conditions the capacity is reclaimed, and how a failure is traced and reconciled. Take that refund: the finance department cares what it cost to get one refund right, customer service cares how long the customer waited, and risk control cares who approved it and whether it was executed twice in the end. Only a vendor that can answer all three at once is qualified to take an agent from demo to production.