Open-weights chat model from Alibaba Cloud Model Studio. One API key reaches all 10 providers, with automatic failover.
No card required. Start with 1 million free tokens.
About Qwen3.5 397B A17B
Qwen3.5 397B A17B is an open-weights chat model published by Alibaba Cloud Model Studio, with a 262,144-token context window. Through TrustedRouter it runs on 10 providers, with options in the US and EU, from $0.47 per million input tokens. Three providers offer zero data retention, and Chutes also runs it in a confidential enclave.
- Model ID
qwen/qwen3.5-397b-a17b- Publisher
- Alibaba Cloud Model Studio
- Modes
- chat
- Billing
- Credits or your own provider key
Set it up with your agent
Paste this into Claude Code, Cursor or any coding agent.
Use Qwen3.5 397B A17B through TrustedRouter in this project.
1. Read https://trustedrouter.com/llms.txt
2. Point the OpenAI-compatible client at
https://api.trustedrouter.com/v1 and read the key from
TRUSTEDROUTER_API_KEY.
3. Set the model to qwen/qwen3.5-397b-a17b.
4. Run the tests, then show me the diff before committing.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.trustedrouter.com/v1",
api_key=os.environ["TRUSTEDROUTER_API_KEY"],
)
response = client.chat.completions.create(
model="qwen/qwen3.5-397b-a17b",
messages=[{"role": "user", "content": "What is the capital of France?"}],
)
print(response.choices[0].message.content)
curl https://api.trustedrouter.com/v1/chat/completions \
-H "Authorization: Bearer $TRUSTEDROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen/qwen3.5-397b-a17b",
"messages": [{"role": "user", "content": "What is the capital of France?"}]
}'
Providers
Your key goes to the cheapest healthy provider and fails over on its own. Open a row for retention, location and weight format, or see how we check privacy claims and the live speed leaderboard.
| Provider | Input | Cached | Output | Cost per 1M in + out | Details |
|---|---|---|---|---|---|
|
|
$0.475 | $0.0475 | $3.16 | $3.64 | |
|
Retention Confidential compute with end-to-end encryption and zero data retention. TrustedRouter encrypts each request to an attested Chutes workload and verifies Intel TDX plus NVIDIA GPU attestation inside the TrustedRouter enclave before sending content. Verification fails closed. Chutes also documents no prompt/output storage or training. Location Operator country: US Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format FP8. Published serving configuration, reviewed 2026-09-27. Per-request precision is not verified. Pinned weight configuration declares FP8 quantization; excluded modules can retain higher precision. KV cache: unspecified. Price and speed Input $0.47475/1M · Cached input $0.047475/1M · Output $3.165/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.475 | $0.232 | $3.16 | $3.64 | |
|
Retention Verification: no verified privacy claim. Tracked as no-store, not strict ZDR. DeepInfra documents memory-only handling and no training for ordinary inference, but reserves the right to log a small portion of requests for debugging or security. Google- and Anthropic-backed routes also inherit those vendors' terms. Location Operator country: US Headquarters / registered office: Palo Alto, California, United States. Company location source (reviewed 2026-09-27). Inference: US infrastructure plus announced Canadian capacity; model-specific residency unconfirmed. DeepInfra describes US infrastructure and announced its first international data center in Toronto on July 8, 2026. This is a provider footprint, not an exhaustive or model-specific placement list. DeepSeek V4.1 Flash placement has not been confirmed; do not declare this route US-only. Region pinning through TR: Not supported by the current TrustedRouter integration. Reviewed 2026-09-27. DeepInfra infrastructure statement Weight format Unknown Price and speed Input $0.47475/1M · Cached input $0.2321/1M · Output $3.165/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.580 | $0.580 | $3.69 | $4.27 | |
|
Retention Verification: privacy unknown. Atlas Cloud publishes a platform zero-retention policy, while its aggregated model routes can involve downstream providers. TrustedRouter keeps the public route tier conservative pending downstream-path contractual verification. Location Operator country: US Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format Unknown Price and speed Input $0.58025/1M · Cached input $0.58025/1M · Output $3.6925/1M TTFT: 1.53 s Speed: insufficient data Last sample: |
|||||
|
|
$0.580 | — | $3.69 | $4.27 | |
|
Retention Zero data retention. Featherless's published privacy policy states that prompts and completions are neither collected nor stored. Account, payment and usage metadata, including token counts and sampler settings, may be retained. This is policy-backed ZDR, not verified confidential compute or E2EE. Location Operator country: US Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format Unknown Price and speed Input $0.58025/1M · Cached input Not published · Output $3.6925/1M TTFT: insufficient data Speed: insufficient data Last sample: |
|||||
|
|
$0.528 | $0.316 | $3.80 | $4.33 | |
|
Retention Zero data retention. Tracked as ZDR for serverless and dedicated inference. Parasail documents no storage or logging of submitted input on those service paths, retention only while generating and delivering output, and no training on input or output. Batch service is excluded from this claim; TrustedRouter does not route Parasail traffic through batch. Location Operator country: US Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format Unknown Price and speed Input $0.5275/1M · Cached input $0.3165/1M · Output $3.798/1M TTFT: 1.38 s Speed: insufficient data Last sample: |
|||||
|
|
$0.633 | $0.0633 | $3.80 | $4.43 | |
|
Retention Verification: privacy unknown. No provider-ZDR claim is tracked here. Alibaba Cloud Model Studio model availability and pricing are linked for users who need to review API data handling and regional deployment scope. Location Operator country: CN Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format Unknown Price and speed Input $0.633/1M · Cached input $0.0633/1M · Output $3.798/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.633 | — | $3.80 | $4.43 | |
|
Retention Verification: privacy unknown. No provider-ZDR claim is tracked here. Novita's privacy policy says personal information is not used for model training; customer-content processing is governed by customer agreements. Location Operator country: US Headquarters / registered office: San Francisco, California, United States. Company location source (reviewed 2026-09-27). Inference: Shared inference API; processing countries unconfirmed, no fixed-region commitment. No exhaustive inference-country list verified for the shared model API. Novita publishes worldwide GPU rental regions, but that separate product does not establish shared serverless model placement. Region pinning through TR: Not supported by the current TrustedRouter integration. Reviewed 2026-10-28. Weight format Unknown Price and speed Input $0.633/1M · Cached input Not published · Output $3.798/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.633 | $0.127 | $3.80 | $4.43 | |
|
Retention Verification: privacy unknown. No provider-ZDR claim is tracked. StreamLake's public privacy policy is linked for API data-handling review. Location Operator country: SG Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format Unknown Price and speed Input $0.633/1M · Cached input $0.1266/1M · Output $3.798/1M TTFT: 2.26 s Speed: insufficient data Last sample: |
|||||
|
|
$0.740 | — | $4.44 | $5.18 | |
|
Retention Verification: privacy unknown. Scaleway routes are discovered from its authenticated Model as a Service catalog and priced from Scaleway's first-party EUR price feed with a bounded FX reserve. No contractual ZDR, confidential-compute, or E2EE claim is tracked for this account, so these routes are Standard. Location Operator country: FR Headquarters / registered office: Not verified. Inference: Serverless: currently Paris, France, provider-declared; future expansion within Europe possible. Scaleway's FAQ places its current Serverless inference fleet in Paris. Dedicated deployments are a separate product. Region pinning through TR: Not supported by the current TrustedRouter integration. Reviewed 2026-09-27. Weight format Unknown Price and speed Input $0.739557/1M · Cached input Not published · Output $4.437337/1M TTFT: insufficient data Speed: insufficient data Last sample: |
|||||
|
|
$0.791 | — | $4.75 | $5.54 | |
|
Retention Verification: no verified privacy claim. Mixed model-specific posture. TrustedRouter cannot independently verify a complete chain from a live Venice endpoint through immutable source and hardware measurements to committed model weights. Venice is therefore not tracked as confidential or E2EE. Exact routes marked Private in Venice's live catalog qualify only as policy-backed ZDR through endpoint-specific records; Anonymized routes do not. Location Operator country: US Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format Unknown Price and speed Input $0.79125/1M · Cached input Not published · Output $4.7475/1M TTFT: insufficient data Speed: insufficient data Last sample: |
|||||
Append :nitro to the model ID, or send "provider": {"sort": "throughput"}, to route to the fastest provider instead.
Questions
What model ID should I use for Qwen3.5 397B A17B?
Use qwen/qwen3.5-397b-a17b as the model field with the TrustedRouter OpenAI-compatible API. Credits routing and provider fallback happen behind that model ID.
Do you log my prompts or outputs?
No. Prompt and output content are intentionally excluded from the control plane and metadata systems. Optional content export requires explicit destination-level configuration.
Which providers serve Qwen3.5 397B A17B?
TrustedRouter currently lists Chutes, Parasail, Featherless AI, DeepInfra, Novita AI, Venice, Alibaba Cloud Model Studio, StreamLake, Scaleway, and Atlas Cloud for Qwen3.5 397B A17B. Provider availability and routing eligibility can change as catalog and health data update.
How much does Qwen3.5 397B A17B cost through TrustedRouter?
The current lowest Credits input price is $0.47475/1M and the lowest Credits output price is $3.165/1M. Prices are per one million tokens and come from the current route catalog.
How do I require zero data retention for Qwen3.5 397B A17B?
Set provider.min_privacy to zdr on the request. TrustedRouter considers only routes with a recorded zero-data-retention posture and fails closed if no eligible route remains.
Qwen3.5 397B A17B vs other models
Start building with Qwen3.5 397B A17B.
No card required. Start with 1 million free tokens.
