Qwen 1.5 (1.8B) API

Qwen 1.5 (1.8B): The Latest Iteration of Alibaba Cloud's Large Language Model Series
Output
$0.105 / 1M

Overview

The Qwen 1.5 (1.8B), the newest iteration in their Qwen series of large language models. This impressive model series spans from 0.5 billion to 72 billion parameters. Aiming to surpass its competitors, Qwen 1.5 has made significant strides in delivering enhanced performance and aligning with human preferences.

Qwen 1.5 (1.8B) Description

Qwen 1.5 (1.8B), the beta version of Qwen2, is a transformer-based, decoder-only language model. It's been pre-trained on substantial amounts of data. This model series includes various model sizes - 0.5B, 1.8B, 4B, 7B, 14B, and 72B. Each model size includes a base language model and an aligned chat model.

The core architecture of Qwen1.5 is based on Transformer with SwiGLU activation, attention QKV bias, group query attention, mixture of sliding window attention and full attention, and more. The model supports a context length of 32K tokens, enabling it to process and generate longer text sequences. It has multilingual capabilities, with an improved tokenizer adaptive to multiple natural languages and codes.

How It Compares to Competitors

Qwen 1.5 offers stiff competition to other large language models. When compared to other models like Claude 2.1, GPT-3.5-Turbo, and Mixtral, Qwen 1.5 demonstrates superior performance.

In basic capabilities, such as language understanding and reasoning, Qwen 1.5 shows strong performance across traditional benchmarks. In terms of alignment with human preferences, Qwen 1.5 chat models have demonstrated impressive performance on benchmarks like MT-Bench and AlpacaEval.

In terms of multilingual capabilities, Qwen 1.5 has shown impressive performance across a diverse set of languages. It has been evaluated on a number of benchmarks which cover exams, understanding, translation, and math.

Tips

When using Qwen 1.5, it's recommended to install transformers>=4.37.0 to avoid errors. Moreover, it's advisable not to use base language models for text generation. Instead, consider applying post-training techniques like SFT, RLHF, or continued pretraining on this model.

License Agreement

Check the license of each model inside its HF repo. It is NOT necessary for you to submit a request for commercial usage.

Conclusion

Qwen 1.5 (1.8B) represents a significant milestone in the development of large language models. Its impressive capabilities and competitive performance make it a promising tool for various applications. As the model continues to evolve, it's likely to offer even more advanced features and improved performance.

Use cases

  • Text Generation: Qwen 1.5 can generate human-like text based on the given context or prompt. It can be used for drafting emails, writing articles, generating creative content, and more.
  • Chatbots: With the chat models in Qwen 1.5, one can build conversational agents capable of carrying out engaging and coherent dialogues. This can be leveraged to provide customer support, create interactive experiences, and more.
  • Content Moderation: The model can be used to moderate content, identifying inappropriate or harmful text in user-generated content. This can help maintain a safe and positive environment on digital platforms.
  • Multilingual Applications: Thanks to its multilingual capabilities, Qwen 1.5 can be deployed in applications that deal with multiple languages. This includes translation services, multilingual content generation, and more.

How to use Qwen 1.5 (1.8B) API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to .

OpenAI-compatible — swap the base URL and it works with your existing SDK.

Qwen 1.5 (1.8B) API Pricing

TypePrice
Input
$0.105 / 1M
Output
$0.105 / 1M

Qwen 1.5 (1.8B) vs other models

ModelInputOutputContextBest for
$0.105 / 1M
$0.105 / 1M
$1.26 / 1M
$1.26 / 1M
$0.945 / 1M
$0.945 / 1M
$0.21 / 1M
$0.21 / 1M
$0.84 / 1M
$0.84 / 1M

Frequently asked questions

Qwen 1.5 (1.8B) is priced at input $0.105 / 1M, output $0.105 / 1M.

Yes, Qwen 1.5 (1.8B) can stream responses as they are generated.

Yes, Qwen 1.5 (1.8B) supports both function calling and structured outputs.

Qwen 1.5 (1.8B) was built by Alibaba Cloud.

Start building with Qwen 1.5 (1.8B)

Get API Key
1000+ models, one API.