Skip to content

Fusebox v0.4.0

Choose a tag to compare

@github-actions github-actions released this 11 Oct 18:32
· 32 commits to main since this release
cafc8f0

The first release of Fusebox: one fast binary that turns your Claude, ChatGPT, Gemini, Antigravity, Grok, Kimi, Meta, Devin and Vertex accounts into OpenAI, Anthropic and Gemini compatible APIs, with a dashboard built in.

Fusebox grew out of CLIProxyAPI-Rust by @IuCC123 and carries on from its v0.3.2. Everything you set up for CLIProxyAPI-Rust or CLIProxyAPI keeps working.

Fusebox dashboard

Highlights since v0.3.2

  • Usage and costs. A Usage page records the tokens every request used, can import opted-in Claude Code and Codex histories (also from a collector on another machine), and estimates what that would cost at API list prices. Named clients give each tool its own key, so you can see which tool sent what.
  • Smart quota balancing. routing: smart-quota sends new sessions to the account whose weekly limit renews first, so allowance that would expire unused gets used, while a 5-hour reserve protects sessions that are already running.
  • Better prompt caching. Conversations without a session id are recognised by their first message and stay on one account, and ChatGPT, OpenAI and xAI get a stable cache key.
  • A rebuilt dashboard. New design, a command palette (Cmd/Ctrl K), a phone layout, a Models page, live account activity, a settings editor alongside the YAML file, and setup snippets for Claude Code, Codex, the OpenAI SDK and curl under Config, Clients.
  • Installable app with push notifications. Over HTTPS the dashboard installs as an app and can notify you when a sign-in expires or a provider runs out of capacity.
  • New models without a release. Claude and Codex accounts fetch their model lists from the provider, and the Models page can add any other model by hand.
  • Current client identities. Requests match Claude Code 2.1.296, Codex CLI 0.162.1, Grok Build 1.0.50, Muse Code 1.4.4, Devin CLI 3000.11.3 and Antigravity 2.22.0, and a daily check opens an issue when one of them falls behind.
  • Banked resets (opt-in): see and use the limit resets your Claude and ChatGPT subscriptions have banked.
  • Management API: GET /api/faults, a faults event on /api/live, and ongoing sessions in load events.
  • Fixes: token accounting when a client closes a finished stream, adaptive thinking across Claude tool turns, idle Codex WebSockets (thanks @dr-baker), compressed request bodies, and faster streaming with per-account connection pools.

Install

Download the archive for your platform below, extract it and run ./fusebox. Then open http://127.0.0.1:8317 and connect an account.

Platform Archive
macOS, Apple Silicon fusebox-…-aarch64-apple-darwin.tar.gz
macOS, Intel fusebox-…-x86_64-apple-darwin.tar.gz
Linux, x86_64 fusebox-…-x86_64-unknown-linux-gnu.tar.gz
Linux, ARM64 fusebox-…-aarch64-unknown-linux-gnu.tar.gz
Windows, x86_64 fusebox-…-x86_64-pc-windows-msvc.zip

SHA256SUMS lists every archive's checksum, and each archive has a build attestation you can check with gh attestation verify <archive> -R DigitalPals/Fusebox.

Or run the ghcr.io/digitalpals/fusebox image (amd64 and arm64) as the quick start shows, or build it with Rust 1.88 or newer: cargo install --git https://github.com/DigitalPals/Fusebox.

The binaries are not code-signed. If macOS refuses to open it, run xattr -d com.apple.quarantine fusebox once.

Upgrading from CLIProxyAPI-Rust

  • The binary is now fusebox and the image ghcr.io/digitalpals/fusebox.
  • auth-dir defaults to ~/.fusebox, but ~/.cli-proxy-api is used when only that one exists.
  • The CLIPROXYAPI_RUST_* variables and x-cliproxy-* request headers still work. The response header naming the account is now x-fusebox-account (was x-cliproxyapi-rust-account).

See the README for configuration, endpoints and coming from CLIProxyAPI.

What's Changed

  • Fix usage tests on macOS, Windows and slow runners; bump Grok Build and Devin CLI by @DigitalPals in #4
  • fix(claude): match Claude Code 2.1.295 request identity by @DigitalPals in #9
  • fix(codex): match Codex CLI 0.162.0 request shape by @DigitalPals in #10
  • fix(grok): match Grok Build 1.0.50 request identity by @DigitalPals in #11
  • Fix #14: Antigravity 2.22.0 is out (Fusebox matches 2.21.1) by @DigitalPals in #15
  • Fix #13: Codex CLI 0.162.1 is out (Fusebox matches 0.162.0) by @DigitalPals in #16
  • Fix #12: Claude Code 2.1.296 is out (Fusebox matches 2.1.295) by @DigitalPals in #17
  • Fix #8: Muse Code 1.4.4 is out (Fusebox matches 1.4.3) by @DigitalPals in #18
  • Close the usage database before Store::shutdown returns by @DigitalPals in #19
  • Show, add and remove named clients under Config, Clients by @DigitalPals in #20
  • Release 0.4.0: publish releases from one job, with checksums and attestations by @DigitalPals in #21

Full Changelog: v0.3.2...v0.4.0