Key capabilities
- OpenAI-compatible — Works as a drop-in replacement with the OpenAI SDK
- 1M token context — Handles massive documents and conversations with up to 66K output tokens
- Multi-modal input — Supports text, image, and video inputs
- Agentic coding — Substantially improved coding agent benchmarks
- Reasoning — Built-in thinking support via
enable_thinkingparameter - Built-in tools — Web search, code interpreter, web scraping, image search via Responses API
Quick example
Note:image_urlandvideo_urlsupport both remote URLs (https://...) and base64 data URIs (data:image/png;base64,.../data:video/mp4;base64,...). Image tokens and video tokens are counted inusage.prompt_tokens_details.
Parameters
API Reference
View the interactive API playground for Qwen3.6-Flash.