impulse

Qwen3 4B Instruct 2507

Open weights
API id qwen3-4b-instruct-2507
Input / 1M
$0.20
at Fireworks AI
Output / 1M
$0.20
at Fireworks AI
Context window
262K
tokens
Max output
262K
tokens per reply
Hosts
1
2 listings
Released
-
date not published

Pricing

List prices at Fireworks AI, in US dollars per million tokens.

TierInput / 1MOutput / 1M
Standard$0.20$0.20

What it costs a month

At Fireworks AI list prices, 30 days.

  • Chat assistant5,000 requests a day, 2K in / 0.5K out$75.00
  • RAG over documents2,000 requests a day, 8K in / 0.6K out$103
  • Coding agent1,000 requests a day, 40K in / 2K out$252
  • Overnight batch20,000 requests a day, 4K in / 0.4K out$528
Use your own numbers

Where to run it

1 host serve Qwen3 4B Instruct 2507. The comparison is on blended price, 3 parts input to 1 part output.

HostIn / out per 1M
Fireworks AIInference
qwen3-4b-instruct-2507
$0.20 / $0.20
Qwen3-4B-Instruct-2507-GGUF
-

Capabilities

Core

  • Streaming
  • Function calling
  • JSON mode
  • Structured outputs

Multimodal

  • Vision
  • Image input
  • Audio
  • Image generation
  • Video

Advanced

  • Reasoning
  • Tool calling
  • MCP
  • Prompt caching
  • Batch API
  • Embeddings
Takes in
Text
Produces
Text
Open weights
License: Apache-2.0
Runtimes: Ollama, SGLang, llama.cpp, vLLM

Cheaper alternatives

Current models that cost less and keep most of what this one can do: tools, vision, reasoning, structured output, caching and enough context.

Same model, cheaper host

No host sells it for less than Fireworks AI.

Smaller Alibaba Qwen models

No cheaper Alibaba Qwen model keeps its key capabilities.

Other frontier labs

No cheaper match from another frontier lab.

Open-weight picks

  • Qwen3.8 Flash
    Alibaba Qwen · on AIHubMix
    $0.113 / $0.38
    Has every key capability
    10% less
  • Nemotron 3.5 Super VL
    NVIDIA · on Kyma API
    $0.081 / $0.472
    Has every key capability
    11% less
  • Gemma 4 31B IT
    Google · on W&B Inference
    $0.10 / $0.34
    Has every key capability
    20% less
  • Ministral 8B 2512
    Mistral AI · on Mistral AI
    $0.15 / $0.15
    Has every key capability
    25% less

Call it

Using Fireworks AI's API.

Python
from litellm import completion

response = completion(
    model="fireworks_ai/qwen3-4b-instruct-2507",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Quick answers

How much does Qwen3 4B Instruct 2507 cost?

On Fireworks AI, Qwen3 4B Instruct 2507 costs $0.20 per million input tokens and $0.20 per million output tokens.

Which APIs offer Qwen3 4B Instruct 2507?

Qwen3 4B Instruct 2507 runs on 1 API: Fireworks AI.

What is Qwen3 4B Instruct 2507's context window?

262K tokens, with up to 262K tokens in one reply.

Is Qwen3 4B Instruct 2507 being retired?

No retirement date is scheduled for it on any API we track.

What are cheaper alternatives to Qwen3 4B Instruct 2507?

Models that cost less and keep most of what it can do: Qwen3.8 Flash on AIHubMix (10% less). Savings are on a mix of 3 input tokens to 1 output token.

What is Qwen3 4B Instruct 2507's API model id?

Use qwen3-4b-instruct-2507 with Fireworks AI.

Sources

Raw catalog entry for qwen3-4b-instruct-2507 on Fireworks AI
{
  "max_input_tokens": 262144,
  "max_output_tokens": 262144,
  "input_cost_per_token": 2e-7,
  "output_cost_per_token": 2e-7,
  "litellm_provider": "fireworks_ai",
  "mode": "chat"
}