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

# MiniMax-M3.1-Flash - OpenAI-Compatible API

> - Call MiniMax-M3.1-Flash using the OpenAI Chat Completions protocol
- **Conversations**: single-turn and multi-turn conversations
- **System prompts**: set the assistant's role and behavior with `role=system`
- **Multimodal input**: combine text, images, and video in `content`
- **Reasoning**: always enabled; adjust depth with `reasoning_effort`. Reasoning is returned in `reasoning_content`; `content` contains only the final answer
- **Streaming**: SSE responses
- **Tool calling**: Function Calling

**Streaming responses**: With `stream=true`, each SSE message uses the format `data: {JSON}`, followed by `data: [DONE]` at the end. `choices[].delta` returns incremental `reasoning_content`, then `content` / `tool_calls`. Set `stream_options.include_usage=true` to receive an additional chunk containing `usage` before the stream ends.

<Note>
  **BaseURL**: The default BaseURL is `https://direct.evolink.ai`, which has better support for text models and long-lived connections. `https://api.evolink.ai` is the primary endpoint for multimodal services and serves as a fallback address for text models.
</Note>


## OpenAPI

````yaml en/api-manual/language-series/minimax-m3.1-flash/minimax-m3.1-flash-chat.json POST /v1/chat/completions
openapi: 3.1.0
info:
  title: MiniMax-M3.1-Flash API Reference (OpenAI Compatible)
  description: >-
    Complete API reference for MiniMax-M3.1-Flash chat completions.


    **Model capabilities**:

    - Context window: **1,000,000 tokens** (1M)

    - Maximum output: **524,288 tokens** (512K); **131,072 tokens** (128K)
    recommended, including reasoning tokens

    - Reasoning: always enabled; adjust depth with `reasoning_effort`, which
    defaults to `max`

    - Multimodal input: text, images, and video

    - Tool calling: Function Calling

    - Context caching: matching prefixes are cached automatically; cached tokens
    are reported in `usage.prompt_tokens_details.cached_tokens`

    - Streaming: SSE responses


    For multi-turn conversations, include the complete assistant message from
    the previous turn in `messages`, preserving `reasoning_content` and
    `tool_calls`.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://direct.evolink.ai
    description: Production (Recommended)
  - url: https://api.evolink.ai
    description: Alternative URL
security:
  - bearerAuth: []
tags:
  - name: Chat Completion
    description: AI chat completion related endpoints
