Hi {recipient_email},
+Monthly Budget: {key_budget}
+Action Required
+Update your applications and systems with the new API key. Here's an example:
+ ++
+client = openai.OpenAI(
+ api_key="{key_token}",
+ base_url="{base_url}"
+)
+
+response = client.chat.completions.create(
+ model="gpt-3.5-turbo", # model to send to the proxy
+ messages = [
+ {{
+ "role": "user",
+ "content": "this is a test request, write a short poem"
+ }}
+ ]
+) +
Security Best Practices
+To keep your API key secure:
+-
+
- Never share your API key publicly or commit it to version control +
- Store it securely using environment variables or secret management systems +
- Monitor your API usage regularly for any unusual activity +
- Rotate your keys periodically as a security best practice +
Need Help?
+If you have any questions or need assistance updating your systems, please contact us at {email_support_contact}.
+