- Text input: Text input
- Image input: Image input
- Streaming: Streaming
- Web search: Web search
- Deep research: For complex analysis and research tasks
- Reasoning: Reasoning depth control, supports 4 levels (minimal / low / medium /high). Only the gpt-5 series supports
minimal
. - Verbosity: Output length, gpt-5 series supports 3 levels (low / medium /high)
- Functions: Functions
- image_generation tool usage: Image drawing and generation are billed under
gpt-image-1
. - Code Interpreter: Allow models to write and run Python to solve problems. reasoning.effort ‘minimal’ is not supported while using code interpreter with gpt-5.
- Remote MCP: Calling a remote MCP server
- Computer Use: Computer Use
Usage (Python call):
Same as the official OpenAI call method, just replaceapi_key
and base_url
for forwarding.
Mainland China can access directly.
- For inference models, the output inference summary can be controlled using the following parameter, with the detail richness of the summary ranked as detailed > auto > None, where auto provides the best balance.
- Optional deep reasoning models: o3-deep-research and o4-mini-deep-research, only supported on the responses endpoint.
- The gpt-5 series focuses on stable reasoning and consistent outputs, and no longer supports the
temperature
andtop_p
parameters for controlling randomness. If you need more freedom, you can trygpt-5-chat-latest
, which supportstemperature
. - Reasoning models (o series / gpt-5 series) have deprecated max_tokens. Please use
max_completion_tokens
for completions ormax_output_tokens
for responses to explicitly set the output token limit.
- The latest
codex-mini-latest
does not support search. - The Computer use feature requires integration with Playwright. It’s recommended to refer to the official repository.
- Use cases are complex to invoke
- Takes many screenshots, which is time-consuming and often unreliable
- May trigger CAPTCHA or Cloudflare human verification, potentially leading to infinite loops