> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aireserve.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Claude Opus 5 (Amazon Bedrock)

> Claude Opus 5 (Amazon Bedrock) on the AI Reserve gateway — model id, aliases, pricing, limits and a copy-paste request.

**Chat** · Anthropic · served by Amazon Bedrock

## Call it

Endpoint: `POST /v1/chat/completions` — set `model` to `claude-opus-5-bedrock`.

```bash cURL theme={"dark"}
curl https://api.aireserve.com/v1/chat/completions \
  -H "Authorization: Bearer $AIRESERVE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-opus-5-bedrock",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'
```

```bash cURL (Anthropic Messages shape) theme={"dark"}
curl https://api.aireserve.com/v1/messages \
  -H "x-api-key: $AIRESERVE_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-opus-5-bedrock",
    "max_tokens": 256,
    "messages": [{"role": "user", "content": "Hello!"}]
  }'
```

```python Python theme={"dark"}
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.aireserve.com/v1",
    api_key=os.environ["AIRESERVE_API_KEY"],
)

res = client.chat.completions.create(
    model="claude-opus-5-bedrock",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(res.choices[0].message.content)
```

```typescript TypeScript theme={"dark"}
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.aireserve.com/v1",
  apiKey: process.env.AIRESERVE_API_KEY,
});

const res = await client.chat.completions.create({
  model: "claude-opus-5-bedrock",
  messages: [{ role: "user", content: "Hello!" }],
});
console.log(res.choices[0].message.content);
```

Full request and response reference: [Quickstart](/getting-started/quickstart).

## IDs & aliases

| Send as `model` | What it is |
| - | - |
| `claude-opus-5-bedrock` | Canonical gateway id |
| `anthropic.claude-opus-5` | AWS Bedrock id |

Every alias resolves at the gateway and is disclosed back as `requestedModelAlias` in usage metadata. Routing variants also apply: `claude-opus-5-bedrock:nitro` picks the fastest provider serving these weights and `claude-opus-5-bedrock:floor` the cheapest ([details](/models#provider-routing-variants)).

## Specs

| Spec | Detail |
| - | - |
| Modality | Text & chat — Chat |
| Model maker | Anthropic |
| Served by | Amazon Bedrock |
| Context window | 1,000,000 tokens |
| Max output | 128,000 tokens |
| Pricing | \$5 in / \$25 out per 1M tokens |
| Cached input | \$0.5 per 1M tokens |
| Capabilities | Streaming, Image input, PDF / file input, Tool use, Extended reasoning, Prompt caching, 1M-token context |
| Hosting | United States |

Prices are public list rates at generation time and may lag the provider card; `GET /v1/models` and the portal's pricing page are authoritative for billing.

## Same weights, other providers

This id pins a specific serving route of [Claude Opus 5](/models/catalog/claude-opus-5) (`claude-opus-5`).

| Model id | Served by | Pricing |
| - | - | - |
| [`claude-opus-5-bedrock-us`](/models/catalog/claude-opus-5-bedrock-us) | Amazon Bedrock (US regions) | \$5.5 in / \$27.5 out per 1M tokens |

Same weights, different machines: speed, time to first token and cache behavior are the serving provider's. The unsuffixed id is the default we picked for reliability; pick a suffix when you need a specific provider's [data-handling terms](https://privacy.aireserve.com/data-handling).

> **[Browse all models](/models)**
>
> Search and filter every model by modality, maker, capability and price.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.