keys = ["key_1", "key_2", "key_3"] for key in keys: try: response = query_orion(key, prompt) break except RateLimitError: continue Orion allows fine-tuning of base models. Your API Key must have admin privileges to upload training data and create custom model IDs.
| Feature | Orion | OpenAI | Anthropic | | :--- | :--- | :--- | :--- | | | Instant, per-project | Instant, per-user | Instant, per-organization | | IP Restriction | Yes (Standard) | Enterprise only | No | | Key Expiration | Optional (Set days) | No | No | | Usage Tracking per Key | Granular (per key dashboard) | Aggregate only | Aggregate only | | Cost per 1M tokens | $0.30 / $1.00 (in/out) | $0.50 / $1.50 | $0.80 / $2.40 | Orion Api Key
A: In the API Keys dashboard, click the "Revoke" or trash icon next to the key. Once revoked, all requests using that key will immediately return a 401 error. keys = ["key_1", "key_2", "key_3"] for key in
curl https://api.orion.ai/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_ORION_API_KEY_HERE" \ -d ' "model": "orion-2.0", "messages": ["role": "user", "content": "What is the capital of France?"] ' Orion offers an official Python SDK. Install it via pip: Once revoked, all requests using that key will
A: Yes. Organization owners can generate distinct keys for each team member, then monitor usage per key. This is excellent for cost allocation. Conclusion: Mastering the Orion API Key The Orion API Key is more than just a string of characters—it is the gateway to scalable, affordable, and private AI integration. By following the security best practices outlined above and leveraging the code examples, you can deploy Orion’s models in production with confidence.