Any tool with a custom OpenAI base URL. Swap the URL, keep your SDK.
Some SDKs read OPENAI_API_BASE instead — export both if unsure.
OPENAI_BASE_URL=https://api.thetokenarchive.com/v1OPENAI_API_BASE=https://api.thetokenarchive.com/v1OPENAI_API_KEY=ta_live_your_key_hereSettings → Models → Override OpenAI Base URL. Needs a public HTTPS URL; Cursor's cloud backend cannot reach localhost. Cursor Tab is not routable.
https://api.thetokenarchive.com/v1ta_live_your_key_hereAdd apiBase to the model entry in ~/.continue/config.json.
"apiBase": "https://api.thetokenarchive.com/v1"npx token-archive init --target continue --applyProvider → OpenAI Compatible, then paste base URL, key, and your usual model id.
https://api.thetokenarchive.com/v1ta_live_your_key_hereProvider → OpenAI Compatible. Same base URL and ta_ key as Cline.
https://api.thetokenarchive.com/v1Set the base URL in ~/.hermes/.env. This compresses Hermes → model traffic, not the Hermes :8642 server itself.
OPENAI_BASE_URL=https://api.thetokenarchive.com/v1OPENAI_API_KEY=ta_live_your_key_hereAdd to .aider.conf.yml in your repo or home directory.
openai-api-base: https://api.thetokenarchive.com/v1openai-api-key: ta_live_your_key_hereAdd a custom OpenAI connection: base URL plus ta_ key. Models list through the archive unchanged.
https://api.thetokenarchive.com/v1ta_live_your_key_hereNode, Python, and LangChain — just pass the base URL.
const client = new OpenAI({ baseURL: "https://api.thetokenarchive.com/v1", apiKey: "ta_live_..." });client = OpenAI(base_url="https://api.thetokenarchive.com/v1", api_key="ta_live_...")ChatOpenAI(model="gpt-4o", base_url="https://api.thetokenarchive.com/v1", api_key="ta_live_...")List every supported target, then configure one in place.
npx token-archive targetsnpx token-archive init --target continue --applynpx token-archive watchEvery response carries the savings ledger.
X-TA-Tokens-OriginalX-TA-Tokens-CompressedX-TA-Savings-PctX-TA-Tokens-RawX-TA-Tokens-SavedNo base URL override exists for these, so the archive cannot see their traffic.
GitHub Copilot · Cursor Tab