Docs/Customers
Billing and accountCustomers
Attribute calls to your end customers with one header, set per customer limits and manage customers with a provisioning key.
Send X-Utopixel-Customer: <your user id> to attribute a call to one of your end customers. The charge still comes from your workspace wallet. The request is recorded against the customer and checked against the customer's limits (lifetime, monthly, daily).
terminalshell
1curl https://utopixel.online/api/v1/chat/completions \2 -H "Authorization: Bearer $UTOPIXEL_API_KEY" \3 -H "X-Utopixel-Customer: acme-user-42" \4 -H "Content-Type: application/json" \5 -d '{"model": "deepseek/deepseek-v4.1-flash", "messages": [{"role": "user", "content": "Hi"}]}'
Unknown customers are created automatically unless you turn that off in Settings. Then the call fails with customer_not_found. With a provisioning key you can manage customers through /api/v1/customers: set limits, disable a customer, read their usage, and in prepaid mode move credits into a customer wallet with POST /customers/{external_id}/transfer.