Guide · Amazon Bedrock · Model Customization

Amazon Bedrock Provisioned Throughput for MCP Servers — Model Units, Commitment Tiers, and Provisioned ARN

On-demand Bedrock inference shares capacity with the entire AWS region — under load, your MCP tools start receiving ThrottlingException before they finish answering a single agent turn. Provisioned Throughput reserves dedicated model capacity expressed in model units, guaranteeing a fixed token throughput rate regardless of what other customers are doing. It is also the only way to invoke a fine-tuned custom model: on-demand does not support custom weights. This guide covers every step from calling CreateProvisionedModelThroughputCommand and polling for InService status, to wiring the returned provisionedModelArn into your MCP server's ConverseCommand and InvokeModelCommand calls, selecting the right commitment tier, and the operational gotchas that cost teams money on their first deployment.

TL;DR

Call CreateProvisionedModelThroughputCommand with modelUnits, provisionedModelName, and modelId (a base foundation model ID or a custom model ARN for fine-tuned models). Poll GetProvisionedModelThroughputCommand until status is InService. Set the returned provisionedModelArn as the modelId in your MCP server's inference calls — do not keep using the base model ID or you will continue to pay on-demand rates in addition to the provisioned fee. For NO_COMMITMENT throughput, the minimum billable window is one hour even if you delete after five minutes.

Why Provisioned Throughput matters for MCP servers

An MCP server handling a single interactive agent session may issue three to eight Bedrock calls in quick succession: a routing call, two tool-augmented converse calls, a summarization pass. Under on-demand pricing each call competes for shared regional capacity. At low traffic levels this works fine. When a team starts using the MCP server across dozens of concurrent agent sessions, the calls pile up and Bedrock starts returning ThrottlingException (HTTP 429). Your retry logic delays the response, the agent times out, the tool call fails, and the session degrades.

Provisioned Throughput solves this by giving you dedicated capacity. You pay for model units whether or not you use them — similar to provisioned IOPS on an EBS volume or reserved RCUs on DynamoDB. In exchange, Bedrock routes your provisioned ARN traffic to reserved hardware and does not throttle it until you exceed your purchased model units.

There is a second, non-optional reason to use Provisioned Throughput: fine-tuned and imported custom models cannot be called via on-demand inference at all. After a fine-tuning job completes and you have a custom model ARN, you must create a provisioned throughput resource that points at that custom model before you can invoke it. The provisioned ARN is the only valid endpoint for custom weights.

For MCP servers, the operational implications are:

Model units explained

A model unit is the atomic unit of provisioned capacity in Amazon Bedrock. One model unit provides approximately one input/output token-per-minute of throughput — the exact token-per-minute figure varies by model family and is published per model in the Bedrock documentation. You purchase N model units to get N times the base throughput for that model.

The practical sizing exercise: estimate your peak token throughput. If your MCP tool generates prompts averaging 1,500 input tokens and 300 output tokens, that is 1,800 tokens per call. If you expect 20 concurrent sessions each issuing one call every 10 seconds, your steady-state rate is 20 × 1,800 ÷ 10 = 3,600 tokens per second, or 216,000 tokens per minute. Divide by the model's tokens-per-model-unit figure to get the number of units to purchase, then add 20–30% headroom.

The modelId field in CreateProvisionedModelThroughputCommand accepts two forms:

Model units for a custom fine-tuned model are always based on the base model's unit definition — a fine-tuned Claude model uses the same model unit definition as the base Claude model it was derived from.

Commitment tiers

When creating a provisioned throughput resource, you choose a commitment duration that determines per-unit pricing and your flexibility to delete or scale down. There are three tiers:

Tier commitmentDuration value Billing Min billable window Can decrease units? Can delete? Relative cost
No commitment Omit field Hourly 1 hour Yes (anytime) Yes (anytime, min 1 hr billed) Highest (~100%)
One month "ONE_MONTH" Monthly 30 days No, until term ends No, until term ends Medium (~80–85%)
Six months "SIX_MONTHS" Monthly 180 days No, until term ends No, until term ends Lowest (~60–65%)