paths:
  /v1/chat/completions:
    post:
      tags:
        - Chat Completion
      summary: MiniMax-M3.1-Flash Chat Completions (OpenAI Compatible)
      description: >-
        - Call MiniMax-M3.1-Flash using the OpenAI Chat Completions protocol

        - **Conversations**: single-turn and multi-turn conversations

        - **System prompts**: set the assistant's role and behavior with
        `role=system`

        - **Multimodal input**: combine text, images, and video in `content`

        - **Reasoning**: always enabled; adjust depth with `reasoning_effort`.
        Reasoning is returned in `reasoning_content`; `content` contains only
        the final answer

        - **Streaming**: SSE responses

        - **Tool calling**: Function Calling


        **Streaming responses**: With `stream=true`, each SSE message uses the
        format `data: {JSON}`, followed by `data: [DONE]` at the end.
        `choices[].delta` returns incremental `reasoning_content`, then
        `content` / `tool_calls`. Set `stream_options.include_usage=true` to
        receive an additional chunk containing `usage` before the stream ends.
      operationId: createChatCompletionMiniMaxM31Flash
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChatCompletionRequest'
            examples:
              simple_text:
                summary: Single-turn text conversation
                value:
                  model: MiniMax-M3.1-Flash
                  messages:
                    - role: user
                      content: Please introduce yourself.
                  max_completion_tokens: 131072
              multi_turn:
                summary: Multi-turn conversation (context understanding)
                value:
                  model: MiniMax-M3.1-Flash
                  messages:
                    - role: user
                      content: What is Python?
                    - role: assistant
                      content: Python is a high-level programming language.
                    - role: user
                      content: What are its main advantages?
                  max_completion_tokens: 131072
              system_prompt:
                summary: Using system prompts
                value:
                  model: MiniMax-M3.1-Flash
                  messages:
                    - role: system
                      content: >-
                        You are a Python programming assistant. Keep your
                        answers concise.
                    - role: user
                      content: How do I read a file?
                  max_completion_tokens: 131072
              reasoning_effort:
                summary: Adjust reasoning depth
                value:
                  model: MiniMax-M3.1-Flash
                  reasoning_effort: high
                  messages:
                    - role: user
                      content: >-
                        A bat and a ball cost 1.10 in total. The bat costs 1.00
                        more than the ball. How much does the ball cost?
                  max_completion_tokens: 131072
              image_understanding:
                summary: Image understanding (multimodal input)
                value:
                  model: MiniMax-M3.1-Flash
                  messages:
                    - role: user
                      content:
                        - type: text
                          text: What is shown in this image?
                        - type: image_url
                          image_url:
                            url: https://example.com/image.jpeg
                            detail: default
                  max_completion_tokens: 131072
              video_understanding:
                summary: Video understanding (multimodal input)
                value:
                  model: MiniMax-M3.1-Flash
                  messages:
                    - role: user
                      content:
                        - type: text
                          text: Summarize this video.
                        - type: video_url
                          video_url:
                            url: https://example.com/video.mp4
                            fps: 1
                            detail: default
                  max_completion_tokens: 131072
              tool_calling:
                summary: Function Calling (tool invocation)
                value:
                  model: MiniMax-M3.1-Flash
                  messages:
                    - role: user
                      content: Check the stock for product demo-item-001.
                  tools:
                    - type: function
                      function:
                        name: get_product_stock
                        description: Get the current stock level for a product.
                        parameters:
                          type: object
                          properties:
                            product_id:
                              type: string
                              description: Product identifier.
                          required:
                            - product_id
                  max_completion_tokens: 131072
              streaming:
                summary: Streaming output
                value:
                  model: MiniMax-M3.1-Flash
                  stream: true
                  stream_options:
                    include_usage: true
                  messages:
                    - role: user
                      content: Write a short poem about spring.
                  max_completion_tokens: 131072
      responses:
        '200':
          description: Conversation generated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChatCompletionResponse'
              examples:
                with_thinking:
                  summary: Response with reasoning
                  value:
                    id: 072514edea627212c7e226a55bcf4e2e
                    choices:
                      - finish_reason: stop
                        index: 0
                        message:
                          content: '0.05'
                          role: assistant
                          name: MiniMax AI
                          audio_content: ''
                          reasoning_content: >-
                            Let the ball cost x. Then 2x + 1 = 1.10, so x =
                            0.05.
                    created: 1792401901
                    model: MiniMax-M3.1-Flash
                    object: chat.completion
                    usage:
                      total_tokens: 281
                      total_characters: 0
                      prompt_tokens: 229
                      completion_tokens: 52
                      completion_tokens_details:
                        reasoning_tokens: 49
                      prompt_tokens_details:
                        cached_tokens: 187
                    input_sensitive: false
                    output_sensitive: false
                    input_sensitive_type: 0
                    output_sensitive_type: 0
                    output_sensitive_int: 0
                    base_resp:
                      status_code: 0
                      status_msg: ''
                direct_answer:
                  summary: Direct answer without reasoning content
                  value:
                    id: 072514cc3cee91b3222f36a2a386128f
                    choices:
                      - finish_reason: stop
                        index: 0
                        message:
                          content: >-
                            Recursion is a technique in which a function calls
                            itself to solve smaller instances of a problem.
                          role: assistant
                          name: MiniMax AI
                          audio_content: ''
                    created: 1792401868
                    model: MiniMax-M3.1-Flash
                    object: chat.completion
                    usage:
                      total_tokens: 219
                      total_characters: 0
                      prompt_tokens: 208
                      completion_tokens: 11
                      prompt_tokens_details:
                        cached_tokens: 58
                    input_sensitive: false
                    output_sensitive: false
                    input_sensitive_type: 0
                    output_sensitive_type: 0
                    output_sensitive_int: 0
                    base_resp:
                      status_code: 0
                      status_msg: ''
                tool_calls:
                  summary: Tool call triggered (finish_reason=tool_calls)
                  value:
                    id: 072514ce0ad459c5ac53494746f66488
                    choices:
                      - finish_reason: tool_calls
                        index: 0
                        message:
                          content: I'll check the stock for product demo-item-001.
                          role: assistant
                          name: MiniMax AI
                          tool_calls:
                            - id: call_function_fr79bzcw7n6k_1
                              type: function
                              function:
                                name: get_product_stock
                                arguments: '{"product_id": "demo-item-001"}'
                              index: 0
                          audio_content: ''
                    created: 1792401870
                    model: MiniMax-M3.1-Flash
                    object: chat.completion
                    usage:
                      total_tokens: 483
                      total_characters: 0
                      prompt_tokens: 446
                      completion_tokens: 37
                      prompt_tokens_details:
                        cached_tokens: 227
                    input_sensitive: false
                    output_sensitive: false
                    input_sensitive_type: 0
                    output_sensitive_type: 0
                    output_sensitive_int: 0
                    base_resp:
                      status_code: 0
                      status_msg: ''
                length:
                  summary: Output limit reached (finish_reason=length)
                  value:
                    id: 072513cf5d12aa74e53c700e4e1edf9e
                    choices:
                      - finish_reason: length
                        index: 0
                        message:
                          content: ''
                          role: assistant
                          name: MiniMax AI
                          audio_content: ''
                          reasoning_content: I need to explain the process step by step.
                    created: 1792401615
                    model: MiniMax-M3.1-Flash
                    object: chat.completion
                    usage:
                      total_tokens: 219
                      total_characters: 0
                      prompt_tokens: 211
                      completion_tokens: 8
                      completion_tokens_details:
                        reasoning_tokens: 8
                      prompt_tokens_details:
                        cached_tokens: 184
                    input_sensitive: false
                    output_sensitive: false
                    input_sensitive_type: 0
                    output_sensitive_type: 0
                    output_sensitive_int: 0
                    base_resp:
                      status_code: 0
                      status_msg: ''
        '400':
          description: Invalid request parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  message: Invalid request parameters
                  type: invalid_request_error
                  param: ''
                  code: null
        '401':
          description: Unauthenticated, invalid or expired token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 401
                  message: Invalid or expired token
                  type: authentication_error
        '402':
          description: Insufficient quota, recharge required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 402
                  message: Insufficient quota
                  type: insufficient_quota_error
        '403':
          description: Access denied for this model
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 403
                  message: Access denied for this model
                  type: permission_error
                  param: model
        '404':
          description: Resource not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 404
                  message: Specified model not found
                  type: not_found_error
                  param: model
        '413':
          description: Request body too large
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 413
                  message: Request body too large
                  type: request_too_large_error
                  param: messages
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 429
                  message: Rate limit exceeded
                  type: rate_limit_error
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 500
                  message: Internal server error
                  type: internal_server_error
        '502':
          description: Bad gateway
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 502
                  message: Bad gateway
                  type: bad_gateway_error
        '503':
          description: Service temporarily unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: 503
                  message: Service temporarily unavailable
                  type: service_unavailable_error
