Explore

anthropic / claude

Claude API

Anthropic's Claude API, resold: point the Anthropic SDK at SFAIE and pay in credits.

A drop-in for the Anthropic SDK. Set baseURL to https://api.sfaie.com/anthropic/claude and apiKey to your SFAIE key; the SDK sends it in the x-api-key header, and Authorization: Bearer works too. Messages, token counting and the model list answer with the vendor's own request and response bodies, errors included. Models: claude-opus-5, claude-sonnet-5 and claude-haiku-4-5. Set stream to true for server-sent events, relayed as the vendor sends them. Resold by SFAIE, which is not affiliated with Anthropic.

https://api.sfaie.com

Send your key as an Authorization: Bearer token. Add Sfaie-Cache: max-age=<seconds> to have an identical request from your account within that many seconds answered from the cache. max-age=0 asks for a fresh answer and keeps it. The reply says Sfaie-Cache: hit, miss, no-store or bypass and carries Sfaie-Cache-Date, when the answer was generated. A replayed answer may name an older model snapshot.

Where your request goes

The content of your request goes to Anthropic, which returns the model's reply. SFAIE keeps the request and the reply for 30 days and shows them on your account's Requests page. The usage record, the model and token counts without the content, stays with your account.

Messages

Models