Set Up Inference
Harvest yield becomes a USDC-denominated inference balance, spendable through the Berry API against any OpenAI-compatible client.
Every harvest credits 80% of converted USDC to your inference balance.
Requests are authenticated by a wallet signature. No API keys to manage or leak.
Point any OpenAI-compatible client at the Berry endpoint with three headers.
Generate access signature
Signs berry-inference:{address}:{timestamp} with your wallet.
Signatures expire after 5 minutes. Re-sign per session.
Example request
curl -X POST https://juicerapi.berryfi.org/api/inference/chat \
-H "Content-Type: application/json" \
-H "x-berry-address: <your-address>" \
-H "x-berry-timestamp: <timestamp-ms>" \
-H "x-berry-sig: <signature>" \
-d '{
"model": "llama-3.3-70b-instruct",
"messages": [{ "role": "user", "content": "Hello from my harvest yield" }]
}'