Quickstart
From zero to your first real API call in a few minutes.
Sign in to start the quickstart.
Your trial credit
New accounts get bonus credit to spend on trial models. Recharge anytime to unlock paid models.
1. Create an API key
…
Create your first key to authenticate requests.
2. Copy an example
Send your key in the Authorization header. Replace the placeholder — never paste a real key into shared files.
Base URL
https://api.mafdet.ai/v1Model
gemini-3-flash-litecurl https://api.mafdet.ai/v1/chat/completions \
-H "Authorization: Bearer <YOUR_MAFDET_API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3-flash-lite",
"messages": [{"role": "user", "content": "Hello from Mafdet AI"}]
}'3. Make your first call
…
The key stays in page memory and is sent to the Mafdet AI API gateway to authenticate this request. Reload or leave the page to clear it.
4. View your usage
Every call is metered. Check tokens, cost, and history.