Qwen3.7 Max

qwen3.7-max

Use the Qwen3.7 Max API for chat, coding, and reasoning. Send conversation messages and include tool definitions on supported routes. Build developer assistants for code review, debugging, and implementation. Compare the available provider routes, request examples, and usage prices on OpenAny.

Published price
From $1.345 / 1M tokens
Billing unit
/ 1M tokens
Context / Max output
1000K / 64K
Listed routes
1
Base URL
https://api.openany.si/v1
POST
/v1/chat/completions
Authentication
Authorization: Bearer $OPENANY_API_KEY

Provider

Published price $1.345 / 1M tokens

Request parameters

ParameterType / rangeDefault valueRequiredDescription
messagesarray—YesMessages in conversation order.
modelstring—YesPublic model name used by OpenAny.
enable_searchboolean—Noenable_search
enable_thinkingboolean—Noenable_thinking
max_completion_tokensinteger · >= 1—NoMaximum number of output tokens to generate.
max_tokensinteger · >= 1—Nomax_tokens
parallel_tool_callsboolean—Noparallel_tool_calls
presence_penaltynumber · -2 ~ 2—Nopresence_penalty
preserve_thinkingboolean—Nopreserve_thinking
repetition_penaltynumber—Norepetition_penalty
response_formatobject—Noresponse_format
routeobject—NoOpenAny routing settings.
route_modestring—NoOpenAny route selection mode.
search_optionsobject—Nosearch_options
seedinteger · 0 ~ 2147483647—Noseed
stopstring | array | array—Nostop
streamboolean—NoEnable streaming responses.
stream_optionsobject—Nostream_options
temperaturenumber · >= 0—Notemperature
thinking_budgetinteger—Nothinking_budget
tool_choicestring | object—Notool_choice
tool_streamboolean—Notool_stream
toolsarray—Notools
top_kinteger · >= 0—Notop_k
top_pnumber · <= 1—Notop_p

Request example

curl 'https://api.openany.si/v1/chat/completions' \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "messages": [
    {
      "content": "hello",
      "role": "user"
    }
  ],
  "model": "qwen3.7-max"
}'

Response example

Configured response example · not a live result

JSON
{
  "id": "chatcmpl-4979aa27-4ad3-98bd-81a7-05edfd3ca792",
  "model": "qwen3.7-max",
  "usage": {
    "total_tokens": 256,
    "prompt_tokens": 11,
    "completion_tokens": 245,
    "prompt_tokens_details": {
      "cached_tokens": 0
    },
    "completion_tokens_details": {
      "reasoning_tokens": 231
    }
  },
  "object": "chat.completion",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Hello! How can I help you today?",
        "reasoning_content": "Thinking Process:\n\n1.  **Analyze the input:** The user said \"hello\".\n2.  **Identify the intent:** This is a standard greeting.\n3.  **Determine the appropriate response:**\n    *   Acknowledge the greeting.\n    *   Offer assistance.\n    *   Keep it polite and open-ended.\n4.  **Draft potential responses:**\n    *   \"Hello! How can I help you today?\"\n    *   \"Hi there! What's on your mind?\"\n    *   \"Greetings! Do you have any questions?\"\n5.  **Select the best response:** \"Hello! How can I help you today?\" is standard, friendly, and helpful.\n6.  **Final Output Generation.**\n\n*Self-Correction during drafting:* Since I am an AI, I should simply state my readiness to assist.\n\n*Final Polish:* \"Hello! How can I help you today?\" or \"Hi! How can I assist you?\"\n\nLet's go with a friendly, versatile greeting.\n\n\"Hello! How can I help you today?\""
      },
      "finish_reason": "stop"
    }
  ],
  "created": 1784603560,
  "openmodels_cost": 1317
}

Error handling

400Check the model ID and request fields.
429Retry with exponential backoff.
5xxRetry only temporary provider failures.

JSON Schema

