Skip to main content

Amazon Bedrock

Amazon Bedrock is a fully managed service on AWS that provides access to foundation models from various AI companies through a single API. With Amazon Bedrock Access Gateway, you can access Anthropic's Claude models through an OpenAI-compatible interface, enabling seamless integration with tools and applications designed for OpenAI's API structure.

Follow the Amazon Bedrock Access Gateway setup guide to deploy your own OpenAI-compatible API endpoint for Claude models.

Chat model​

Amazon Bedrock Access Gateway provides an OpenAI-compatible chat API interface for Claude models. Here we use the us.anthropic.claude-3-5-sonnet-20241022-v2:0 model as an example.

~/.tabby/config.toml
[model.chat.http]
kind = "openai/chat"
model_name = "us.anthropic.claude-3-5-sonnet-20241022-v2:0"
api_endpoint = "http://Bedrock-Proxy-xxxxx.{Region}.elb.amazonaws.com/api/v1"
api_key = "your-api-key"

Completion model​

Amazon Bedrock does not provide completion models.

Embeddings model​

While Amazon Bedrock supports embeddings models, Tabby does not currently support the embeddings API interface for Amazon models.