ai newsFr., 23. Okt.
EilmeldungGoogle Maps für CarPlay: Mit Gemini sprechen bei der Fahrt

Claude on AWS Bedrock vs Anthropic API: Cost Compared

I am the founder of PromptUnit. This post first appeared on the PromptUnit blog , where it is kept up to date. The short answer: Claude costs the same per token on AWS Bedrock and on the Anthropic API, at global endpoint rates. The two platforms list identical input and output prices for every curr

dev.toFreitag 16:00 · 23.10.8 Min. Lesezeit
Bild: dev.to

Veröffentlicht am 23. Oktober • Zuerst erschienen auf promptunit.ai

Ich bin der Gründer von PromptUnit. Dieser Beitrag erschien erstmals auf dem PromptUnit-Blog, wo er fortlaufend aktualisiert wird.

Die kurze Antwort: Claude kostet pro Token auf AWS Bedrock genauso viel wie über die Anthropic API, zu den Tarifen für globale Endpunkte. Beide Plattformen listen identische Ein- und Ausgabepreise für jedes aktuelle Claude-Modell. Die Kosten weichen in bestimmten Situationen ab: Wenn Sie regionale Datenhaltung benötigen, berechnet Bedrock einen Aufpreis von 10% für regionengebundenes Routing (Anthropics eigene API berechnet dieselben 10% für ausschließliche Inferenz in den USA). Unabhängig vom Preis unterscheiden sich die Plattformen hinsichtlich der Funktionsverfügbarkeit, der Aktualität der Modelle und dessen, was Sie darauf aufbauen können, und diese Unterschiede wirken sich stärker auf die Gesamtkosten aus als der Token-Preis selbst.

Anthropics Preisdokumentation stellt ausdrücklich klar, dass AWS Bedrock und Google Cloud dieselben Token-Preise wie die direkte Claude API für Traffic über globale Endpunkte verwenden. Jede Zahl in der folgenden Tabelle spiegelt das wider: identische Werte auf beiden Plattformen, im On-Demand-Modus und mit standardmäßigem globalem Routing.

Preise pro Million Tokens, On-Demand, globale Endpunkte. Quelle: Anthropic-Preisdokumentation, Oktober 2026.

Der Tarif von 2/10 US-Dollar für Claude Sonnet 5, der als Einführungspreis mit einer geplanten Erhöhung auf 3/15 US-Dollar zum 1. September 2026 startete, wurde nicht erhöht. Dieser dauerhafte Preis von 2/10 US-Dollar gilt auf beiden Plattformen.

Seit Claude Haiku 4.5, Sonnet 4.5 und Opus 4.5 gibt Anthropics Preisdokumentation an, dass regionale und multi-regionale Bedrock-Endpunkte einen Aufpreis von 10% gegenüber globalen Endpunkten haben. Der globale Endpunkt verteilt Anfragen dynamisch über die verfügbaren Regionen; ein regionaler Endpunkt garantiert, dass die Inferenz innerhalb einer bestimmten Geographie bleibt, etwa zur Einhaltung von Datenhaltungsvorgaben. Wenn Ihre Daten in EU-West oder US-East bleiben müssen, zahlen Sie 10% mehr.

Dieselbe Logik gilt für die direkte Anthropic API. Die Verwendung des Parameters inference_geo: "us" bei Claude 4.6 und neueren Modellen wendet einen Faktor von 1,1x auf alle Token-Kategorien an, einschließlich Eingabe, Ausgabe, Cache-Schreibvorgänge und Cache-Lesevorgänge. Keine der Plattformen ist günstiger, wenn Sie die Geographie einschränken: Beide schlagen 10% für Datenhaltung oben drauf.

