Free Qwen API for OpenCode and your apps
Use Qwen3.8-27B with up to 30M tokens/month and 128K total context. No credit card. Shared capacity may queue during busy periods.
Catalog updated: 2026-10-19.
Start with a free model
- Hosted by IteraCompute
- OpenAI Compatible
- 128K Free Context
- Tool Calling
- Streaming
qwen/qwen3.8-27bFair-use rate limits apply. No SLA on free capacity. Rate limits may change; abuse may lead to suspension.
Qwen3.8-27B is now available for free through the OpenAI-compatible API. Input, cached input and output are all $0 per 1M tokens.
Up to 30M free tokens every month. No credit card.
A one-time balance top-up unlocks more Qwen capacity. $10 and $50 are cumulative recharge thresholds, not monthly fees. Qwen3.8-27B stays $0 per token in every tier.
| Tier | Cumulative net recharge | Monthly tokens | Context | TPM |
|---|---|---|---|---|
| Free | No recharge required | 30M | 128K | 160,000 |
| Starter | $10 or more | 100M | 128K | 300,000 |
| Pro | $50 or more | 300M | 256K | 600,000 |
Free accounts may queue during busy periods. Recharged accounts receive queue priority; capacity is shared and no latency SLA is offered.
Monthly allowances count input and output, including reasoning, across all API keys on your account. Context includes input and requested output; output is capped at 8,192 tokens. There is no daily quota. Allowances reset on the first of each month at 00:00 UTC (08:00 Beijing time); unused tokens do not roll over. Requests reserve their maximum token usage before running, then settle to actual usage. No automatic paid overage: exhausted monthly quota returns 429; wait for reset or unlock a higher tier.
Tiers use cumulative completed USD recharge principal, less refunds, excluding payment fees and promotional grants. Your recharge remains spendable API balance; using that balance does not lower your tier. Upgrades keep usage already consumed this month. Refunds may change your tier.
Start Free →First free call
- Register and verify your email, or sign in with Google. No card or recharge is required.
- Open API Keys, create a key that allows qwen/qwen3.8-27b and save the secret shown once.
- Run this in Bash (macOS, Linux or WSL) with cURL and Python 3. Replace your-api-key with your key. Keep response.json local.
export ITERACOMPUTE_API_KEY="your-api-key"
curl --fail-with-body --max-time 180 https://api.iteracompute.com/v1/chat/completions \
-H "Authorization: Bearer $ITERACOMPUTE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"qwen/qwen3.8-27b","messages":[{"role":"user","content":"Reply with exactly: Hello!"}],"max_tokens":512,"chat_template_kwargs":{"enable_thinking":false}}' \
-o response.json && python3 -c 'import json; r=json.load(open("response.json")); text=r["choices"][0]["message"]["content"]; assert text and text.strip(), "Empty model reply: activation is incomplete"; print(text)'Success means a non-empty choices[0].message.content. This command prints it and fails on an empty reply; registration or HTTP 200 alone does not complete activation. Expected output: Hello! (wording may vary).
This Qwen example disables thinking for a short visible reply. 401/403: check the key and model permission. 429: check monthly usage and TPM in the Console, then honor Retry-After. Free capacity may queue; do not fire repeated parallel retries.
How free availability is labeled
Models served on GPU infrastructure operated by IteraCompute.
Temporary free offers with their own duration and limits. No promotional models are currently listed.