← All models
Online

Qwen3.8-2.4T-A95B

Qwen · OpenAI-compatible API

qwen/qwen3.8-2.4t-a95b

USD / 1M tokens

Input$1.95
Cache Read$0.25
Cache Write—
Output$5.7
Context
1M
Max Output
128K
Tool Calling
✓
Reasoning
✓
Vision
✓
Streaming
✓
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-2.4t-a95b",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)

Catalog updated: 2026-10-19.

Overview

Text input, streaming and structured outputs; up to 131,072 output tokens.

Tasks and selection tradeoffs

Cross-file change planning

Provide related modules and ask for a dependency map before editing.

Long document synthesis

Compare several supplied documents and require source references for each conclusion.

Task suggestions based on catalog features and price, not model quality benchmarks.

Choose your tool

Choose a model and tool for your task →

Pricing

Prices in USD per 1M tokens.

Input$1.95
Cache Read$0.25
Cache Write—
Output$5.7

Example task: Review related modules and propose a patch

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

40,000 × $1.95 / 1M + 4,000 × $5.7 / 1M = $0.100800

If usage actually reports 30,000 of those input tokens as cached, replace that portion at the cached-input rate ($0.25/1M): $0.049800. 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.

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-2.4T-A95B

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.

Usage limits

  • A 1M window can fit more source material, but replaying it every agent step increases input cost. Summarize stable history and provide focused source excerpts.
  • See the current context and maximum output in the model specifications above. Input and requested output share the context budget.
  • The context and capability flags describe the public catalog. They do not establish a particular tool workflow or a quality score.
  • Start with one representative task. Check correctness, actual usage and response time before increasing traffic.
  • Use the integration examples to connect your application and handle tool results.

API parameters

Parameter / protocol fieldUsage
model / messagesUse the exact model ID and chat message list
tools / tool_calls / tool messagesUse tools to define functions and role=tool to return their results
stream / stream_options.include_usageUse SSE streaming with final usage
max_tokensSet an output budget within the model and account limits

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

API

Base URL
https://api.iteracompute.com/v1
Endpoint
POST /v1/chat/completions
Model ID
qwen/qwen3.8-2.4t-a95b
Authentication
Authorization: Bearer ITERACOMPUTE_API_KEY

View Docs

FAQ

How do I use Qwen3.8-2.4T-A95B with the OpenAI SDK?

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

What does Qwen3.8-2.4T-A95B cost?

See the pricing section for current input, cached-input and output rates in USD per 1M tokens. Check the refresh time before use.

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.

Ready for your first request?

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