Open-weights chat model from Alibaba Cloud Model Studio. One API key reaches all 2 providers, with automatic failover.
Up to 1 million free tokens. No card required.
About Qwen/Qwen3-8B
Qwen/Qwen3-8B is an open-weights chat model published by Alibaba Cloud Model Studio, with a 41,000-token context window. Through TrustedRouter it runs on 2 providers, from $0.063 per million input tokens. One provider offers zero data retention.
- Model ID
qwen/qwen3-8b- Publisher
- Alibaba Cloud Model Studio
- Modes
- chat
- Billing
- Credits
Set it up with your agent
Paste this into Claude Code, Cursor or any coding agent.
Use Qwen/Qwen3-8B 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-8b.
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-8b",
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-8b",
"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.0633 | — | $0.0633 | $0.13 | |
|
Retention Verification: privacy unknown. No provider-ZDR claim is tracked here. SiliconFlow's privacy policy source is linked for retention and interaction-data terms. Location Operator country: SG Headquarters / registered office: Singapore (international API operator). Company location source (reviewed 2026-09-27). Inference: Inference countries unconfirmed; no verified country-specific residency commitment. TrustedRouter uses api.siliconflow.com. Neither its hostname nor the provider's Singapore legal jurisdiction establishes the DeepSeek V4.1 Flash GPU location. No exhaustive route-specific country list verified. Region pinning through TR: Not supported by the current TrustedRouter integration. Reviewed 2026-09-26. Weight format Unknown Price and speed Input $0.0633/1M · Cached input Not published · Output $0.0633/1M TTFT: insufficient data Speed: insufficient data |
|||||
|
|
$0.0844 | $0.0422 | $0.264 | $0.35 | |
|
Retention Zero data retention. Verification: provider E2EE not verified. Greenference SAS's DPA commits to EU-only inference, no persistent prompt/output storage and no training or secondary use. Shared prefix caches remain in volatile GPU memory until eviction or instance restart; they are not account-isolated and have no fixed maximum lifetime. Content-free operational metadata is retained. Greenference runs its own serving software on rented EU compute; this is contractual ZDR, not verified confidential compute or E2EE. Its current electricity mix is unverified, not a 100% renewable-energy commitment. Location Operator country: FR Headquarters / registered office: Not verified. Inference: EU-only inference, dynamically placed; no individual-country commitment. All inference is on Greenference-operated serving software on rented EU GPU capacity. Region pinning through TR: Select provider.only=[greenference] with allow_fallbacks=false to restrict this route. Reviewed 2026-10-09. Weight format Unknown Price and speed Input $0.0844/1M · Cached input $0.0422/1M · Output $0.26375/1M TTFT: 0.88 s 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 Qwen/Qwen3-8B?
Use qwen/qwen3-8b 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 Qwen/Qwen3-8B?
TrustedRouter currently lists Greenference, and SiliconFlow for Qwen/Qwen3-8B. Provider availability and routing eligibility can change as catalog and health data update.
How much does Qwen/Qwen3-8B cost through TrustedRouter?
The current lowest Credits input price is $0.0633/1M and the lowest Credits output price is $0.0633/1M. Prices are per one million tokens and come from the current route catalog.
How do I require zero data retention for Qwen/Qwen3-8B?
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.
Qwen/Qwen3-8B vs other models
Start building with Qwen/Qwen3-8B.
Up to 1 million free tokens. No card required.
