tbuy

qwen3.5-397b-a17b API pricing & access

qwen3.5-397b-a17b API pricing: Dynamic usage-based pricing. Alibaba Qwen 3.5 MoE model, 397B total / 17B active parameters

qwen3.5-397b-a17b API access

Alibaba Qwen 3.5 MoE model, 397B total / 17B active parameters

Compare supported API endpoints and capabilities, then access qwen3.5-397b-a17b through the unified API gateway.

Category
text
Supported APIs
OpenAI Chat Completions API, Anthropic Messages API
API endpoints
POST /v1/chat/completions, POST /v1/messages

qwen3.5-397b-a17b API pricing

Billing model
Dynamic usage-based pricing

The final API price depends on the matched usage tier, request parameters and access group. Open the live pricing page for the current calculation.

About qwen3.5-397b-a17b

Qwen3.5 397B A17B is a MoE member of the official open-model family. Evaluate demanding reasoning, coding and multimodal understanding through the selected hosted route without assuming its quantization or deployment.

Use fixed cases for the tasks described above. Integration follows the listed endpoint, selected route parameters and current group pricing; official capabilities do not establish acceptance for every channel. Compare qwen3.5-27b.

Official reference 1, checked 2026-10-14.

Use cases and prompting

  1. Provide relevant files, dependencies and executable acceptance criteria before requesting patches.
  2. Validate tool fields at the listed endpoint and return real execution results to the model.
  3. Apply patches in an isolated environment; check compilation, tests and failing cases with scoped writes.
  4. Retain model names, request IDs and usage; compare upgrades on identical repository tasks and current prices.

API documentation.

How to call qwen3.5-397b-a17b

qwen3.5-397b-a17b is served through tbuy's unified gateway. Existing OpenAI or Anthropic SDK code keeps working: point base_url at https://modelsok.com and use your tbuy API key.

curl (OpenAI-compatible)

curl https://modelsok.com/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "qwen3.5-397b-a17b", "messages": [{"role": "user", "content": "Hello"}]}'

Python (openai SDK)

from openai import OpenAI

client = OpenAI(base_url="https://modelsok.com/v1", api_key="YOUR_API_KEY")
response = client.chat.completions.create(
    model="qwen3.5-397b-a17b",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Python (anthropic SDK)

from anthropic import Anthropic

client = Anthropic(base_url="https://modelsok.com", api_key="YOUR_API_KEY")
message = client.messages.create(
    model="qwen3.5-397b-a17b",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Hello"}],
)
print(message.content[0].text)

Frequently asked questions about qwen3.5-397b-a17b

What is qwen3.5-397b-a17b?

Alibaba Qwen 3.5 MoE model, 397B total / 17B active parameters

How do I call qwen3.5-397b-a17b?

Create an API key with access to qwen3.5-397b-a17b, then use the exact model ID and a supported endpoint from the API access section. Request fields depend on the selected endpoint.

How is qwen3.5-397b-a17b priced?

Pricing depends on the selected provider group and the model billing unit. Refer to the current input, output, request, or media prices in the pricing section.

How should I evaluate qwen3.5-397b-a17b for my project?

Start with the use cases and prompting guidance on this page, then evaluate the model with representative inputs from your project.

Back to AI model API pricing