The practical workflow: start with NO_COMMITMENT while you validate your MCP server behavior under load and confirm the model unit count is correct. Once traffic patterns stabilize — typically after 2–4 weeks of production data — upgrade to ONE_MONTH or SIX_MONTHS using UpdateProvisionedModelThroughputCommand. You can upgrade the commitment tier at any time; you cannot downgrade a commitment tier mid-term.

For fine-tuned models in production, SIX_MONTHS is usually the right choice: custom model weights do not change month-to-month and the discount more than justifies the lock-in once you have validated the model quality.

CreateProvisionedModelThroughputCommand

The creation call is synchronous in that it returns immediately, but provisioning is asynchronous — the resource moves through several status values before it is usable. The call returns a provisionedModelArn immediately; you then poll GetProvisionedModelThroughputCommand until the status is InService.

import {
  BedrockClient,
  CreateProvisionedModelThroughputCommand,
  GetProvisionedModelThroughputCommand,
  type ProvisionedModelStatus,
} from "@aws-sdk/client-bedrock";

const bedrock = new BedrockClient({ region: "us-east-1" });

// Create the provisioned throughput resource
const createResponse = await bedrock.send(
  new CreateProvisionedModelThroughputCommand({
    // Number of model units to reserve
    modelUnits: 4,
    // Friendly name for the resource (must be unique in your account/region)
    provisionedModelName: "mcp-prod-claude-sonnet",
    // Base foundation model ID, OR a custom model ARN for fine-tuned models
    modelId: "anthropic.claude-3-5-sonnet-20241022-v2:0",
    // Omit commitmentDuration for NO_COMMITMENT (hourly billing)
    // commitmentDuration: "ONE_MONTH",
    // commitmentDuration: "SIX_MONTHS",
    tags: [
      { key: "Service", value: "mcp-prod" },
      { key: "CostCenter", value: "platform-engineering" },
    ],
  }),
);

const provisionedModelArn = createResponse.provisionedModelArn!;
console.log("Created:", provisionedModelArn);

// Poll until InService. Status values:
//   Creating -> InService (normal path)
//   Creating -> Failed     (bad model ID, insufficient capacity)
//   InService -> Updating  (after UpdateProvisionedModelThroughputCommand)
//   InService -> Deleting  (after DeleteProvisionedModelThroughputCommand)
async function waitForInService(arn: string): Promise<void> {
  const terminalStatuses = new Set<ProvisionedModelStatus>([
    "InService",
    "Failed",
  ]);

  while (true) {
    const status = await bedrock.send(
      new GetProvisionedModelThroughputCommand({
        provisionedModelId: arn,
      }),
    );

    const current = status.status as ProvisionedModelStatus;
    console.log(`Status: ${current} (${new Date().toISOString()})`);

    if (current === "InService") {
      console.log("Provisioned throughput is ready.");
      return;
    }

    if (current === "Failed") {
      throw new Error(
        `Provisioned throughput failed: ${status.failureMessage ?? "unknown reason"}`,
      );
    }

    // Wait 30 seconds between polls — creation typically takes 5-15 minutes
    await new Promise((resolve) => setTimeout(resolve, 30_000));
  }
}

await waitForInService(provisionedModelArn);

// Store the ARN for use in MCP server inference calls
console.log("Provisioned model ARN:", provisionedModelArn);
// arn:aws:bedrock:us-east-1:123456789012:provisioned-model/XXXXXXXXXXXX

Creation typically takes 5–15 minutes. The failureMessage field on the GetProvisionedModelThroughputCommand response contains the human-readable failure reason when status is Failed — common causes are unsupported model ID (not all foundation models support provisioned throughput) or using a base model ID when a custom model ARN was required.

Switching an MCP server from on-demand to provisioned ARN

After the provisioned throughput resource reaches InService, update your MCP server to use the provisioned ARN instead of the base model ID. The provisioned ARN is passed as the modelId field in both ConverseCommand and InvokeModelCommand — the API shape does not change, only the value.

The recommended pattern is an environment variable so you can switch between on-demand and provisioned without a code deploy:

// Environment variable set in production:
// MODEL_ID=arn:aws:bedrock:us-east-1:123456789012:provisioned-model/XXXXXXXXXXXX
//
// Environment variable set in development/staging:
// MODEL_ID=anthropic.claude-3-5-sonnet-20241022-v2:0

