models

qwen2-1.5b-instruct

Markdown · JSON

qwen2-1.5b-instruct

A text-only Qwen2 Instruct route with a 32,000-token input limit and sampling/output controls.

About the model

This description covers the model’s capabilities. Available in Ailoot inputs, outputs and options are listed for the selected method below.

qwen2-1.5b-instruct is a text-to-text instruction route with a maximum listed text input of 32,000 tokens. A concrete task is extracting a few named fields from a short support message, returning an empty value for fields absent from the source. This bounded task makes the requested result easy to inspect without assuming a size-based quality guarantee.

The /v1/chat/completions method exposes max_tokens or max_completion_tokens, temperature, top_p, seed and stop alongside optional streaming. Its service_tier values are empty, auto or default; no numeric output ceiling is published here. The 1.5B Instruct label identifies the selection, but the record does not establish a language-specific quality claim or image-input capability.

Ailoot Ultra · Chat Completions POST /v1/chat/completions qwen2-1.5b-instruct

qwen2-1.5b-instruct

Alibaba /qwen2-1.5b-instruct

Overview

A text-only Qwen2 Instruct route with a 32,000-token input limit and sampling/output controls.

Accepted inputs
Text
Results
Text

Available in Ailoot · inputs & methods

Ailoot Ultra · Chat Completions POST /v1/chat/completions
Input types
text
Output types
text
Context
32,000 tokens
Output format
JSON or supported SSE
FieldTypeRequirementValues & limitsDefault
FieldmodelTypestringRequirementRequiredValues & limits
qwen2-1.5b-instruct
Default—
FieldmessagesTypearrayRequirementRequiredValues & limitsDefault—
FieldstreamTypebooleanRequirementOptionalValues & limitsDefaultfalse
Fieldmax_tokensTypeintegerRequirementOptionalValues & limits
Minimum: 1
Default—
Fieldmax_completion_tokensTypeintegerRequirementOptionalValues & limits
Minimum: 1
Default—
FieldnTypeintegerRequirementOptionalValues & limits
Minimum: 1
Default—
FieldtemperatureTypenumberRequirementOptionalValues & limitsDefault—
Fieldtop_pTypenumberRequirementOptionalValues & limitsDefault—
FieldseedTypeintegerRequirementOptionalValues & limitsDefault—
FieldstopTypeRequirementOptionalValues & limitsDefault—
Fieldfrequency_penaltyTypenumberRequirementOptionalValues & limitsDefault—
Fieldpresence_penaltyTypenumberRequirementOptionalValues & limitsDefault—
FielduserTypestringRequirementOptionalValues & limitsDefault—
FieldtoolsTypearrayRequirementOptionalValues & limitsDefault—
Fieldservice_tierTypestringRequirementOptionalValues & limits
, auto, default
Default—
FieldmodalitiesTypearrayRequirementOptionalValues & limitsDefault—
Method parameters and lifecycle
ParameterContract
Parametercontent_typeContractapplication/json
ParameterrequiredContractmodel, messages
ParameteroptionalContractstream, max_tokens, max_completion_tokens, n, temperature, top_p, seed, stop, frequency_penalty, presence_penalty, user, tools, service_tier, modalities
Parametermaterial_typesContracttext
ParameterconditionsContractUse text input and text output. Explicit cache, hosted tools and media are unavailable. Standard function tools remain a protocol feature and run in the client.

Lifecycle: synchronous_json_or_sse

Pricing

Tariff references do not add request options. Supported parameters are listed for the selected method.

Fast mode
Standard rate When fast mode is selected
Flex mode
Standard rate When flex mode is selected
Maximum reasoning effort
Standard rate When maximum reasoning effort uses the default adjustment
Explicit cache pricing
Not enabled When explicit cache is requested
Text-only zero rates
Cache, tools and media follow their separately listed pricing conditions. For text-only input and output

Ailoot rates

Prices by configuration

ConfigurationRate scheduleCharge
ConfigurationBase token ratesRate scheduleBase rateCharge
Input · Input tokens $0 / 1K tokens
Output · Output tokens $0 / 1K tokens
Input · Cache read $0 / 1K tokens
Input · Cache write $0 / 1K tokens
Input · Cache write, 1 hour — / 1K tokens

Ailoot reserves an estimated amount before a request. After the result, it settles the final charge from measured usage. Streaming settlement uses the final usage record. How reservation and settlement work →

Example requests

Ailoot Ultra · Chat Completions

curl · create once and retain the complete result
set -eu
: "${AILOOT_API_KEY:?Set your Ailoot API key}"
export AILOOT_API_KEY
python3 - <<'PY_REQUEST'
import json,os
from pathlib import Path
p=json.loads('{"model": "qwen2-1.5b-instruct", "messages": [{"role": "user", "content": "Summarize the supplied text in three concise points."}], "stream": false}')

Path("request.json").write_text(json.dumps(p,ensure_ascii=False))
PY_REQUEST
curl --fail-with-body --silent --show-error https://api.ailoot.ai/v1/chat/completions \
  -H "Authorization: Bearer $AILOOT_API_KEY" -H 'Content-Type: application/json' \
  --data-binary @request.json -D response-headers.txt -o result.json
# Submit once. Retain the complete result, original identifiers and every response header.

Receive and save results

Ailoot Ultra · Chat Completions

JSON or supported SSE

Keep all completed results

Keep every complete returned response, file and content part.

Retain the complete response, all actual results, original identifiers, usage and response headers.

If the original response needs checking

Preserve the original response, headers and X-Client-Request-ID. An uncertain outcome does not authorize another creation.

Aliases

Model aliases

Ailoot Ultra qwen2-1.5b-instruct

Method path aliases

Use the method paths shown above.

Related caller IDs

qwen2-1.5b-instruct

FAQ · qwen2-1.5b-instruct
What inputs and results are available?

POST /v1/chat/completions · qwen2-1.5b-instruct: text → text

Which fields does the request use?

POST /v1/chat/completions · qwen2-1.5b-instruct: model, messages, stream, max_tokens, max_completion_tokens, n, temperature, top_p, seed, stop, frequency_penalty, presence_penalty, user, tools, service_tier, modalities

What limits apply?

POST /v1/chat/completions · qwen2-1.5b-instruct: ctx: 32000; max_tokens.minimum: 1; max_completion_tokens.minimum: 1; n.minimum: 1

More details

Connect Ailoot to Claude Code, OpenCode, Hermes or your own app.

The company and its project portfolio

The company and its project portfolio: millions of customers; monthly sales in the billions.

Buy tokens at a discount.

Subscription discounts for regular use. Promo codes offer up to 50% off token purchases.

Subscription
Choose a discounted plan for your regular requests.
Promo code: up to 50% off
Enter your code at checkout. The price updates to reflect the current promotion.
Spending in your history
The model, tokens and amount are recorded for each request.

Choose a subscription · View model prices

Connect the API to a product you sell.

Use Ailoot in SaaS, apps and bots under its official service offer and licence agreement. Request a reseller licence for resale.

Commercial application
Add text, image, video and audio generation to paid features in your service.
Reseller licence
Send a description of your project and how you provide access. Request written terms for use and resale.
Documents on the website
The service offer, licence agreement and data processing policy are available before you connect.

Request a reseller licence · Service offer and licence agreement