Find a model

Browse the full catalog →

Qwen3.5 397B A17B

Open-weights chat model from Alibaba Cloud Model Studio. One API key reaches all 10 providers, with automatic failover.

Input / 1M$0.47
Output / 1M$3.16
Context262K
Providers 10 providers, one key

No card required. Start with 1 million free tokens.

Overview

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
Quickstart

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?"}]
  }'
Your agent will need an API key.
10 providers

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.

Qwen3.5 397B A17B providers and prices per 1M tokens
Provider Input Cached Output Cost per 1M in + out Details
Chutes logo Chutes Cheapest ConfidentialZero retention $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.

Provider policy source

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.

Full location evidence

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.

Published chute serving code (mutable; hash recorded)

Pinned weight configuration

Price and speed

Input $0.47475/1M · Cached input $0.047475/1M · Output $3.165/1M

TTFT: insufficient data

Speed: insufficient data

Chutes provider page

DeepInfra logo DeepInfra Cheapest $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.

Provider policy source

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

DeepInfra Toronto announcement

Full location evidence

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

DeepInfra provider page

Atlas Cloud logo Atlas Cloud $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.

Provider policy source

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.

Full location evidence

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:

Atlas Cloud provider page

Featherless AI logo Featherless AI Zero retention $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.

Provider policy source

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.

Full location evidence

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:

Featherless AI provider page

Parasail logo Parasail Zero retention $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.

Provider policy source

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.

Full location evidence

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:

Parasail provider page

Alibaba Cloud Model Studio logo Alibaba Cloud Model Studio $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.

Provider policy source

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.

Full location evidence

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

Alibaba Cloud Model Studio provider page

Novita AI logo Novita AI $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.

Provider policy source

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.

GPU rental regions (different product)

Native model catalog

Full location evidence

Weight format

Unknown

Price and speed

Input $0.633/1M · Cached input Not published · Output $3.798/1M

TTFT: insufficient data

Speed: insufficient data

Novita AI provider page

StreamLake logo StreamLake $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.

Provider policy source

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.

Full location evidence

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:

StreamLake provider page

Scaleway logo Scaleway $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.

Provider policy source

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.

Scaleway inference-server locations

Full location evidence

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:

Scaleway provider page

Venice logo Venice $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.

Provider policy source

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.

Full location evidence

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:

Venice provider page

Append :nitro to the model ID, or send "provider": {"sort": "throughput"}, to route to the fastest provider instead.

FAQ

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.

Compare

Qwen3.5 397B A17B vs other models

Start building with Qwen3.5 397B A17B.

No card required. Start with 1 million free tokens.

Workspace access

Sign in

Choose a sign in method to access your TrustedRouter workspace.

New to TrustedRouter?

By continuing you agree to the terms of service and privacy policy.