components:
  schemas:
    ChatCompletionRequest:
      type: object
      required:
        - model
        - messages
      properties:
        model:
          type: string
          description: Chat model name
          enum:
            - MiniMax-M3.1-Flash
          example: MiniMax-M3.1-Flash
        messages:
          type: array
          description: >-
            List of conversation messages, supports multi-turn dialogue


            Messages with different roles have different field structures;
            select the corresponding role to view
          items:
            oneOf:
              - $ref: '#/components/schemas/SystemMessage'
              - $ref: '#/components/schemas/UserMessage'
              - $ref: '#/components/schemas/AssistantRequestMessage'
              - $ref: '#/components/schemas/ToolMessage'
            discriminator:
              propertyName: role
              mapping:
                system: '#/components/schemas/SystemMessage'
                user: '#/components/schemas/UserMessage'
                assistant: '#/components/schemas/AssistantRequestMessage'
                tool: '#/components/schemas/ToolMessage'
          minItems: 1
        reasoning_effort:
          type: string
          description: >-
            Reasoning depth. Defaults to `max`. Higher levels typically increase
            reasoning token usage and response time.
          enum:
            - low
            - medium
            - high
            - xhigh
            - max
          default: max
          example: high
        thinking:
          type: object
          description: >-
            Reasoning mode. MiniMax-M3.1-Flash always uses reasoning. Only
            `adaptive` is supported; this field may be omitted.
          properties:
            type:
              type: string
              enum:
                - adaptive
              default: adaptive
        reasoning_split:
          type: boolean
          description: >-
            Return reasoning separately. Only `true` is supported. Reasoning is
            returned in `reasoning_content`; this field may be omitted.
          enum:
            - true
          default: true
        temperature:
          type: number
          description: >-
            Sampling temperature controls output randomness.


            - Range: `[0, 2]`; default: 1

            - Lower values produce more deterministic output; higher values
            produce more varied output


            Adjust either `temperature` or `top_p`, rather than both.
          minimum: 0
          maximum: 2
          default: 1
          example: 1
        top_p:
          type: number
          description: >-
            Nucleus sampling threshold.


            - Samples from tokens whose cumulative probability reaches this
            threshold

            - For example, 0.95 samples from tokens accounting for 95% of the
            probability mass

            - Range: `[0, 1]`; default: 0.95


            Adjust either `temperature` or `top_p`, rather than both.
          minimum: 0
          maximum: 1
          default: 0.95
          example: 0.95
        max_completion_tokens:
          type: integer
          description: >-
            Maximum number of generated tokens, **including reasoning and the
            final answer**.


            - Recommended: **131,072** (128K); maximum: **524,288** (512K)

            - A small budget may be exhausted during reasoning, resulting in
            `finish_reason=length` and an empty `content` field
          minimum: 1
          maximum: 524288
          example: 131072
        stream:
          type: boolean
          description: >-
            Whether to return the response in streaming mode


            - `true`: Streaming response, returns content in real-time chunks
            via SSE (Server-Sent Events)

            - `false`: Wait for complete response before returning (default)
          default: false
          example: false
        stream_options:
          type: object
          description: |-
            Streaming response options

            Only effective when `stream=true`
          properties:
            include_usage:
              type: boolean
              description: >-
                Include an additional chunk containing only `usage` statistics
                before the stream ends.
        tools:
          type: array
          description: |-
            Tool definition list for Function Calling

            Each tool requires a name, description, and parameter schema
          items:
            $ref: '#/components/schemas/Tool'
        tool_choice:
          type: string
          description: >-
            Tool selection strategy. Only `auto` is supported; the model decides
            whether to call a tool.
          enum:
            - auto
          default: auto
        max_tokens:
          type: integer
          description: |-
            Legacy generation length limit parameter

            **Note**: Deprecated, please use `max_completion_tokens` instead
          deprecated: true
          minimum: 1
        'n':
          type: integer
          description: Number of responses to generate. Only `1` is supported.
          enum:
            - 1
          default: 1
    ChatCompletionResponse:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the chat completion
          example: 0668a381bdc3c0ded310e27c9a46d16e7
        model:
          type: string
          description: Model name actually used
          example: MiniMax-M3.1-Flash
        object:
          type: string
          enum:
            - chat.completion
          description: Response type
          example: chat.completion
        created:
          type: integer
          description: Creation timestamp (Unix seconds)
          example: 1777026807
        choices:
          type: array
          description: List of chat completion choices
          items:
            $ref: '#/components/schemas/Choice'
        usage:
          $ref: '#/components/schemas/Usage'
        input_sensitive:
          type: boolean
          description: >-
            Whether the input content triggered a sensitive word filter. If the
            input severely violates policies, the API will return a content
            violation error with empty response content
        input_sensitive_type:
          type: integer
          description: >-
            Type of sensitive word triggered by input (returned when
            `input_sensitive` is true): 1 severe violation; 2 pornography; 3
            advertising; 4 prohibited content; 5 abusive language; 6
            violence/terrorism; 7 other
        output_sensitive:
          type: boolean
          description: Whether the output content triggered a sensitive word filter
        output_sensitive_type:
          type: integer
          description: Type of sensitive word triggered by output
        base_resp:
          type: object
          description: Status code and error details
          properties:
            status_code:
              type: integer
              description: >-
                Status code. `0` indicates success; other codes include `1002`
                for rate limiting, `1008` for insufficient balance, `1039` for
                token limit exceeded, `2013` for parameter error, etc.
            status_msg:
              type: string
              description: Error details
        output_sensitive_int:
          type: integer
          description: Numeric identifier for the output content sensitivity category.
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type:
                - integer
                - string
                - 'null'
              description: HTTP status error code
            message:
              type: string
              description: Error description
            type:
              type: string
              description: Error type
            param:
              type: string
              description: Name of the related parameter
    SystemMessage:
      title: System Message
      type: object
      required:
        - role
        - content
      properties:
        role:
          type: string
          enum:
            - system
          description: Role identifier, fixed as `system`
        content:
          type: string
          description: System prompt content, used to set the AI's role and behavior
        name:
          type: string
          description: >-
            Participant name, used to distinguish different system prompt
            sources
    UserMessage:
      title: User Message
      type: object
      required:
        - role
        - content
      properties:
        role:
          type: string
          enum:
            - user
          description: Role identifier, fixed as `user`
        content:
          description: >-
            User message content.


            - Use a string for plain text

            - Use an array of content parts for multimodal input: `text`,
            `image_url`, or `video_url`

            - Maximum request body size: 64 MB
          oneOf:
            - type: string
            - type: array
              items:
                $ref: '#/components/schemas/ContentPart'
        name:
          type: string
          description: Participant name, used to distinguish different users
    AssistantRequestMessage:
      title: Assistant Message
      type: object
      required:
        - role
      properties:
        role:
          type: string
          enum:
            - assistant
          description: Role identifier, fixed as `assistant`
        content:
          type:
            - string
            - 'null'
          description: >-
            Assistant message content


            **Notes**:

            - Used to pass historical assistant replies in multi-turn
            conversations

            - Can be `null` when `tool_calls` is present
        reasoning_content:
          type: string
          description: >-
            Reasoning content from the previous turn. Preserve it when sending
            conversation history.
        name:
          type: string
          description: Participant name
        tool_calls:
          type: array
          description: >-
            Tool call list


            Used to pass historical tool call information in multi-turn
            conversations
          items:
            type: object
            properties:
              id:
                type: string
                description: Unique identifier for the tool call
              type:
                type: string
                enum:
                  - function
              function:
                type: object
                properties:
                  name:
                    type: string
                    description: Name of the called function
                  arguments:
                    type: string
                    description: Function arguments (JSON string)
    ToolMessage:
      title: Tool Message
      type: object
      required:
        - role
        - content
        - tool_call_id
      properties:
        role:
          type: string
          enum:
            - tool
          description: Role identifier, fixed as `tool`
        content:
          type: string
          description: Content of the tool call result
        tool_call_id:
          type: string
          description: >-
            Tool call ID


            Corresponds to the `id` field returned in `tool_calls` of the
            assistant message
    Tool:
      type: object
      required:
        - type
        - function
      properties:
        type:
          type: string
          enum:
            - function
          description: Tool type, currently only `function` is supported
        function:
          type: object
          required:
            - name
            - parameters
          properties:
            name:
              type: string
              description: >-
                Name of the function to call


                **Notes**:

                - Must consist of a-z, A-Z, 0-9 characters, or include
                underscores and hyphens

                - Maximum length is 64 characters
            description:
              type: string
              description: >-
                Function description, helps the model understand when and how to
                call this function
            parameters:
              type: object
              description: Function input parameters, described as a JSON Schema object
    Choice:
      type: object
      properties:
        index:
          type: integer
          description: Choice index
          example: 0
        message:
          $ref: '#/components/schemas/AssistantMessage'
        finish_reason:
          type: string
          description: |-
            Finish reason

            - `stop`: Natural completion or stop sequence triggered
            - `length`: Reached maximum token limit
            - `content_filter`: Content filtered by safety policy
            - `tool_calls`: Model invoked a tool
          enum:
            - stop
            - length
            - content_filter
            - tool_calls
          example: stop
    Usage:
      type: object
      description: Token usage statistics
      properties:
        total_tokens:
          type: integer
          description: Total number of tokens consumed
          example: 1604
        total_characters:
          type: integer
          description: Total number of characters consumed
          example: 0
        prompt_tokens:
          type: integer
          description: Total input tokens, including cached tokens.
          example: 1365
        completion_tokens:
          type: integer
          description: Number of output tokens (including the thinking portion)
          example: 239
        completion_tokens_details:
          type: object
          description: Detailed breakdown of output tokens
          properties:
            reasoning_tokens:
              type: integer
              description: Number of reasoning tokens.
              example: 49
        prompt_tokens_details:
          type: object
          description: Detailed breakdown of input tokens
          properties:
            cached_tokens:
              type: integer
              description: >-
                Number of cached input tokens.


                Cached tokens are billed at the cache-hit rate. Uncached tokens
                (`prompt_tokens - cached_tokens`) are billed at the standard
                input rate.
              example: 114
    ContentPart:
      type: object
      description: >-
        Multimodal content part. Declare the type via `type` and fill in only
        the fields matching that type
      properties:
        type:
          type: string
          enum:
            - text
            - image_url
            - video_url
          description: |-
            Content type

            - `text`: Text block
            - `image_url`: Image input
            - `video_url`: Video input
        text:
          type: string
          description: Text content when `type=text`
        image_url:
          type: object
          description: >-
            Image input (when `type=image_url`). Maximum 10 MB per image,
            supports JPEG / PNG / GIF / WEBP
          required:
            - url
          properties:
            url:
              type: string
              description: Image URL, or a base64 data URL starting with `data:`
            detail:
              type: string
              description: >-
                Controls image parsing resolution


                - `low`: Low precision, consumes fewer tokens

                - `default`: Default precision

                - `high`: High precision, recognizes more detail but consumes
                more tokens
              enum:
                - low
                - default
                - high
              default: default
            max_long_side_pixel:
              type: integer
              description: Maximum pixel limit for the longest side of the image
              minimum: 1
        video_url:
          type: object
          description: >-
            Video input (when `type=video_url`). Maximum 50 MB for URL / Base64
            video, supports MP4 / AVI / MOV / MKV
          required:
            - url
          properties:
            url:
              type: string
              description: >-
                Video URL, a base64 data URL starting with `data:`, or a file
                reference in the format `mm_file://{file_id}`
            detail:
              type: string
              description: Controls video frame extraction resolution
              enum:
                - low
                - default
                - high
              default: default
            fps:
              type: number
              description: >-
                Video frame sampling rate. Defaults to 1; range: [0.2, 5].
                Higher rates help capture changes in the video and typically
                increase token usage.
              minimum: 0.2
              maximum: 5
              default: 1
            max_long_side_pixel:
              type: integer
              description: Maximum pixel limit for the longest side of video frames
              minimum: 1
    AssistantMessage:
      type: object
      properties:
        role:
          type: string
          description: Role of the message sender
          enum:
            - assistant
          example: assistant
        content:
          type:
            - string
            - 'null'
          description: >-
            Final answer, excluding reasoning. May be `null` when a tool is
            called.
          example: '0.05'
        reasoning_content:
          type: string
          description: >-
            Reasoning content. This field is omitted when a simple question
            produces no reasoning content.
          example: Let the ball cost x. Then 2x + 1 = 1.10, so x = 0.05.
        name:
          type: string
          description: Sender name
        audio_content:
          type: string
          description: Audio content (empty string for text-only conversation scenarios)
        tool_calls:
          type: array
          description: Tool call list (returned when the model decides to invoke a tool)
          items:
            type: object
            properties:
              id:
                type: string
                description: Unique identifier for the tool call
              type:
                type: string
                enum:
                  - function
              function:
                type: object
                properties:
                  name:
                    type: string
                    description: Name of the called function
                  arguments:
                    type: string
                    description: Function arguments (JSON string)
              index:
                type: integer
                description: Tool call index
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        All APIs require Bearer Token authentication


        **Get API Key**:


        Visit [API Key Management Page](https://evolink.ai/dashboard/keys) to
        get your API Key


        **Add to request header**:

        ```

        Authorization: Bearer YOUR_API_KEY

        ```

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.