Use the Anthropic SDK with Manifest
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.
21 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"}],
)
Install the TypeScript SDK and wire it to the Manifest endpoint:
import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({
baseURL: "https://api.manifest.build",
authToken: "mnfst_YOUR_KEY",
});
const message = await client.messages.create({
model: "auto",
max_tokens: 1024,
messages: [{ role: "user", content: "Hello" }],
});
https://api.manifest.build
mnfst_YOUR_KEY
auto
Anthropic SDK tokens processed on Manifest
Models in use
# Model |
Auth type | Tokens / last 30 days |
|---|---|---|
1.Deepseek V4 Flash Free | API Key | 123 M |
2.Hy3 | API Key | 22 M |
3.MiniMax M3 | Subscription | 21 M |
4.Claude Opus 4 8 | Subscription | 14 M |
5.Gpt 5.6 Sol | Subscription | 11 M |
6.Laguna M.1 | API Key | 4 M |
7.Grok 4.3 | Subscription | 3 M |
8.Claude Haiku 4 5 | Subscription | 1 M |
9.Claude Opus 4 8 | API Key | 919 K |
10.Claude Sonnet 5 | API Key | 903 K |
11.Grok 4.5 | Subscription | 681 K |
12.Claude Sonnet 4.6 | API Key | 66 K |
13.Gpt Oss 120b | API Key | 8 K |
14.Llama 3.3 70b Versatile | API Key | 6 K |
15.Claude Sonnet 4 6 | Subscription | 3 K |
16.Minimax M2.7 | API Key | 1 K |
17.Deepseek V4 Pro | Subscription | 734 |
18.Nemotron 3 Super 120b A12b | API Key | 510 |
19.Zai Glm 4.7 | API Key | 478 |
20.Qwen3.5 397b A17b | API Key | 294 |
21.Nemotron 3 Ultra Free | API Key | 18 |