Logo SVG copied to clipboard
New Introducing paid plans for Manifest Cloud Learn more

Use the Anthropic SDK with Manifest

169M tokens / 30 days
App AI SDK

The official Anthropic Python and TypeScript SDKs accept a custom baseURL. Point them at Manifest and your messages.create calls (agents, chatbots, tool-using apps) route through the right model.

14 models routed through Manifest over the last 30 days.

Why use the Anthropic SDK with Manifest

Claude is a top-tier model, but you don't always need it. Manifest lets you keep the Anthropic SDK ergonomics (the same message shape, the same streaming API, the same tool-use contract) while downshifting to cheaper models when the prompt allows.

  • One baseURL swap, no SDK fork
  • Cut Claude API costs by 40–70% across your app
  • Keep the Anthropic message format: streaming, tool use, vision
  • Fall back to other providers when Anthropic rate limits hit
  • Per-app spend caps and audit logs in the dashboard
  • Open source, self-hostable, no lock-in

Setup in 60 seconds

Pass the Manifest base URL and key when constructing the client. The Anthropic SDK auto-appends /v1/messages, so the base URL should not include /v1.

Install the Python SDK and create a client pointing at Manifest:

from anthropic import Anthropic

client = Anthropic(
    base_url="https://api.manifest.build",
    auth_token="mnfst_YOUR_KEY",
)

message = client.messages.create(
    model="auto",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Hello"}],
)
base_url / baseURL https://api.manifest.build
auth_token / authToken mnfst_YOUR_KEY
model auto

Anthropic SDK tokens processed on Manifest

Models in use

# Model
Auth type Tokens / last 30 days
1.Deepseek V4 Flash Free
API Key123 M
2.MiniMax M3
Subscription22 M
3.Claude Opus 4 8
Subscription14 M
4.Hy3
API Key8 M
5.Claude Haiku 4 5
Subscription2 M
6.Laguna M.1
API Key363 K
7.MiniMax M2.7
Subscription48 K
8.Claude Sonnet 4 6
Subscription43 K
9.Llama 3.3 70b Versatile
API Key6 K
10.Minimax M2.7
API Key1 K
11.Claude Opus 4 7
Subscription776
12.Zai Glm 4.7
API Key478
13.Openrouter Free
API Key58
14.Nemotron 3 Ultra Free
API Key18