api_url in settings.json.
settings.json
eth-... key in the OpenAI provider settings (Assistant → API key) or
via the OPENAI_API_KEY variable.
The
max_tokens field here is a window guideline; the model sets the actual limits.