import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
import { z } from "zod";
import {
  BedrockRuntimeClient,
  ConverseCommand,
} from "@aws-sdk/client-bedrock-runtime";

// Read at startup — no dynamic switching required
const MODEL_ID = process.env.MODEL_ID;
if (!MODEL_ID) {
  throw new Error("MODEL_ID environment variable is required");
}

const runtime = new BedrockRuntimeClient({ region: "us-east-1" });
const server = new McpServer({ name: "analysis-tools", version: "1.0.0" });

server.tool(
  "analyze_document",
  {
    document: z.string().min(1).max(200_000),
    instruction: z.string().min(1).max(2_000),
  },
  async ({ document, instruction }) => {
    const response = await runtime.send(
      new ConverseCommand({
        // Works with both a base model ID and a provisioned model ARN
        modelId: MODEL_ID,
        messages: [
          {
            role: "user",
            content: [
              {
                text: `${instruction}\n\n${document}`,
              },
            ],
          },
        ],
        inferenceConfig: {
          maxTokens: 4096,
          temperature: 0.1,
        },
      }),
    );

    const text =
      response.output?.message?.content?.[0]?.text ?? "(no response)";
    return { content: [{ type: "text", text }] };
  },
);

await server.connect(new StdioServerTransport());

The same pattern applies to InvokeModelCommand — set modelId to the provisioned ARN. The request and response body shapes are identical to on-demand invocations; only the routing changes.

For containerized deployments, inject the provisioned ARN via your deployment configuration:

# Docker Compose (production)
services:
  mcp-server:
    image: my-mcp-server:latest
    environment:
      MODEL_ID: "arn:aws:bedrock:us-east-1:123456789012:provisioned-model/XXXXXXXXXXXX"
      AWS_REGION: "us-east-1"

# Kubernetes (production)
# In your Deployment spec:
env:
  - name: MODEL_ID
    valueFrom:
      secretKeyRef:
        name: bedrock-config
        key: provisioned-model-arn

ListProvisionedModelThroughputsCommand and UpdateProvisionedModelThroughputCommand

Use ListProvisionedModelThroughputsCommand to enumerate existing provisioned resources in your account — useful for infrastructure audits, cost reviews, and discovering ARNs for resources created outside your current deployment context.

import {
  BedrockClient,
  ListProvisionedModelThroughputsCommand,
  UpdateProvisionedModelThroughputCommand,
} from "@aws-sdk/client-bedrock";

const bedrock = new BedrockClient({ region: "us-east-1" });

// List all provisioned throughput resources
let nextToken: string | undefined;
const resources = [];

do {
  const page = await bedrock.send(
    new ListProvisionedModelThroughputsCommand({
      maxResults: 50,
      nextToken,
      // Optional filters:
      // statusEquals: "InService",
      // modelArnEquals: "anthropic.claude-3-5-sonnet-20241022-v2:0",
      // nameContains: "mcp-prod",
      // creationTimeBefore: new Date("2026-01-01"),
      // creationTimeAfter: new Date("2025-01-01"),
    }),
  );

  resources.push(...(page.provisionedModelSummaries ?? []));
  nextToken = page.nextToken;
} while (nextToken);

for (const r of resources) {
  console.log(
    `${r.provisionedModelName} | ${r.status} | ${r.modelUnits} units | ${r.commitmentDuration ?? "NO_COMMITMENT"} | ARN: ${r.provisionedModelArn}`,
  );
}

Use UpdateProvisionedModelThroughputCommand to increase model units or upgrade the commitment tier. During a commitment period you can only increase units, not decrease them. After the commitment period expires you can decrease or cancel.

// Scale up model units (allowed at any time, including during commitment)
await bedrock.send(
  new UpdateProvisionedModelThroughputCommand({
    provisionedModelId:
      "arn:aws:bedrock:us-east-1:123456789012:provisioned-model/XXXXXXXXXXXX",
    // Increase from 4 to 8 model units
    modelUnits: 8,
    // Optionally upgrade commitment tier (never downgrade mid-term):
    // commitmentDuration: "SIX_MONTHS",
  }),
);

