Skip to content

Encrypted inference

API

Explore the OpenAI-compatible endpoint and private transport before creating keys, adding credits, and monitoring usage.

Garlic API

Build private AI with the tools you already use.

Point any OpenAI SDK at one base URL. Choose standard JSON, an explicit TEE model, or E2EE by changing only the model name.

curl https://garlic.ai/v1/chat/completions \
  -H "Authorization: Bearer $GARLIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-oss-120b",
    "messages": [{"role": "user", "content": "Hello, private world!"}]
  }'

Use gpt-oss-120b for the simplest path or tee-gpt-oss-120b to request TEE processing explicitly. Browser chat uses a separate browser-side E2EE transport.

What sign-in unlocks

API keysCreate and revoke personal keys
BillingAdd credits without overages
UsageMonitor requests and token spend
TransportStandard · TEE

Sign in when you’re ready. The endpoint and examples stay public. See per-token pricing.

Using an agent?

The same installer configures the provider and default model for OpenClaw and Hermes.