bedrock-claude-opus-4-us-crClaude Opus 4 through AWS Bedrock US cross-region profile. Includes the documented 10% premium.
Multi-turn dialogue, system prompts.
SSE chunks for incremental output.
Structured arguments via JSON schemas.
Pass images alongside the prompt.
Text and image to short video, async.
Coming soon.
This example calls the selected Amazon Bedrock route with bedrock-claude-opus-4-us-cr.
import OpenAI from 'openai';
const client = new OpenAI({
baseURL: 'https://api.miavo.xyz/v1',
apiKey: process.env.MACAW_API_KEY!,
});
const res = await client.chat.completions.create({
model: 'bedrock-claude-opus-4-us-cr',
messages: [
{ role: 'user', content: 'Write me a haiku about gateways.' },
],
});
console.log(res.choices[0].message.content);