// After update, the resource briefly enters "Updating" status.
// Poll GetProvisionedModelThroughputCommand until back to "InService"
// before relying on the increased capacity.

The update is non-disruptive — traffic continues routing to the provisioned ARN during the update. The capacity increase takes effect once status returns to InService, which typically takes 1–5 minutes for a unit increase.

DeleteProvisionedModelThroughputCommand

When a provisioned throughput resource is no longer needed, delete it to stop accumulating charges. For NO_COMMITMENT resources you can delete at any time. For committed resources you must wait until the commitment period expires — attempting to delete before expiry throws ConflictException: Cannot delete provisioned model during commitment period.

import {
  BedrockClient,
  DeleteProvisionedModelThroughputCommand,
  GetProvisionedModelThroughputCommand,
} from "@aws-sdk/client-bedrock";

const bedrock = new BedrockClient({ region: "us-east-1" });

const arn =
  "arn:aws:bedrock:us-east-1:123456789012:provisioned-model/XXXXXXXXXXXX";

await bedrock.send(
  new DeleteProvisionedModelThroughputCommand({
    provisionedModelId: arn,
  }),
);

// Status transitions to "Deleting" then the resource disappears
// GetProvisionedModelThroughputCommand will throw ResourceNotFoundException
// once deletion completes (typically 2-5 minutes)

console.log("Deletion initiated. The resource will stop billing once fully deleted.");
// Note: for NO_COMMITMENT, you are billed for the full first hour even if
// you delete after 5 minutes. Minimum billable window is always 1 hour.

Build deletion into your CI/CD teardown for temporary test environments. A common mistake is creating a NO_COMMITMENT resource for a load test, running the test for 15 minutes, and deleting — the full first hour is charged regardless. Schedule load tests to run for at least 55 minutes once you have created the resource, so the minimum billable hour is not wasted.

Production gotchas

Using the base model ID after provisioning still routes to on-demand — you pay for both

After creating provisioned throughput, your MCP server must use the provisionedModelArn as the modelId in inference calls — not the original base model ID like anthropic.claude-3-5-sonnet-20241022-v2:0. If you forget to update the environment variable and keep using the base model ID, those calls route to on-demand shared capacity. You are now paying for both the provisioned reservation (which sits idle) and on-demand per-token charges. This is a silent billing issue — there is no error, the calls succeed, they just do not use the capacity you paid for.

InService does not mean immediately full-speed — allow a warm-up window

When a provisioned throughput resource first transitions to InService, cold-start latency exists for the first few requests while the underlying hardware initializes model weights into accelerator memory. Wait 5–10 minutes after the status transitions to InService before running high-load tests. Ramping traffic gradually (10% → 50% → 100% over 10 minutes) produces more representative latency results than immediately flooding the endpoint.

Decreasing model units during a commitment period throws ValidationException

Attempting to decrease modelUnits during a ONE_MONTH or SIX_MONTHS commitment period fails with ValidationException: Cannot decrease model units during commitment period. You can only increase units during the term. If you over-provision and want to reduce costs, you must wait for the commitment to expire, then call UpdateProvisionedModelThroughputCommand to lower the unit count. Plan your initial unit count conservatively — it is easier to increase than to be locked into excess capacity.

NO_COMMITMENT minimum billable window is 1 hour, not pay-per-second

NO_COMMITMENT throughput bills hourly, but the minimum is one full hour regardless of how quickly you delete. If you create a resource at 14:03 and delete it at 14:12, you are charged for a full hour of that resource. This is not pay-per-second like Lambda. For spike handling, prefer creating the resource at least an hour before the anticipated traffic peak so the billing is amortized across actual usage, and keep it running until traffic returns to baseline rather than creating and deleting around individual spikes.

Custom fine-tuned models require the customModelArn, not the base model ARN

When provisioning throughput for a fine-tuned model, the modelId in CreateProvisionedModelThroughputCommand must be the custom model ARN returned by the fine-tuning job (e.g., arn:aws:bedrock:us-east-1:123456789012:custom-model/MyModel/abc123), not the base foundation model ARN. Using the base model ARN throws ValidationException: Model does not support provisioned throughput when the base model itself supports it — confusingly, the error message does not distinguish between "wrong ARN type" and "model not supported". Always verify you are using the custom model ARN from the fine-tuning or import job output, not the source foundation model ID.