{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "model",
    "messages"
  ],
  "properties": {
    "seed": {
      "type": "integer",
      "maximum": 2147483647,
      "minimum": 0
    },
    "stop": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        {
          "type": "array",
          "items": {
            "type": "integer"
          }
        }
      ]
    },
    "model": {
      "type": "string",
      "minLength": 1,
      "description": "Public model name used by OpenAny."
    },
    "route": {
      "type": "object",
      "properties": {
        "provider": {
          "type": "string"
        }
      },
      "description": "OpenAny routing settings."
    },
    "tools": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "type",
          "function"
        ],
        "properties": {
          "type": {
            "const": "function"
          },
          "function": {
            "type": "object",
            "required": [
              "name"
            ],
            "properties": {
              "name": {
                "type": "string"
              },
              "strict": {
                "type": "boolean"
              },
              "parameters": {
                "type": "object"
              },
              "description": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "top_k": {
      "type": "integer",
      "minimum": 0
    },
    "top_p": {
      "type": "number",
      "maximum": 1,
      "exclusiveMinimum": 0
    },
    "stream": {
      "type": "boolean",
      "description": "Enable streaming responses."
    },
    "messages": {
      "type": "array",
      "items": {
        "type": "object",
        "allOf": [
          {
            "if": {
              "properties": {
                "role": {
                  "enum": [
                    "user",
                    "system",
                    "developer"
                  ]
                }
              }
            },
            "then": {
              "required": [
                "content"
              ],
              "properties": {
                "content": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "type"
                        ],
                        "properties": {
                          "text": {
                            "type": "string"
                          },
                          "type": {
                            "type": "string"
                          },
                          "image_url": {
                            "type": "object",
                            "required": [
                              "url"
                            ],
                            "properties": {
                              "url": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          {
            "if": {
              "properties": {
                "role": {
                  "const": "tool"
                }
              }
            },
            "then": {
              "required": [
                "tool_call_id",
                "content"
              ]
            }
          }
        ],
        "required": [
          "role"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "role": {
            "enum": [
              "system",
              "user",
              "assistant",
              "tool"
            ],
            "type": "string"
          },
          "content": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "type"
                  ],
                  "properties": {
                    "text": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string"
                    },
                    "image_url": {
                      "type": "object",
                      "required": [
                        "url"
                      ],
                      "properties": {
                        "url": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "tool_calls": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "tool_call_id": {
            "type": "string"
          },
          "reasoning_content": {
            "type": "string"
          }
        }
      },
      "minItems": 1,
      "description": "Messages in conversation order."
    },
    "max_tokens": {
      "type": "integer",
      "minimum": 1
    },
    "route_mode": {
      "type": "string",
      "description": "OpenAny route selection mode."
    },
    "temperature": {
      "type": "number",
      "minimum": 0,
      "exclusiveMaximum": 2
    },
    "tool_choice": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "object"
        }
      ]
    },
    "tool_stream": {
      "type": "boolean"
    },
    "enable_search": {
      "type": "boolean"
    },
    "search_options": {
      "type": "object",
      "properties": {
        "forced_search": {
          "type": "boolean"
        },
        "search_strategy": {
          "type": "string"
        },
        "enable_search_extension": {
          "type": "boolean"
        }
      }
    },
    "stream_options": {
      "type": "object",
      "properties": {
        "include_usage": {
          "type": "boolean"
        }
      }
    },
    "enable_thinking": {
      "type": "boolean"
    },
    "response_format": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "enum": [
            "text",
            "json_object",
            "json_schema"
          ],
          "type": "string"
        },
        "json_schema": {
          "type": "object",
          "required": [
            "name",
            "schema"
          ],
          "properties": {
            "name": {
              "type": "string"
            },
            "schema": {
              "type": "object"
            },
            "strict": {
              "type": "boolean"
            },
            "description": {
              "type": "string"
            }
          }
        }
      }
    },
    "thinking_budget": {
      "type": "integer"
    },
    "presence_penalty": {
      "type": "number",
      "maximum": 2,
      "minimum": -2
    },
    "preserve_thinking": {
      "type": "boolean"
    },
    "repetition_penalty": {
      "type": "number",
      "exclusiveMinimum": 0
    },
    "parallel_tool_calls": {
      "type": "boolean"
    },
    "max_completion_tokens": {
      "type": "integer",
      "minimum": 1,
      "description": "Maximum number of output tokens to generate."
    }
  }
}

Model API questions

How do I call Qwen3.7 Max through OpenAny?

Use model ID qwen3.7-max with an OpenAny key and the operation published in this model's API tab. The model API base is https://api.openany.si/v1. Confirm the protocol and request schema; model availability does not imply every OpenAI API operation is supported.

How is Qwen3.7 Max billed?

Compare the published rate and billing unit of the selected provider route. Input, output and cache token rates may differ. Image, audio and video models can use other units. Recorded usage determines the charge under that route's billing contract.

Are Community and Verified routes the same as an official publisher API?

No. Inspect the provider name and supply classification for the specific route. A marketplace listing or a supply label is not a claim of publisher endorsement, identical service or measured uptime. Different route prices may reflect different supply and conditions.

Where do these prices come from, and when were they updated?

Rates come from the provider routes in OpenAny's public model catalog, not an independent quote from the model publisher. The catalog does not supply a price update timestamp. A page or catalog snapshot date is not a price revision date. Compare supply, billing units, tiers and conditions; a lower listed rate alone does not establish equivalent service or explain the price difference.

Use Qwen3.7 Max with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.