Architecture
AtlasFlux acts as a unified gateway between your application and AI models.- You send a request to
https://api.atlasflux.my - AtlasFlux classifies the request type and complexity
- The router selects the optimal upstream model
- The request is forwarded to the provider
- The response is normalized and returned to you
What AtlasFlux handles
- Model selection — Automatically picks the best model for your task
- Fallback — If a model fails, the request is retried with another model
- Pricing — Unified pricing across all models in MYR
- Web search — Built-in web search with configurable depth
- Usage tracking — Every request is logged with token counts and cost
- Wallet billing — Prepaid balance deducted per request
Public model
All users access a single model identifier:Request flow
- Authentication — Verify your API key
- Validation — Validate request body and parameters
- Reservation — Reserve estimated cost from your wallet
- Routing — Classify request and select model
- Execution — Request is processed by the selected model
- Settlement — Deduct actual cost and release unused reservation
- Response — Return normalized response with usage data