Sowohl die Anthropic API als auch Bedrock bieten eine Batch API mit 50% Rabatt auf die On-Demand-Preise an. Sonnet 5 sinkt im Batch-Modus auf beiden Plattformen von 2/10 auf 1/5 US-Dollar pro Million Tokens. Bei Bedrock gibt es eine wichtige Einschränkung: Die Batch API ist nur über die Legacy-InvokeModel-Integration für ältere Modelle verfügbar (Opus 4.6 und älter). Für neuere Modelle, die über Bedrocks Messages-API-Integration genutzt werden (Opus 4.7 und neuer), ist die Batch API auf Bedrock derzeit nicht verfügbar. Wenn Ihre Workload auf Claude-Modellen der aktuellen Generation läuft und Sie Batch-Preise möchten, bietet Ihnen die direkte Anthropic API Zugang, den Bedrock nicht hat.

Die Preisen für Prompt Caching stimmen auf beiden Plattformen überein. Ein Cache-Schreibvorgang mit 5 Minuten Gültigkeit kostet das 1,25-Fache des Basis-Eingabepreises; ein Schreibvorgang mit 1 Stunde Gültigkeit kostet das Doppelte; ein Cache-Lesevorgang kostet das 0,1-Fache (bei Claude Opus 5.5 und Sonnet 5.5 sinkt dies auf 0,05x, bei Claude Fable 5.1 auf 0,025x). Die Kostenersparnis durch Prompt Caching ist unabhängig von der genutzten Plattform identisch.

Über die Token-Preise hinaus unterscheiden sich die Plattformen darin, was sie Ihnen erlauben, und diese Lücken beeinflussen Ihre Architektur und damit Ihre Gesamtrechnung.

Anthropic veröffentlicht neue Claude-Modelle zuerst in seiner eigenen API. Die Verfügbarkeit auf Bedrock folgt, manchmal nach Wochen, manchmal nach Monaten, je nach dem Aufwand der AWS-Integration. Wenn ein neues Modell spürbar schneller oder günstiger als sein Vorgänger ist, dann ist jede Woche, die Sie auf Bedrock warten, eine Woche, in der Sie den alten Preis zahlen. Teams, die auf Fähigkeiten der aktuellen Generation angewiesen sind oder neue Modelle direkt zum Launch benchmarken möchten, können das ausschließlich über die direkte Anthropic API.

Die in die Anthropic API integrierten Tools für Websuche und Code-Ausführung sind über Amazons Bedrock-Standardintegration nicht verfügbar. Das ist für die Kosten relevant, weil serverseitige Tools Agent-Loop-Architekturen ersetzen können, die andernfalls den Token-Verbrauch vervielfachen. Wenn Ihr Agent bei jedem Schritt eine Websuche benötigt, kann die Kostenfalle mehrerer Agenten bei der eigenhändigen Umsetzung dieser Fähigkeit mit API-Aufrufen schnell ins Gewicht fallen, und Bedrock bietet Ihnen dafür keine Abkürzung.

Bedrock und Anthropic setzen ihre eigenen Rate Limits fest, und diese Limits unterscheiden sich je nach Modell und Stufe. Die direkte Anthropic API nutzt Nutzungstufen (Start, Build, Scale) mit expliziten Limits für Anfragen und Tokens pro Minute, die sich automatisch erhöhen, während sich Ihre Nutzungshistorie aufbaut. Bedrock hat ein eigenes Kontingentsystem, das über die AWS-Konsole verwaltet wird, mit separaten Limits pro Region und Inferenzprofil.

Für Teams, die bereits bei AWS sind und Committed Spend haben, ist Bedrock Reserved Throughput eine Option für hochvolumige, gleichmäßige Workloads, allerdings erfordert dies eine Preisanfrage bei AWS. Keine der Plattformen ist hier eindeutig besser: Es hängt von Ihrem Volumen, Ihrer Region und davon ab, ob Sie bereits AWS-Enterprise-Vereinbarungen haben, die sich auf die Kapazität auswirken.

