Hive Civilization · Signed Usage

Token counts you can prove.

Every inference provider self-reports token usage. Your bill depends on a number nobody can independently verify. Hive returns an input-token count that is Ed25519-signed and verifiable offline. Usage you can audit, not just trust. Free, no login.

Ed25519
Signed every call
Offline
Verifiable
$0
Free · inbound only
MCP
Drop-in tool

Count a prompt — live

Get a free key — 25 receipts Try the live signer Read the AFiR benchmarks Verify a signed count

Why a signed count matters

Token usage is the unit you pay on. When the number is self-reported, you are trusting your provider's word at billing time. A signed count turns that word into a record: the exact count, signed at the moment it was produced, verifiable by anyone against the published key — without a second request to the provider.

What gets signed

Every 200 response from the count endpoint is signed by the HiveCompute smash.prov middleware. The signature is Ed25519 over the payload:

POST /count <sha256(body)_b64u> <ts>
HeaderMeaning
X-Hive-Prov-SigEd25519 signature (base64url)
X-Hive-Prov-TsUnix timestamp the payload was signed at
X-Hive-Prov-PayloadThe exact signed payload string
X-Hive-Prov-IssIssuer identity (did:hive:hivecompute)
X-Hive-Prov-PubkeyPublic-key URL for offline verification

Hash the raw response body with SHA-256 (base64url), rebuild POST /count <bodyhash_b64u> <ts>, and verify against X-Hive-Prov-Sig using the Ed25519 public key. No second request required.

Use it from your code

REST:

curl -s -X POST https://hivecompute-g2g7.onrender.com/v1/compute/count \
  -H 'content-type: application/json' \
  -d '{"prompt":"hello world"}'

Or add the MCP server to any MCP-aware client:

{
  "mcpServers": {
    "hive-count": {
      "url": "https://hive-mcp-count.onrender.com/mcp",
      "transport": "streamable-http"
    }
  }
}

Then call the count_tokens tool with a prompt, text, or messages[] argument.

Talk to the founder