Docs
AdvancedMind AI is an OpenAI-compatible gateway. Use the API key shown after checkout and set your base URL to https://api.advanced-mind.com/v1.
First request
curl https://api.advanced-mind.com/v1/chat/completions \
-H "Authorization: Bearer $AMAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "amai-glm-abliterated-v0.1",
"messages": [{"role": "user", "content": "Reply with AMAI ready."}],
"max_tokens": 64
}'
Operational notes
- Every successful response includes an
advancedmindledger with route, billing mode, cost, and request id. - Insufficient credit blocks before provider spend.
- Use
/v1/modelsfor current route metadata and pricing. - Use the Stripe Billing Portal from AMAI chat to manage payment methods and invoices.