> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anyfast.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# qwen3.6-plus

> Creates a response from Qwen3.6-Plus. The model accepts text, image, and video content and supports function calling and structured output.



## OpenAPI

````yaml api-reference/model-api/alibaba/openapi/qwen3.6-plus/openapi.yaml POST /v1/chat/completions
openapi: 3.1.0
info:
  title: Qwen3.6-Plus
  description: >-
    Qwen3.6-Plus multimodal model via Alibaba through AnyFast's
    OpenAI-compatible API
  version: 1.0.0
servers:
  - url: https://www.anyfast.ai
security:
  - bearerAuth: []
paths:
  /v1/chat/completions:
    post:
      summary: Chat Completion
      description: >-
        Creates a response from Qwen3.6-Plus. The model accepts text, image, and
        video content and supports function calling and structured output.
      operationId: createChatCompletionQwen36Plus
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChatCompletionRequest'
            examples:
              text:
                summary: Text request
                value:
                  model: qwen3.6-plus
                  messages:
                    - role: user
                      content: Explain how a solar eclipse happens.
                  temperature: 1
                  max_completion_tokens: 1024
              multimodal:
                summary: Image and video request
                value:
                  model: qwen3.6-plus
                  messages:
                    - role: user
                      content:
                        - type: text
                          text: Compare these inputs.
                        - type: image_url
                          image_url:
                            url: https://example.com/reference.jpg
                        - type: video_url
                          video_url:
                            url: https://example.com/sample.mp4
                  max_completion_tokens: 1024
              tool:
                summary: Function calling request
                value:
                  model: qwen3.6-plus
                  messages:
                    - role: user
                      content: What is the weather in Singapore?
                  tools:
                    - type: function
                      function:
                        name: get_weather
                        description: Get the current weather for a city.
                        parameters:
                          type: object
                          properties:
                            city:
                              type: string
                          required:
                            - city
                  enable_thinking: false
      responses:
        '200':
          description: >-
            Completion generated successfully. The response is a complete
            completion when stream is false, or a completion chunk when stream
            is true.
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/ChatCompletion'
                  - $ref: '#/components/schemas/ChatCompletionChunk'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    ChatCompletionRequest:
      type: object
      required:
        - model
        - messages
      properties:
        model:
          type: string
          enum:
            - qwen3.6-plus
          description: AnyFast model ID.
          example: qwen3.6-plus
        messages:
          type: array
          minItems: 1
          description: >-
            Conversation messages. Content may be text or an array of text,
            image, and video parts.
          items:
            $ref: '#/components/schemas/Message'
        max_completion_tokens:
          type: integer
          minimum: 1
          maximum: 65536
          default: 65536
          description: >-
            Maximum number of generated tokens. Qwen3.6-Plus supports up to 64K
            output tokens.
        temperature:
          type: number
          minimum: 0
          maximum: 2
          exclusiveMaximum: true
          default: 1
          description: >-
            Sampling temperature. Valid range is [0, 2). Set only one of
            temperature and top_p.
          example: 1
        top_p:
          type: number
          exclusiveMinimum: true
          minimum: 0
          maximum: 1
          description: >-
            Nucleus sampling probability. Valid range is (0, 1]. Set only one of
            temperature and top_p.
        stream:
          type: boolean
          default: false
          description: If true, stream partial message deltas using Server-Sent Events.
        stream_options:
          type: object
          description: Options for streaming responses. Only relevant when stream is true.
          properties:
            include_usage:
              type: boolean
              default: false
              description: Include token usage in the final stream chunk when true.
        stop:
          type: array
          items:
            type: string
          description: >-
            An array of stop sequences. The string form is not supported by the
            current AnyFast endpoint.
        seed:
          type: integer
          minimum: 0
          maximum: 2147483647
          description: Seed for more repeatable sampling.
        presence_penalty:
          type: number
          minimum: -2
          maximum: 2
          default: 0
          description: >-
            Penalizes new tokens based on whether they appear in the text so
            far.
        frequency_penalty:
          type: number
          minimum: -2
          maximum: 2
          default: 0
          description: >-
            Penalizes repeated tokens based on their frequency in the text so
            far.
        enable_thinking:
          type: boolean
          description: >-
            Controls reasoning mode. With the OpenAI SDK, pass this provider
            field through extra_body. Use non-thinking mode for workflows that
            require structured output or tool calling when required by the
            upstream model.
        tools:
          type: array
          description: Application-defined functions or supported tools the model may call.
          items:
            $ref: '#/components/schemas/Tool'
        tool_choice:
          oneOf:
            - type: string
              enum:
                - none
                - auto
                - required
            - type: object
              required:
                - type
                - function
              properties:
                type:
                  type: string
                  enum:
                    - function
                function:
                  type: object
                  required:
                    - name
                  properties:
                    name:
                      type: string
          description: Controls whether the model calls tools or selects a function.
        response_format:
          type: object
          description: >-
            Structured output configuration. Use non-thinking mode when required
            by the upstream model.
          properties:
            type:
              type: string
              enum:
                - text
                - json_object
                - json_schema
            json_schema:
              type: object
              description: JSON Schema configuration when type is json_schema.
              properties:
                name:
                  type: string
                strict:
                  type: boolean
                schema:
                  type: object
                  additionalProperties: true
    ChatCompletion:
      type: object
      required:
        - id
        - object
        - created
        - model
        - choices
      properties:
        id:
          type: string
          example: chatcmpl-abc123
        object:
          type: string
          enum:
            - chat.completion
        created:
          type: integer
          description: Unix timestamp.
        model:
          type: string
          example: qwen3.6-plus
        choices:
          type: array
          items:
            $ref: '#/components/schemas/CompletionChoice'
        usage:
          $ref: '#/components/schemas/Usage'
    ChatCompletionChunk:
      type: object
      required:
        - id
        - object
        - created
        - model
        - choices
      properties:
        id:
          type: string
        object:
          type: string
          enum:
            - chat.completion.chunk
        created:
          type: integer
        model:
          type: string
          example: qwen3.6-plus
        choices:
          type: array
          items:
            type: object
            properties:
              index:
                type: integer
              delta:
                $ref: '#/components/schemas/Delta'
              finish_reason:
                type: string
                nullable: true
                enum:
                  - stop
                  - length
                  - tool_calls
                  - content_filter
                  - null
        usage:
          nullable: true
          allOf:
            - $ref: '#/components/schemas/Usage'
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
    Message:
      type: object
      required:
        - role
      properties:
        role:
          type: string
          enum:
            - system
            - user
            - assistant
            - tool
        content:
          nullable: true
          oneOf:
            - type: string
            - type: array
              items:
                $ref: '#/components/schemas/ContentPart'
        name:
          type: string
        tool_call_id:
          type: string
        tool_calls:
          type: array
          items:
            $ref: '#/components/schemas/ToolCall'
    Tool:
      type: object
      required:
        - type
        - function
      properties:
        type:
          type: string
          enum:
            - function
        function:
          type: object
          required:
            - name
          properties:
            name:
              type: string
            description:
              type: string
            parameters:
              type: object
              additionalProperties: true
            strict:
              type: boolean
    CompletionChoice:
      type: object
      properties:
        index:
          type: integer
        message:
          $ref: '#/components/schemas/AssistantMessage'
        finish_reason:
          type: string
          nullable: true
          enum:
            - stop
            - length
            - tool_calls
            - content_filter
            - null
    Usage:
      type: object
      properties:
        prompt_tokens:
          type: integer
        completion_tokens:
          type: integer
        total_tokens:
          type: integer
        prompt_tokens_details:
          type: object
          properties:
            cached_tokens:
              type: integer
            text_tokens:
              type: integer
            image_tokens:
              type: integer
            video_tokens:
              type: integer
    Delta:
      type: object
      properties:
        role:
          type: string
          enum:
            - assistant
        content:
          type: string
          nullable: true
        reasoning_content:
          type: string
          nullable: true
        tool_calls:
          type: array
          items:
            type: object
            properties:
              index:
                type: integer
              id:
                type: string
              type:
                type: string
                enum:
                  - function
              function:
                type: object
                properties:
                  name:
                    type: string
                  arguments:
                    type: string
    ContentPart:
      oneOf:
        - type: object
          required:
            - type
            - text
          properties:
            type:
              type: string
              enum:
                - text
            text:
              type: string
        - type: object
          required:
            - type
            - image_url
          properties:
            type:
              type: string
              enum:
                - image_url
            image_url:
              type: object
              required:
                - url
              properties:
                url:
                  type: string
                  description: HTTPS image URL or base64 data URI.
        - type: object
          required:
            - type
            - video_url
          properties:
            type:
              type: string
              enum:
                - video_url
            video_url:
              type: object
              required:
                - url
              properties:
                url:
                  type: string
                  description: HTTPS video URL or base64 data URI.
    ToolCall:
      type: object
      required:
        - id
        - type
        - function
      properties:
        id:
          type: string
        type:
          type: string
          enum:
            - function
        function:
          type: object
          required:
            - name
            - arguments
          properties:
            name:
              type: string
            arguments:
              type: string
    AssistantMessage:
      type: object
      properties:
        role:
          type: string
          enum:
            - assistant
        content:
          type: string
          nullable: true
        reasoning_content:
          type: string
          nullable: true
          description: Reasoning content when thinking mode is enabled.
        tool_calls:
          type: array
          items:
            $ref: '#/components/schemas/ToolCall'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````