← All models
OnlineItera Hosted

Qwen3.8-27B

Qwen · OpenAI-compatible API

qwen/qwen3.8-27b

Free

Input$0
Cache Read$0
Cache Write—
Output$0
Context
256K128K Free
Max Output
8K
Tool Calling
✓
Reasoning
✓
Vision
✓
Streaming
✓

Catalog updated: 2026-10-19.

Overview

Qwen3.8-27B is the free entry model on IteraCompute GPUs, with 128K free context, tool calling and streaming. OpenAI-compatible API access is now available for free.

What to use it for

Chat prototypes

Try a support reply or an internal assistant with a small, representative prompt.

Code explanations and small edits

Explain a function or change one file. Review the diff and run your own tests before accepting edits.

Document Q&A experiments

Provide a bounded excerpt and ask for answers with quoted evidence. Check the answer against the source.

These are starting tasks to evaluate, not published quality benchmarks. Test with your own inputs before expanding the workflow.

Choose your tool

Choose a model and tool for your task → · Free allowance and limits →

What has been verified

Test dateEnvironmentVerified result
OpenCode 1.19.0 · Node.js 25.2.1 · WindowsReal file repair: 1 → 4 passing tests, unchanged test file, independent rerun. 30,911 client tokens; 25.256s agent event window. Test details →
Cline 4.1.23 · VS Code 1.141.0A non-empty completed Hello! reply. No file reads or shell commands were requested. Test details →
ai 7.0.137 · @ai-sdk/openai-compatible 3.0.67 · Node.js 25.2.1Server-side CLI returned Hello! and checked non-empty text. Test details →

OpenCode verifies a small read/edit/test tool cycle. The October 11 tests verify text connection only. None establishes image quality, long-context boundaries or sustained stability.

Evidence reviewed October 15, 2026. Test dates remain the original dates. Actual account limits still need to be checked against the Console and gateway.

Pricing

Free · Itera Hosted. Input, cached input and output are $0 per 1M tokens. Fair-use rate limits apply; no SLA on free capacity.

Input$0
Cache Read$0
Cache Write—
Output$0

Example task: Explain and edit a small function

Assume 10,000 aggregate input tokens and 2,000 billable output tokens across all calls. No cache hit.

10,000 × $0 / 1M + 2,000 × $0 / 1M = $0.000000

If usage actually reports 7,500 of those input tokens as cached, replace that portion at the cached-input rate ($0/1M): $0.000000. Cached tokens are part of total input, never added on top.

Illustrative calculation using the 2026-10-19 catalog snapshot. Include every agent call and retry, repeated history and billable reasoning output; settle against actual usage and current Console prices.

This $0 example still consumes 12,000 tokens of monthly allowance; quota and TPM limits still apply.

Estimate your monthly cost

Uses the 2026-10-19 catalog snapshot, independently of the live prices above. USD per 1M tokens; an estimate, not a bill.

Estimate includes standard text input, cache reads and text output only. Long-context premiums, service tiers, cache writes, image output and tool fees are excluded.

Input includes cached tokens; output includes billable reasoning. Count every API request, including agent steps and retries.

Estimated monthly cost

—USD / month

Qwen3.8-27B

Uncached input
—
Cache read
—
Billable output
—

Connect this model →
Calculation and billing basis

Monthly cost = requests × [input × (1 − cached share) × input rate + input × cached share × cache-read rate + output × output rate] / 1,000,000.

Cached tokens are part of total input, never added on top. Use actual cache-read hits from usage; repeating a prompt does not guarantee a hit. Missing rates are unconfirmed, not $0. Separate cache-write, storage and other additional fees are excluded. Settle against actual usage and current Console prices.

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.

TierCumulative net rechargeMonthly tokensContextTPM
FreeNo recharge required30M128K160,000
Starter$10 or more100M128K300,000
Pro$50 or more300M256K600,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

  1. Register and verify your email, or sign in with Google. No card or recharge is required.
  2. Open API Keys, create a key that allows qwen/qwen3.8-27b and save the secret shown once.
  3. Run this in Bash (macOS, Linux or WSL) with cURL and Python 3. Replace your-api-key with your key. Keep response.json local.
Bash · Qwen3.8-27B · $0
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.

Usage limits

  • Free total context is 128K, including input and requested maximum output. Maximum output is 8,192 tokens in every tier.
  • Monthly allowance and TPM are shared across account keys. Free requests may queue; none of the Qwen tiers provides an SLA.
  • An HTTP 200 with empty content is not a completed text test. Use the first free call to check a short visible reply.
  • Use Chat Completions for the documented OpenCode workflow and split large repositories into relevant source excerpts.

API parameters

Parameter / protocol fieldUsage
model / messagesUse the exact model ID and chat message list
tools / tool_calls / tool messagesRead, edit and test tool cycle completed in OpenCode
stream / stream_options.include_usageUse SSE streaming with final usage
max_tokensSet an output budget within the model and account limits
chat_template_kwargs.enable_thinking=falseUsed in the free Qwen configuration

Parameters vary by model. Keep model-specific controls separate from shared OpenAI-compatible fields.

Read the real configuration and operation log →

API

OpenAI-compatible API
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.iteracompute.com/v1",
    api_key=os.environ["ITERACOMPUTE_API_KEY"],
)
response = client.chat.completions.create(
    model="qwen/qwen3.8-27b",
    messages=[{"role": "user", "content": "Hello!"}],
    max_tokens=512,
    extra_body={"chat_template_kwargs": {"enable_thinking": False}},
)
text = response.choices[0].message.content
if not text or not text.strip():
    raise RuntimeError("Empty model reply: activation is incomplete.")
print(text)
Base URL
https://api.iteracompute.com/v1
Endpoint
POST /v1/chat/completions
Model ID
qwen/qwen3.8-27b
Authentication
Authorization: Bearer ITERACOMPUTE_API_KEY

View Docs

FAQ

How do I use Qwen3.8-27B with the OpenAI SDK?

Set base_url to https://api.iteracompute.com/v1 and model to qwen/qwen3.8-27b. Authenticate with your IteraCompute API key.

What does Qwen3.8-27B cost?

See the pricing section for current input, cached-input and output rates in USD per 1M tokens. Check the refresh time before use. Free capacity is subject to fair-use rate limits and has no SLA.

What context length is available?

See the model specifications above for the current context and maximum output. Input and requested maximum output share the context budget. Free: 128K total context and 30M tokens/month. Starter increases monthly allowance and TPM after $10 cumulative net recharge; Pro unlocks 256K after $50. Maximum output is 8,192 tokens in every tier; context includes input plus requested maximum output. Free accounts may queue during busy periods.

Ready for your first request?

Create your key, choose a tool and get a non-empty first reply.