models

Qwen2.5-Math-1.5B

Markdown · JSON

Qwen2.5-Math-1.5B

Qwen2.5-Math-1.5B-Instruct is Alibaba’s mathematics-focused instruction model for English and Chinese problems, with stepwise and tool-integrated reasoning described by the maker.

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.5-Math-1.5B-Instruct is the instruction-tuned 1.5B mathematics model from Alibaba’s Qwen2.5-Math series. Its maker scope centers on English and Chinese mathematical problems, using stepwise reasoning and tool-integrated reasoning. Choose a mathematical task with an explicit problem statement and a result that can be checked.

Preserve the whole mathematical statement

Supply definitions, assumptions, units and constraints together. Keep equations in readable notation and identify the unknown quantities. For a proof, state the claim and the allowed assumptions; for a calculation, specify the required precision and any domain restrictions.

Keep computation observable

The maker’s tool-integrated approach combines reasoning with program-based computation. If the surrounding application supplies a calculator or code runner, retain its actual output with the reasoning that uses it. A proposed computation is distinct from an executed result.

Check the conclusion independently

Substitute a numerical answer back into the original equations. For a proof, inspect each implication and the boundary cases. Save the problem, reasoning and checked result together. The model’s specialized profile is mathematics; its tool-integrated approach does not itself supply an execution environment.

Ailoot Ultra · OpenAI Chat POST /v1/chat/completions qwen2.5-math-1.5b-instruct

qwen2.5-math-1.5b-instruct

Other /qwen2.5-math-1.5b-instruct

Overview

Qwen2.5-Math-1.5B-Instruct is Alibaba’s mathematics-focused instruction model for English and Chinese problems, with stepwise and tool-integrated reasoning described by the maker.

Accepted inputs
Text · Images
Results
Text

Available in Ailoot · inputs & methods

Ailoot Ultra · OpenAI Chat POST /v1/chat/completions
Input types
text, image
Output types
text
Output format
JSON or SSE
FieldTypeRequirementValues & limitsDefault
FieldmodelTypestringRequirementRequiredValues & limits
qwen2.5-math-1.5b-instruct
Conditions: Use this exact Ailoot routing selector.
Default—
FieldmessagesTypearrayRequirementRequiredValues & limits
Conditions:
Default—
FieldstreamTypebooleanRequirementOptionalValues & limits
Conditions:
Defaultfalse
Input material combinations

text_input · Required: messages

image_with_text · Required: messages with actual image content blocks

Method parameters and lifecycle
ParameterContract
Parametercontent_typeContractapplication/json
ParameterrequiredContractmodel, messages
ParameteroptionalContractstream
Parametermaterial_typesContracttext, image
ParameterconditionsContractUse this exact Ailoot routing selector., Image content is carried by this protocol where the exact selected model supports vision. Protocol admission does not establish image capability for every model.

Method aliases: /chat/completions

Lifecycle: synchronous_or_streamed

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 · OpenAI Chat

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.5-math-1.5b-instruct", "messages": [{"role": "user", "content": "Explain how a rainbow forms."}]}')

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 · OpenAI Chat

JSON or SSE

Keep all completed results

Keep every complete returned response, file and content part.

Retain every content block, tool-call ID, thinking signature when returned, all SSE deltas and complete usage. A first text fragment is not the whole result.

If the original response needs checking

Keep the original X-Client-Request-ID, response and headers. An unknown or result_pending_check outcome does not authorize a second creation.

Response fields
FieldType
Fieldchoices[]Typeobject
FieldusageTypeobject
Errors and next steps
ResponseConditionNext step
Response400 · invalid_request_errorConditionA required field, model selector, type or input representation is invalid.Next stepInspect the returned validation detail before preparing a separate request.
ResponseConditionThe original request or result is unknown or requires a check.Next stepKeep original identifiers and headers; read only supported status/library records. Do not submit creation again.

Aliases

Model aliases

Ailoot Ultra qwen2.5-math-1.5b-instruct

Method path aliases

/chat/completions

Related caller IDs

qwen2.5-math-1.5b-instruct

Ailoot Ultra · Anthropic Messages POST /v1/messages qwen2.5-math-1.5b-instruct

qwen2.5-math-1.5b-instruct

Other /qwen2.5-math-1.5b-instruct

Overview

Qwen2.5-Math-1.5B-Instruct is Alibaba’s mathematics-focused instruction model for English and Chinese problems, with stepwise and tool-integrated reasoning described by the maker.

Accepted inputs
Text · Images
Results
json · sse

Available in Ailoot · inputs & methods

Ailoot Ultra · Anthropic Messages POST /v1/messages
Input types
text, image
Output types
json, sse
Output format
JSON or SSE
FieldTypeRequirementValues & limitsDefault
FieldmodelTypestringRequirementRequiredValues & limits
qwen2.5-math-1.5b-instruct
Conditions: Use this exact Ailoot routing selector.
Default—
FieldmessagesTypearrayRequirementRequiredValues & limits
Conditions:
Default—
FieldstreamTypebooleanRequirementOptionalValues & limits
Conditions:
Defaultfalse
Fieldmax_tokensTypeintegerRequirementRequiredValues & limits
Minimum: 1
Conditions:
Default—
Input material combinations

text_input · Required: messages

image_with_text · Required: messages with actual image content blocks

Method parameters and lifecycle
ParameterContract
Parametercontent_typeContractapplication/json
ParameterrequiredContractmodel, messages, max_tokens
ParameteroptionalContractstream
Parametermaterial_typesContracttext, image
ParameterconditionsContractUse this exact Ailoot routing selector., Image content is carried by this protocol where the exact selected model supports vision. Protocol admission does not establish image capability for every model.

Lifecycle: synchronous_or_streamed

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 · Anthropic Messages

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.5-math-1.5b-instruct", "messages": [{"role": "user", "content": "Explain how a rainbow forms."}], "max_tokens": 256}')

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/messages \
  -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 · Anthropic Messages

JSON or SSE

Keep all completed results

Keep every complete returned response, file and content part.

Retain every content block, tool-call ID, thinking signature when returned, all SSE deltas and complete usage. A first text fragment is not the whole result.

If the original response needs checking

Keep the original X-Client-Request-ID, response and headers. An unknown or result_pending_check outcome does not authorize a second creation.

Response fields
FieldType
Fieldcontent[]Typeobject
FieldusageTypeobject
Errors and next steps
ResponseConditionNext step
Response400 · invalid_request_errorConditionA required field, model selector, type or input representation is invalid.Next stepInspect the returned validation detail before preparing a separate request.
ResponseConditionThe original request or result is unknown or requires a check.Next stepKeep original identifiers and headers; read only supported status/library records. Do not submit creation again.

Aliases

Model aliases

Ailoot Ultra qwen2.5-math-1.5b-instruct

Method path aliases

/chat/completions

Related caller IDs

qwen2.5-math-1.5b-instruct

FAQ · Qwen2.5-Math-1.5B
What inputs and results are available?

POST /v1/chat/completions · qwen2.5-math-1.5b-instruct: text, image → text

POST /v1/messages · qwen2.5-math-1.5b-instruct: text, image → json, sse

Which fields does the request use?

POST /v1/chat/completions · qwen2.5-math-1.5b-instruct: model, messages, stream

POST /v1/messages · qwen2.5-math-1.5b-instruct: model, messages, stream, max_tokens

What limits apply?

POST /v1/messages · qwen2.5-math-1.5b-instruct: max_tokens.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