Prerequisites
- An AtlasFlux Developer Account
- An API key (create one in the Dashboard)
- Wallet credit loaded
1. Set your API key
Store your API key as an environment variable. Never hardcode it in source code.2. Make your first request
3. Read the response
A successful response includes:output_text— The model’s text responseusage— Token counts and costrouting— Which routing category was used
4. Check your usage
View your usage and balance in the Developer Dashboard.Next Steps
- Streaming — Get real-time token-by-token output
- Web Search — Add web search to any request
- Error Handling — Handle errors gracefully