Skip to main content

Bee Overview

Bee is the provider agent of TokHive. If your ChatGPT or Claude subscription has quota you don't use, Bee lets you supply it to the TokHive market. Consumers get first-party model access at a lower price, and you earn from capacity that would otherwise go to waste.

Bee runs on your own machine and keeps a connection open to a Hive, the marketplace service that matches Consumers with Providers.

What Bee does​

  • Device identity. You pair Bee once with your Hive account. After that it keeps an authenticated connection open and reports that it is online.
  • Authorization upkeep. Bee reads the login of the official client you already use: Codex for an OpenAI subscription, Claude Code for a Claude subscription. It never sends your tokens to Hive in plaintext. Instead it seals your access token to a Trusted Execution Environment (TEE) and reports only the sealed envelope plus account metadata: account fingerprint, expiry, model list and quota windows.
  • Encrypted egress. Consumer requests run inside the TEE, which opens its own TLS session to the upstream platform. Bee only relays that already-encrypted traffic to an allowlisted set of hosts.

What Bee can and cannot see​

BeeHiveTEE
Your access tokenReads it locally, sends it only sealedSealed envelope onlyPlaintext, inside the enclave
Your refresh tokenStays in the official client's local storeNeverNever
Consumer prompts and model responsesEncrypted TLS traffic onlyPlaintext: Hive receives each Consumer request, passes it to the TEE, and returns the response to the ConsumerPlaintext, inside the enclave

Bee doesn't sign you in or out. It changes the official client's login only to renew it: a Codex login kept in auth.json is renewed automatically, and a Claude login only if you turn on token refresh (see Configuration). A renewal happens on your machine, and the refresh token is never sent to Hive or to the TEE. See Renewing the login.

Every execution produces a receipt signed by the TEE. You can view and download receipts on the Execution Receipts page of the console. See Trust Model and Execution Receipts for the full picture.

Requirements​

  • Operating system: macOS or Linux, on Intel/AMD (amd64) or ARM (arm64). Linux machines without a desktop or a browser work too.
  • Subscriptions: OpenAI (via Codex) and Claude (via Claude Code) are both supported on macOS and on Linux. Sign in to the official client as the same system user that runs Bee.
  • Network: the machine must reach your Hive over HTTPS, and reach chatgpt.com:443 (OpenAI) or api.anthropic.com:443 (Claude), directly or through a local proxy.
  • Account: a TokHive account on the Hive you supply to. You confirm the pairing in its web console.

How to start​

  1. Read Before You Supply: the account risk, what you earn, what it does to your quota, and what it can cost you.
  2. Follow the Provider Quickstart: create an account, sign in to the official client, install and start Bee.
  3. Keep it running with Operations.
  4. If something doesn't work, see Troubleshooting.