Authenticate requests
Every ModelMart request requires an account API key. Send it in the standard OpenAI authorization header:
Authorization: Bearer mm_...
Store keys safely
Keep the key in a server environment variable or secret manager. Do not commit it, print it in logs, or send it from a frontend. The full key is shown only when it is created.
export MODELMART_API_KEY="mm_..." curl https://api.modelmart.ai/v1/chat/completions \ -H "Authorization: Bearer ${MODELMART_API_KEY}" \ -H "Content-Type: application/json" \ -d '{"model":"gpt-5.6-sol","messages":[{"role":"user","content":"Summarize this document"}]}'
One key, many models
The key works with https://api.modelmart.ai/v1. Choose a model in JSON with the model field; you do not need a different key for each provider.
Community access
API keys cannot call Community models by default. To use a Community listing, enable allow_community in the key configuration and acknowledge that the seller may see prompts. Do not send confidential or personal data to Community until you have assessed the seller.
Revoke a key
If a key is exposed, revoke it in the dashboard immediately and create a replacement. Do not include the old key in a support request.