LLM ReferenceLLM Reference
Replicate API

Qwen1.5-1.8B on Replicate API

Qwen1.5 · Alibaba

Serverless

Last refreshed 2026-04-19. Next refresh: weekly.

Why use Qwen1.5-1.8B on Replicate API?

Replicate API offers Qwen1.5-1.8B 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-1.8B across 4 providers to find the best fit for your use case
Input / 1M
$0.050
Output / 1M
$0.25
Cache
Not sourced
Batch
Not sourced

Setup recipe

Python + curl
Install
pip install replicate
Auth
export REPLICATE_API_TOKEN=...
Call
import replicate
output = replicate.run(
    "qwen1.5-1.8b",
    input={"prompt": "Hello"}
Model ID
qwen1.5-1.8b

Request example

import replicate

# reads REPLICATE_API_TOKEN from env
# qwen1.5-1.8b format: "owner/model-name" (latest version) or "owner/model-name:version-hash"
output = replicate.run(
    "qwen1.5-1.8b",
    input={"prompt": "Hello"}
)
# Output is a list or generator depending on the model
print("".join(output))

Gotchas

  • 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-1.8B Across Providers

ProviderInput (per 1M)Output (per 1M)
Alibaba Cloud PAI-EAS
Cloudflare Workers AI
Together AI$0.10$0.10
Replicate API$0.05$0.25

Pricing

TypePrice (per 1M)
Input tokens$0.05
Output tokens$0.25

Capabilities

Structured Outputs

FAQ

What does Qwen1.5-1.8B cost on Replicate API?

On Replicate API, Qwen1.5-1.8B costs $0.05 per 1M input tokens and $0.25 per 1M output tokens.

How does Replicate API compare to other Qwen1.5-1.8B providers?

Qwen1.5-1.8B is available from 4 providers. The cheapest input pricing is $0.05/1M tokens from Replicate API.

Who created Qwen1.5-1.8B?

Qwen1.5-1.8B was created by Alibaba as part of the Qwen1.5 model family.

Is Qwen1.5-1.8B open source?

Qwen1.5-1.8B is open source under Apache 2.0 according to the seed data.

Get Started

Model Specs

Released2024-02-05
Parameters1.8B
ArchitectureDecoder Only