Docs
Base URL (staging): https://nf-deterministic-api-v1-staging.sina-kazemnezhad-ca.workers.dev
1. Create a key
curl -s -X POST https://nf-deterministic-api-v1-staging.sina-kazemnezhad-ca.workers.dev/v1/signup \
-H 'content-type: application/json' \
-d '{"email":"you@company.com","caller_site":"deterministic-api-commercial"}'
Returns api_key once + $100 starter credits + your referral_code.
2. Drop-in chat completions
curl -s https://nf-deterministic-api-v1-staging.sina-kazemnezhad-ca.workers.dev/v1/chat/completions \
-H "authorization: Bearer sk-nf-…" \
-H 'content-type: application/json' \
-d '{
"model": "noetfield-deterministic",
"messages": [{"role":"user","content":"Return {\\"ok\\":true} as JSON"}],
"response_format": {"type":"json_object"}
}'
3. OpenAI SDK
from openai import OpenAI client = OpenAI( api_key="sk-nf-…", base_url="https://nf-deterministic-api-v1-staging.sina-kazemnezhad-ca.workers.dev/v1", )
4. Balance + referral
curl -s https://nf-deterministic-api-v1-staging.sina-kazemnezhad-ca.workers.dev/v1/balance \ -H "authorization: Bearer sk-nf-…"
Share ?ref=your_referral_code on the landing. When a friend signs up, you both get +$100 API credit.
5. Models
GET /v1/models
6. Sister sites
See /adapt/ and /catalog.json. Keep product_id = nf-deterministic-api.