Integration · ai provider
Cypherz for Anthropic Claude
Anthropic's API is great, but it still sees every email, name, and ID you send to Claude. Route your `messages.create` calls through Cypherz and the Claude model receives tokenized surrogates; the response comes back with real values restored. Works with Claude Sonnet, Haiku, and Opus.
01
Anthropic-shaped proxy
POST to /v1/proxy/anthropic/v1/messages — same JSON body, real Claude response.
02
Streaming-friendly
Token-level streaming works through the proxy; tokens are restored as they arrive.
03
Your Anthropic key, encrypted
Stored under per-project AES-256-GCM with envelope encryption — never logged in plaintext.
04
Same SDK
Or use the Anthropic SDK directly with a custom `baseURL` pointed at your Cypherz proxy.
Route the Anthropic SDK through Cypherz
import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({
apiKey: process.env.CYPHERZ_KEY,
baseURL: "https://api.cypherz.app/v1/proxy/anthropic",
});
const msg = await client.messages.create({
model: "claude-sonnet-4-5",
max_tokens: 1024,
messages: [
{ role: "user", content: "Email john@acme.com a quote." },
],
});Common questions
Frequently asked.
Is Cypherz officially supported by Anthropic Claude?
Cypherz is built as a transparent proxy compatible with Anthropic Claude's public API. We don't require their endorsement and they don't gate us — your existing API key works through Cypherz.
Will my latency get worse?
Tokenization adds 5-30ms per request depending on payload size. The actual LLM call is the dominant cost (hundreds of ms), so the user-perceived difference is negligible. Run Cypherz in the same region as your AI provider for lowest hop overhead.
Does streaming work?
Yes — Cypherz proxies streaming responses and restores tokens chunk-by-chunk on the way back. Works with SSE and standard chunked transfer.
Can I use my own Anthropic Claude key?
Yes — paste your key when you create a project; Cypherz encrypts it under the per-project vault key. You can also use managed mode where Cypherz provisions and bills the upstream key.
Get started
Add Cypherz to your Anthropic Claude integration in 60 seconds.
Sign up, create a project, copy your API key. The first request is tokenized in under sixty seconds.
More integrations
Use Cypherz with OpenAI
Drop-in PII tokenization for the OpenAI API and SDK. Cypherz wraps `chat.complet…
Use Cypherz with Google Gemini
Send sanitized payloads to Gemini Pro and Gemini Flash. Cypherz proxies the Goog…
Use Cypherz with LangChain
Plug Cypherz into LangChain so every chain, agent, and tool call gets PII-protec…
Use Cypherz with Vercel AI SDK
Wrap the Vercel AI SDK's `streamText` and `generateText` with Cypherz so your Ne…
Use Cypherz with Python
Use Cypherz from any Python AI workload. Works with the OpenAI Python SDK, Anthr…
Use Cypherz with TypeScript
First-class TypeScript SDK with a drop-in OpenAI wrapper. Ships on npm, works in…