Setup
Set your API key as an environment variable:Usage
Available Models
Provider Options
Customize OpenAI-specific parameters:Reasoning
OpenAI reasoning models work with ai-query’s normalizedreasoning parameter:
max_tokens as the public API and maps it to the correct OpenAI request field internally.
Visible thinking output depends on what the upstream provider actually streams. For the callback-based output model, see Thinking.