# alibaba/qwen3.7-plus

Source: https://docs.sociaro.com/models/alibaba-qwen3-7-plus/

Qwen3.7 Plus (Alibaba Model Studio). 968K context, billed at one rate at every prompt size.

THINKING IS ON BY DEFAULT and thinking tokens bill as OUTPUT — send `enable_thinking: false` to turn it off, or cap it with `thinking_budget`. Because thinking is on, `tool_choice` cannot force a specific tool: use `auto` or `none`. `max_tokens` limits the answer alone; `max_completion_tokens` limits the thinking too.

|  |  |
| --- | --- |
| Slug | `alibaba/qwen3.7-plus` |
| Kind | chat |
| Vendor | alibaba |
| Endpoint | `POST /v1/chat/completions` |

[View pricing and billing conditions](https://docs.sociaro.com/models/alibaba-qwen3-7-plus/#pricing)

## Example request

cURL

```bash
curl https://api.sociaro.com/v1/chat/completions \
  -H "Authorization: Bearer $SOCIARO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
        "model": "alibaba/qwen3.7-plus",
        "messages": [{"role": "user", "content": "hello"}]
      }'
```

Python

```python
# Requires Python 3 and requests (pip install requests).
import os
import requests

payload = {'model': 'alibaba/qwen3.7-plus',
 'messages': [{'role': 'user', 'content': 'hello'}]}

response = requests.post(
    'https://api.sociaro.com/v1/chat/completions',
    headers={
        'Authorization': 'Bearer ' + os.environ['SOCIARO_API_KEY'],
        'Content-Type': 'application/json',
    },
    json=payload,
    timeout=120,
)
response.raise_for_status()
print(response.text)
```

JavaScript

```javascript
// Run as an .mjs file with Node.js 22 or later.

const payload = {
  "model": "alibaba/qwen3.7-plus",
  "messages": [
    {
      "role": "user",
      "content": "hello"
    }
  ]
};

const response = await fetch("https://api.sociaro.com/v1/chat/completions", {
  method: "POST",
  headers: {
    "Authorization": "Bearer " + process.env.SOCIARO_API_KEY,
    "Content-Type": "application/json",
  },
  body: JSON.stringify(payload),
});
if (!response.ok) throw new Error(`HTTP ${response.status}: ${await response.text()}`);
console.log(await response.text());
```

## Parameters

- `messages`
- `temperature`
- `top_p`
- `max_tokens`
- `max_completion_tokens`
- `stream`
- `stream_options`
- `tools`
- `tool_choice`
- `parallel_tool_calls`
- `tool_stream`
- `response_format`
- `enable_thinking`
- `thinking_budget`
- `preserve_thinking`
- `seed`
- `stop`
- `presence_penalty`
- `top_k`
- `repetition_penalty`

## Pricing

| Billable unit and options | Rate (USD) |
| --- | --- |
| per 1M input tokens | $0.48 |
| per 1M output tokens | $1.92 |
| per 1M cached input tokens | $0.096 |

- Thinking is on by default, and thinking tokens bill at the output rate.

[View this model in the pricing catalogue](https://sociaro.com/pricing?model=alibaba%2Fqwen3.7-plus). Your [billing logs](https://docs.sociaro.com/billing/index.md) show the actual charge for each request.
