How-to
Use BYOM — OpenAI
Connect your own OpenAI API key to handle codingassist.bot's LLM workloads.
Why BYOM?
- Pin token costs to your existing OpenAI billing
- Use your provisioned throughput tier
- Keep traffic in your account for compliance
Steps
Generate a scoped API key
In your OpenAI dashboard create an API key restricted to the models you'll use (e.g.
gpt-4o,gpt-4o-mini).Add the key to codingassist.bot
From Settings → BYOM click Add provider → OpenAI, paste the key. codingassist.bot encrypts it with your tenant DEK.
Bind it in your policy
providers: context: { provider: openai, model: gpt-4o-mini } intent: { provider: openai, model: gpt-4o }
Cost control
Pair this with Budget & cost control so a runaway PR can't burn through your monthly cap.
Related
Was this page helpful?