Last refreshed 2026-05-19. Next refresh: weekly.
Why use Qwen1.5-7B on Replicate API?
Replicate API offers Qwen1.5-7B with pay-as-you-go pricing at $0.05/1M input tokens. Replicate is a cloud-based platform that enables users to run machine learning models easily and efficiently.
Compare Qwen1.5-7B across 3 providers to find the best fit for your use caseInput / 1M
$0.050
Output / 1M
$0.25
Cache
Not sourced
Batch
Not sourced
Setup recipe
Python + curlInstall
pip install replicateAuth
export REPLICATE_API_TOKEN=...Call
import replicate
output = replicate.run(
"lucataco/qwen1.5-7b",
input={"prompt": "Hello"}Model ID
lucataco/qwen1.5-7bRequest example
import replicate
# reads REPLICATE_API_TOKEN from env
# lucataco/qwen1.5-7b format: "owner/model-name" (latest version) or "owner/model-name:version-hash"
output = replicate.run(
"lucataco/qwen1.5-7b",
input={"prompt": "Hello"}
)
# Output is a list or generator depending on the model
print("".join(output))Gotchas
- Use provider model ID "lucataco/qwen1.5-7b", not the LLMReference slug "qwen1.5-7b".
- Replicate uses "owner/model-name" format (e.g. "meta/meta-llama-3-8b-instruct") for the latest version, or "owner/model-name:version-sha" to pin to a specific version. The REST endpoint splits owner and model-name into the path: /v1/models/{owner}/{model-name}/predictions.
- The examples expect REPLICATE_API_TOKEN; rename it only if your application config maps the new variable.
Compare Qwen1.5-7B Across Providers
| Provider | Input (per 1M) | Output (per 1M) |
|---|---|---|
| Alibaba Cloud PAI-EAS | — | — |
| Together AI | $0.20 | $0.20 |
| Replicate API | $0.05 | $0.25 |
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.05 |
| Output tokens | $0.25 |
Capabilities
Structured Outputs
About Qwen1.5-7B
Qwen1.5-7B is Alibaba's Qwen1.5 model. It scores 42.5 on the GPQA benchmark.
Get Started
Model Specs
Released2024-02-05
Parameters7B
Context32k
ArchitectureDecoder Only