Blog
Articles, tutorials and practical guides
integration · 2026-09-28
Connect the OpenAI Python SDK to RelayAI
Set your API key and base URL, inspect the models available to that key, and then make a small compatibility request.
troubleshooting · 2026-09-28
Troubleshoot API 401, 403 and 429 responses
Use the response code to separate authentication, model authorization and rate-limit problems before retrying.
integration · 2026-09-28
Streaming, timeouts and retries in an API client
Streaming helps users see output sooner, while connection, reading and retry failures need separate handling.
pricing · 2026-09-28
How input, output and cached usage affect API cost
Check each model's billing units and current prices before estimating cost from its usage fields.
governance · 2026-09-28
Manage team API keys and budgets by project
Give each project or agent a distinct key, define model access and budgets, and review usage against the owner.
enterprise · 2026-09-28
Shared model API or dedicated deployment: an enterprise checklist
Compare access, data boundaries, utilization, total cost and operations before selecting an enterprise model deployment route.