Einen Mittleren Weg gibt es ebenfalls und den sollte man kennen: Claude Platform on AWS, das im Mai 2026 in die allgemeine Verfügbarkeit ging. Anthropic betreibt den Stack, nicht AWS. Es verwendet die standardmäßige Anthropic Messages API, erhält neue Modelle am selben Tag wie die direkte API und enthält dieselben serverseitigen Tools und Beta-Funktionen. Die Abrechnung läuft über den AWS Marketplace mit Claude Consumption Units (CCUs), wobei 100 CCUs 1,00 US-Dollar zu den standardmäßigen Anthropic-Modellpreisen entsprechen. Wenn Ihr Team AWS-native Abrechnung und IAM-Authentifizierung benötigt, aber auch die neuesten Funktionen ab dem ersten Tag, lohnt es sich, Claude Platform on AWS gesondert vom standardmäßigen Bedrock zu bewerten.

Für die meisten Teams, die Claude-Modelle der aktuellen Generation betreiben, ist der Kostenvergleich auf Token-Ebene bei globalen Tarifen ein Unentschieden. Die Entscheidung hängt von drei nicht preislichen Faktoren ab:

Verwenden Sie die direkte Anthropic API, wenn Sie: die Batch API für aktuelle Modelle (Opus 4.7 und neuer) nutzen möchten, neue Modelle direkt zum Launch benötigen, serverseitige Tools wie Websuche verwenden oder zu verwenden planen, oder eine einfachere Abrechnung ohne AWS bevorzugen.

Verwenden Sie AWS Bedrock, wenn Sie: bereits AWS-Infrastruktur haben und Ihre Daten innerhalb der AWS-Grenzen halten möchten, IAM-basierte Authentifizierung oder AWS CloudTrail für Audits benötigen, oder Claude mit AWS-nativen Diensten wie Bedrock Guardrails und Bedrock Knowledge Bases kombinieren möchten. Beachten Sie, dass Bedrocks Standardintegration die Batch API für neuere Claude-Modelle derzeit nicht unterstützt; wenn Ihnen also 50% Batch-Rabatte für Ihre Workload wichtig sind, planen Sie entsprechend.

Verwenden Sie beide, wenn Failover wichtig ist. Da dasselbe Claude-Modell auf getrennten Kapazitätspools läuft, sorgt der Einsatz der direkten Anthropic API als Primärsystem und Bedrock als Failover dafür, dass Anfragen auch dann erfolgreich sind, wenn eine Plattform Rate-Limit-Fehler zurückgibt. Eine Proxy- oder Gateway-Schicht übernimmt das Routing transparent. Das ist ein verbreitetes Produktionsmuster und einen Blick wert, wenn Claude auf dem kritischen Pfad Ihrer Anwendung liegt. Der Failover-Leitfaden für AI APIs behandelt genau für dieses Setup die Fehlercodes und die Retry-Logik.

Wenn Sie die Gesamtausgaben für Claude unabhängig von der Plattform senken möchten, sind die Hebel auf beiden Seiten dieselben: Prompt Caching, Batch für asynchrone Aufgaben, Modellabstufung nach Aufgabenkomplexität und Kontrolle der Ausgabelänge. Der Leitfaden zur Kostenreduktion der Claude API geht diese Schritte im Detail durch, und jede dort beschriebene Technik gilt unabhängig davon, ob Ihre Anfragen an Anthropic oder Bedrock gehen. Ein Cost-Optimization-Proxy wie PromptUnit kann Anfragen außerdem automatisch an ein günstigeres Modell weiterleiten, wenn die Aufgabe nicht die volle Leistungsfähigkeit des angefragten Modells erfordert, und dabei Keys mehrerer Anbieter verbinden, um die Optionen zu erweitern.

Die Plattformwahl beeinflusst Ihre Architektur, Ihre Compliance-Position und Ihren Funktionszugriff. Der Token-Preis ist bei globalen Tarifen nicht das Unterscheidungsmerkmal.

