NewKimi K3.1 Pro is now availableTry it now
QWEN API

Qwen API

Run live Qwen models through one serverless Inference.net API with OpenAI /v1/chat/completions, /v1/responses, and native Anthropic /v1/messages support. Compare live per-token pricing, context windows up to 1M tokens, and implicit prompt caching across Qwen 3.7 Plus, Qwen 3 30B A3B, and Qwen 3 14B. Externally routed Qwen catalog models follow their upstream provider's data-handling and retention terms (default Zero Data Retention applies to eligible Inference.net-hosted routes).

  • Serverless per-token billing across Qwen 3.7 Plus and Qwen 3 checkpoints
  • Up to 1M-token context with text, image, and video input on Qwen 3.7 Plus
  • Automatic implicit prompt caching on Qwen 3.7 Plus (80% cached-read savings)
  • OpenAI /v1/chat/completions, /v1/responses, and Anthropic /v1/messages support
LIVE CATALOG & PRICING

All live Qwen models on Inference.net

Every rate, context limit, and capability below is pulled directly from the live public catalog. Select any model for full specs, live latency benchmarks, and prompt-caching guidance.

ModelContextMax outputInput / 1MCached / 1MOutput / 1MCapabilitiesStart
Qwen 3.7 Plusqwen3.7-plus
1M128K$0.40$0.08$1.60Vision, ToolsUse API
Qwen 3 30B A3Bqwen3-30b-a3b
41K16K$0.12N/A$0.50TextUse API
Qwen 3 14Bqwen3-14b
131K8K$0.227N/A$0.91TextUse API
QUICKSTART

Call Qwen over OpenAI or Anthropic SDKs

Use the top live model ID (qwen3.7-plus) with the standard OpenAI SDK, curl, or Claude Code over native /v1/messages.

QUICKSTARTGet API key
import OpenAI from 'openai'

const client = new OpenAI({
  baseURL: 'https://api.inference.net/v1',
  apiKey: process.env.INFERENCE_API_KEY,
})

const completion = await client.chat.completions.create({
  model: 'qwen3.7-plus',
  messages: [{ role: 'user', content: 'Hello' }],
})
CLAUDE CODE & ANTHROPIC /V1/MESSAGES

Point Claude Code or any Anthropic SDK client at Inference.net with zero proxy setup and full prompt-cache support.

export ANTHROPIC_BASE_URL="https://api.inference.net"
export ANTHROPIC_AUTH_TOKEN="$INFERENCE_API_KEY"
export ANTHROPIC_MODEL='qwen3.7-plus[1m]'
export ANTHROPIC_DEFAULT_OPUS_MODEL='qwen3.7-plus[1m]'
export ANTHROPIC_DEFAULT_SONNET_MODEL='qwen3.7-plus[1m]'
export ANTHROPIC_DEFAULT_HAIKU_MODEL='qwen3.7-plus[1m]'
export CLAUDE_CODE_SUBAGENT_MODEL='qwen3.7-plus[1m]'
claude
COMPARISONS, GUIDES & TOOLS

Benchmark, compare, and model Qwen costs

Verify unit economics across prompt-cache hit rates, compare providers, and explore engineering guides for Qwen.

MODEL FAMILIES

Explore other open-weight model families

Switch across DeepSeek, Kimi, GLM, and the full catalog with one API key and one OpenAI-compatible client.

FAQ

Frequently asked questions.

Quick answers to help you get started

Inference.net currently serves 3 live Qwen models with transparent pay-as-you-go per-token billing. Input rates start at $0.12 per 1M input tokens ($0.50 per 1M output tokens) on Qwen 3 30B A3B. Every rate in the comparison table above pulls directly from the live public catalog.

GET STARTED

Start calling Qwen in minutes

Create a project API key with Zero Data Retention enabled by default on eligible Inference.net-hosted routes and route requests to qwen3.7-plus with pay-as-you-go billing.