ThrottlingException from a provisioned ARN means you need more model units, not a retry

Under on-demand inference, ThrottlingException means you have hit your account-level concurrency limit and an exponential backoff retry will usually succeed. Under provisioned throughput, ThrottlingException means your request rate has exceeded the capacity you purchased — retrying with backoff will only succeed if the traffic rate drops below your provisioned limit. The correct response is to increase model units via UpdateProvisionedModelThroughputCommand, not to tune your retry logic. Configure CloudWatch alerting on this metric to detect the condition proactively; see the cost optimization section below.

The provisionedModelArn is region-specific — do not cross-region route it

A provisioned throughput ARN is tied to the AWS region where it was created. If your MCP server routes to multiple regions (e.g., using cross-region inference profiles), each region needs its own provisioned throughput resource. You cannot use a us-east-1 provisioned ARN from an MCP server instance running API calls against us-west-2. Create separate provisioned resources per region and store region-specific ARNs separately in your configuration.

Cost optimization: detecting saturation and managing NO_COMMITMENT spikes

CloudWatch provides the InvocationClientErrors metric for Bedrock, which counts 4xx errors including ThrottlingException. For a provisioned ARN, any throttling means you are over capacity. Set a CloudWatch alarm on InvocationClientErrors scoped to your provisioned model ARN:

import {
  CloudWatchClient,
  PutMetricAlarmCommand,
} from "@aws-sdk/client-cloudwatch";

const cw = new CloudWatchClient({ region: "us-east-1" });

await cw.send(
  new PutMetricAlarmCommand({
    AlarmName: "mcp-prod-provisioned-throughput-throttling",
    AlarmDescription:
      "Throttling on provisioned Bedrock ARN — increase model units",
    Namespace: "AWS/Bedrock",
    MetricName: "InvocationClientErrors",
    Dimensions: [
      {
        Name: "ModelId",
        Value:
          "arn:aws:bedrock:us-east-1:123456789012:provisioned-model/XXXXXXXXXXXX",
      },
    ],
    Statistic: "Sum",
    Period: 300,        // 5-minute window
    EvaluationPeriods: 2,
    Threshold: 5,       // alert after 5 throttled calls in a 5-minute window
    ComparisonOperator: "GreaterThanOrEqualToThreshold",
    TreatMissingData: "notBreaching",
    AlarmActions: ["arn:aws:sns:us-east-1:123456789012:ops-alerts"],
  }),
);

For traffic spike management on NO_COMMITMENT provisioned throughput, the pattern is:

  1. Monitor your MCP server's inference call rate via CloudWatch InvocationLatency and InvocationClientErrors metrics.
  2. When a traffic spike is detected (or anticipated — scheduled events, marketing campaigns), call CreateProvisionedModelThroughputCommand without commitmentDuration to spin up additional NO_COMMITMENT units.
  3. Wait for InService status (5–15 minutes), then update your MCP server configuration to distribute load across both provisioned ARNs, or simply add the second ARN as a fallback when the primary ARN throttles.
  4. After traffic returns to baseline, delete the temporary resource — but keep it running for at least 55 minutes from creation to get value from the minimum 1-hour billing window.
  5. After 2–4 weeks of production data, calculate your 95th-percentile token throughput rate and migrate from NO_COMMITMENT to ONE_MONTH or SIX_MONTHS at the appropriate unit count.

The ModelInvocationCount and InvocationLatency CloudWatch metrics are available for provisioned ARNs and provide the utilization data needed to right-size your model units before committing to a longer term. InvocationLatency P99 increasing while InvocationClientErrors stays near zero indicates the provisioned capacity is healthy but approaching its limit — plan a scale-up before throttling starts.

Related pages in this arc

For the Bedrock inference APIs that accept the provisioned model ARN, see Bedrock Converse API for MCP Servers and Bedrock InvokeModel for MCP Servers.

Monitor provisioned throughput utilization with AliveMCP

AliveMCP monitors MCP servers using Bedrock Provisioned Throughput — tracking whether your provisioned capacity is being efficiently utilized and alerting on ThrottlingException spikes that indicate you need more model units.

Start free monitoring