Ist Claude auf AWS Bedrock oder der Anthropic API günstiger?

Zu den Tarifen für globale Endpunkte ist der Preis auf beiden Plattformen identisch. Claude Sonnet 5 kostet sowohl auf AWS Bedrock als auch auf der direkten Anthropic API 2 US-Dollar pro Million Eingabe-Tokens und 10 US-Dollar pro Million Ausgabe-Tokens. Die Kosten weichen ab, wenn Sie regionale Endpunkte verwenden (beide verlangen 10% Aufpreis für Datenhaltung) oder wenn Sie die Batch API für Modelle der aktuellen Generation nutzen möchten, die für Claude Opus 4.7 und neuer ausschließlich über die direkte Anthropic API verfügbar ist.

Berechnet AWS einen Aufpreis auf Claude-Tokens im Vergleich zu Anthropics eigener API?

Nein, nicht beim standardmäßigen globalen Endpunkt-Tarif. Anthropics eigene Preisdokumentation bestätigt, dass Bedrock-Globalendpunkte Dollar für Dollar mit der direkten API übereinstimmen. Der einzige Aufpreis auf Token-Ebene bei Bedrock betrifft regionale Endpunkte, die 10% mehr kosten, um zu garantieren, dass die Inferenz innerhalb einer bestimmten Geographie bleibt, und derselbe Aufpreis von 10% gilt auch auf der Anthropic API, wenn Sie den Parameter inference_geo verwenden.

Unterstützt AWS Bedrock die Claude Batch API mit 50% Rabatt?

Bedrock unterstützt einen Batch-Rabatt von 50%, aber nur für ältere Claude-Modelle über die Legacy-InvokeModel-Integration. Für neuere Modelle, die die Bedrock-Messages-API-Integration nutzen (Claude Opus 4.7 und neuer), ist die Batch API auf Bedrock derzeit nicht verfügbar. Wenn Sie Batch-Preise für Claude-Modelle der aktuellen Generation möchten, ist die direkte Anthropic API die einzige Option.

Sind alle Claude-Modelle auf AWS Bedrock verfügbar?

Nicht gleichzeitig mit Anthropics eigener API. Anthropic veroeffentlicht neue Claude-Modelle zunaechst ueber seine direkte API, die Verfuegbarkeit ueber Bedrock folgt spaeter, manchmal erst nach Wochen oder Monaten. Wenn Ihre Anwendung das neueste Modell bereits am Starttag benoetigt, ist die direkte Anthropic-API die einzige verlaessliche Wahl.

Was ist Claude Platform on AWS und wie unterscheidet es sich von Bedrock?

Claude Platform on AWS ist ein eigenstaetiges Angebot, bei dem Anthropic die Infrastruktur betreibt, nicht AWS. Es nutzt die standardmaessige Anthropic Messages API, erhaelt neue Modelle am selben Tag wie die direkte API und umfasst serverseitige Tools wie Websuche und Code-Ausfuehrung, die ueber standardmaessiges Bedrock nicht verfuegbar sind. Die Abrechnung laeuft ueber den AWS Marketplace mittels Claude Consumption Units, wobei 100 CCUs einen Dollar zu Anthropics Standardpreisen entsprechen.

Automatisch übersetzt. Das Original auf Englisch ist unten aufklappbar.

Original (Englisch) anzeigen

Posted on Oct 23 • Originally published at promptunit.ai

I am the founder of PromptUnit. This post first appeared on the PromptUnit blog, where it is kept up to date.

