https://api.lumenfall.ai/openai/v1.
Base URL
Authentication
All API requests require a Bearer token in theAuthorization header:
Request format
All requests should include:Content-Type: application/jsonheader- JSON request body (for POST requests)
Response format
All responses follow the OpenAI response format. Successful responses return JSON with the requested data. Error responses include anerror object:
Error codes
| Code | HTTP Status | Description |
|---|---|---|
AUTHENTICATION_FAILED | 401 | Invalid or missing API key |
INSUFFICIENT_BALANCE | 402 | Account balance too low (prepaid accounts) |
INVALID_REQUEST | 400 | Malformed request or invalid parameters |
MODEL_NOT_FOUND | 404 | Requested model does not exist |
MODEL_DISABLED | 404 | Model is currently disabled |
RATE_LIMITED | 429 | Too many requests |
ALL_PROVIDERS_EXHAUSTED | 502 | All providers failed to handle the request |
UPSTREAM_ERROR | varies | A provider returned an error |
Rate limits
Lumenfall does not impose strict per-request rate limits. Your usage is governed by your account balance - requests are processed as long as you have sufficient credits. For prepaid accounts, ensure you have enough balance or enable auto top-up to avoid interruptions.Dry run mode
Add?dryRun=true to any request to get a cost estimate without executing it. See Cost estimation for details and response format.