Use your own API keys for AI or proxies
ai
option in any request. You will need to specify two fields: model
and apiKey
.
Below is an example that uses your API key for OpenAI.
openai:
gemini:
openrouter:
proxy
option in any request. We support HTTP proxies and CDP proxies.
To use your own API key for proxies, set the tier
field to byok
, and pass in either HTTP or CDP proxy credentials.
To pass in HTTP proxy credentials, use the server
, username
, and password
fields, like the example below.
cdp
field and set it to the connection endpoint, like the example below.