The short answer: Claude costs the same per token on AWS Bedrock and on the Anthropic API, at global endpoint rates. The two platforms list identical input and output prices for every current Claude model. Costs diverge in specific situations: if you need regional data residency, Bedrock charges a 10% premium for region-locked routing (Anthropic's own API charges the same 10% for US-only inference). Beyond price, the platforms differ in feature availability, model freshness, and what you can build on top, and those differences affect total cost more than the per-token rate does.

Anthropic's pricing documentation is explicit that AWS Bedrock and Google Cloud use the same per-token rates as the direct Claude API for global endpoint traffic. Every figure in the table below reflects that: identical numbers on both platforms, on-demand, at standard global routing.

Prices per million tokens, on-demand, global endpoints. Source: Anthropic pricing documentation, October 2026.

Claude Sonnet 5's $2/$10 rate, which launched as introductory pricing with a scheduled increase to $3/$15 on September 1, 2026, had that increase cancelled. That permanent $2/$10 price applies on both platforms.

Starting with Claude Haiku 4.5, Sonnet 4.5, and Opus 4.5, Anthropic's pricing documentation specifies that Bedrock regional and multi-region endpoints carry a 10% premium over global endpoints. The global endpoint routes dynamically across available regions; a regional endpoint guarantees that inference stays within a specific geography for data residency. If you need data to stay in EU-West or US-East, you pay 10% more.

The same logic applies to the Anthropic direct API. Using the inference_geo: "us" parameter on Claude 4.6 and later models applies a 1.1x multiplier across all token categories, including input, output, cache writes, and cache reads. Neither platform is cheaper when you constrain geography: they both add 10% for data residency.

Both the Anthropic API and Bedrock offer a Batch API at 50% off on-demand rates. Sonnet 5 drops from $2/$10 to $1/$5 per million tokens in batch mode on both platforms. There is one important caveat on Bedrock: the Batch API is available only through the legacy InvokeModel integration for older models (Opus 4.6 and earlier). For newer models accessed via Bedrock's Messages API integration (Opus 4.7 and later), the Batch API is not currently available on Bedrock. If your workload runs on current-generation Claude models and you want batch pricing, the Anthropic direct API gives you access that Bedrock does not.

Prompt caching rates match across platforms. A 5-minute cache write costs 1.25x the base input price; a 1-hour write costs 2x; a cache read costs 0.1x (dropping to 0.05x on Claude Opus 5.5 and Sonnet 5.5, and 0.025x on Claude Fable 5.1). The prompt caching savings math is identical regardless of which platform you use.

Beyond token prices, the platforms differ in what they let you do, and those gaps affect your architecture and therefore your total bill.

Anthropic releases new Claude models to its own API first. Bedrock availability follows, sometimes by weeks, sometimes by months depending on the AWS integration effort required. If a new model is meaningfully faster or cheaper than its predecessor, every week you spend waiting on Bedrock is a week you pay the old rate. Teams that depend on current-generation capabilities, or who want to benchmark new models immediately at launch, can only do that through the Anthropic direct API.

The Anthropic API's built-in web search and code execution tools are not available through Amazon Bedrock's standard integration. This matters for cost because server-side tools can replace agent loop architectures that otherwise compound token usage. If your agent needs web search at every step, the multi-agent cost spiral of hand-rolling that capability with API calls can add up quickly, and Bedrock does not give you a shortcut.

Bedrock and Anthropic set their own rate limits, and the limits differ by model and tier. Anthropic's direct API uses usage tiers (Start, Build, Scale) with explicit requests-per-minute and tokens-per-minute limits, and these scale automatically as you build usage history. Bedrock has its own quota system, managed through the AWS console, with separate limits per region and inference profile. For teams already on AWS with committed spend, Bedrock reserved throughput is an option for high-volume steady workloads, though it requires contacting AWS for pricing. Neither platform is obviously better here: it depends on your volume, region, and whether you already have AWS enterprise agreements that affect capacity.

There is a middle path worth knowing about: Claude Platform on AWS, which launched in general availability in May 2026. Anthropic operates the stack, not AWS. It uses the standard Anthropic Messages API, gets new models on the same day as the direct API, and includes the same server-side tools and beta features. Billing runs through AWS Marketplace using Claude Consumption Units (CCUs), where 100 CCUs equals $1.00 at standard Anthropic per-model rates. If your team needs AWS-native billing and IAM authentication but also needs the latest features on day one, Claude Platform on AWS is worth evaluating separately from standard Bedrock.

For most teams running current-generation Claude models, the token-level cost comparison is a wash at global rates. The decision comes down to three non-price factors:

Use the Anthropic direct API if you: want the Batch API on current models (Opus 4.7 and later), need new models immediately on launch, use or plan to use server-side tools like web search, or prefer simpler billing without AWS.

Use AWS Bedrock if you: already have AWS infrastructure and want data within AWS boundaries, need IAM-based authentication or AWS CloudTrail for audit, or want to combine Claude with AWS-native services like Bedrock Guardrails and Bedrock Knowledge Bases. Be aware that Bedrock's standard integration does not currently support the Batch API for newer Claude models, so if 50% batch discounts matter for your workload, plan accordingly.

Use both if failover matters. Because the same Claude model sits on separate capacity pools, calling Anthropic direct as primary and Bedrock as failover keeps requests succeeding when one platform returns rate limit errors. A proxy or gateway layer handles the routing transparently. This is a common production pattern and worth considering if Claude is on the critical path of your application. The failover guide for AI APIs covers the error codes and retry logic for exactly this setup.

If you are trying to reduce the total Claude spend regardless of platform, the levers are the same on both sides: prompt caching, batch for async work, model tiering by task complexity, and output length control. The Claude API cost reduction guide walks through those steps in detail, and every technique in it applies whether your requests go to Anthropic or Bedrock. A cost optimization proxy like PromptUnit can also route calls to a cheaper model automatically when the task does not need the full capability of the model you asked for, connecting keys from multiple providers to widen the options.

The platform choice affects your architecture, compliance posture, and feature access. The token price, at global rates, is not the thing that distinguishes them.

Is Claude cheaper on AWS Bedrock or the Anthropic API?

At global endpoint rates, the price is identical on both platforms. Claude Sonnet 5 costs $2 per million input tokens and $10 per million output tokens on both AWS Bedrock and the Anthropic direct API. The cost diverges if you use regional endpoints (both add a 10% premium for data residency) or if you want the Batch API on current-generation models, which is only available through the Anthropic direct API for Claude Opus 4.7 and later.

Does AWS charge a markup on Claude tokens compared to Anthropic's own API?

No, not at the standard global endpoint rate. Anthropic's own pricing documentation confirms that Bedrock global endpoints match the direct API dollar for dollar. The only token-level premium on Bedrock is for regional endpoints, which cost 10% more to guarantee that inference stays within a specific geography, and that same 10% applies on the Anthropic API too when you use the inference_geo parameter.

Does AWS Bedrock support the Claude Batch API for 50% off?

Bedrock supports a 50% batch discount, but only for older Claude models accessed through the legacy InvokeModel integration. For newer models using the Bedrock Messages API integration (Claude Opus 4.7 and later), the Batch API is not currently available on Bedrock. If you want batch pricing on current-generation Claude models, the Anthropic direct API is the only option.

Are all Claude models available on AWS Bedrock?

Not simultaneously with Anthropic's own API. Anthropic releases new Claude models to its direct API first, and Bedrock availability follows later, sometimes by weeks or months. If your application needs the latest model the day it launches, the Anthropic direct API is the only reliable choice.

What is Claude Platform on AWS and how does it differ from Bedrock?

Claude Platform on AWS is a separate offering where Anthropic operates the infrastructure, not AWS. It uses the standard Anthropic Messages API, gets new models on the same day as the direct API, and includes server-side tools like web search and code execution that are not available on standard Bedrock. Billing runs through AWS Marketplace using Claude Consumption Units, where 100 CCUs equals $1 at Anthropic's standard rates.

Quelle: dev.to (dev.to). Original öffnen