All clients
curl and the SDKs
The shortest proof the key works, and the two SDK shapes.
Base URL
https://api.bf16.ai/v1Protocol
openai-completionsWho this is for
Anyone wiring bf16 into their own code.
Commands show $BF16_API_KEY. Sign in to fill in your own key automatically.
- 1
One request
curl https://api.bf16.ai/v1/models -H "Authorization: Bearer $BF16_API_KEY" - 2
OpenAI SDK
Set base_url to https://api.bf16.ai/v1 and api_key to your bf16 key. Nothing else changes.
- 3
Anthropic SDK
Set base_url to https://api.bf16.ai — no /v1 — and pass the key as x-api-key or a bearer token.
How to know it worked
- The response carries a model id you recognise from /models.
Common errors
Symptom
404 from the Anthropic SDK.
Cause
The base URL carries a /v1 that the SDK then appends to.
Fix
Use https://api.bf16.ai.