This is the download and support page for the software
AiAPI is a cross-platform client that converts the Claude website into an OpenAI-compatible API, allowing you to use Claude's 100k context capability in any OpenAI-compatible software. What's even better is that it's free. Thanks to Claude.
- Cross-platform, works on Mac and Windows
- Based on Claude2, provides 100k context
- Compatible with OpenAI API, allowing direct reuse of existing OpenAI tools
- Supports the CookieCloud browser extension, which can automatically refresh and synchronize cookies
Please go to the Releases section of the repository.
- Register and log in to your account at https://claude.ai.
- Go to the page https://claude.ai/chats, open DevTools by pressing F12, and navigate to Applications → Cookies. Copy the sessionKey.
- Paste the sessionKey into the Settings panel and save.
- Change the OpenAI API Endpoint to http://127.0.0.1:3456 (if there is a /v1/... at the end, include it as well).
- You can enter any API Key, but some clients may have format validation. You can use this key:
sk-1234567890ULScvLPEHbT3B3bkFJ34mOSRJSVf9fMWP8UXyw
. This interface currently only supports stream mode, so please enable the "Stream Output" option.added in version 1.0.2
- Currently, only the
/v1/chat/completions
endpoint and themessages
parameter are supported. The model used isclaude-2
. - Continuous conversation is supported, and the
messages
parameter will be automatically concatenated.
- book-by-ai : Generate high-quality books with AI