Qwen3-4B-Instruct-2507: Optimized for Qualcomm Devices

The Qwen3-4B-Instruct-2507 is a state-of-the-art multilingual instruct language model with 4 billion parameters, excelling in language understanding, generation, coding, and mathematics. Unlike the base Qwen3-4B, this variant has only instruct training without thinking mode support.

This is based on the implementation of Qwen3-4B-Instruct-2507 found here. This repository contains pre-exported model files optimized for Qualcomm® devices. You can use the Qualcomm® AI Hub Models library to export with custom configurations. More details on model performance across various devices, can be found here.

Qualcomm AI Hub Models uses Qualcomm AI Hub Workbench to compile, profile, and evaluate this model. Sign up to run these models on a hosted Qualcomm® device.

Deploying Qwen3-4B-Instruct-2507 on-device

Follow the GenieX quickstart to install GenieX and deploy the model on a target device.

See the LLM-on-Genie tutorial to run with the Genie runtime. Note: Genie support will be deprecated soon.

Getting Started

There are two ways to deploy this model on your device:

Option 1: Download Pre-Exported Models

Below are pre-exported model assets ready for deployment.

Runtime Precision Chipset SDK Versions Download
GENIE w4a16 Snapdragon® 8 Elite Gen 5 Mobile QAIRT 2.45 Download
GENIE w4a16 Snapdragon® 8 Elite Mobile QAIRT 2.45 Download
GENIE w4a16 Snapdragon® X2 Elite QAIRT 2.45 Download
GENIE w4a16 Snapdragon® X Elite QAIRT 2.45 Download
GENIE w4a16 Qualcomm® Dragonwing™ IQ-8275 QAIRT 2.45 Download
GENIE w4a16 Qualcomm® SA8775P QAIRT 2.45 Download
GENIE w4a16 Qualcomm® Dragonwing™ IQ-9075 QAIRT 2.45 Download
GENIEX_LLAMACPP q4_0 Universal Download
GENIEX_QAIRT w4a16 Snapdragon® 8 Elite Gen 5 Mobile QAIRT 2.45 Download
GENIEX_QAIRT w4a16 Snapdragon® 8 Elite Mobile QAIRT 2.45 Download
GENIEX_QAIRT w4a16 Snapdragon® X2 Elite QAIRT 2.45 Download
GENIEX_QAIRT w4a16 Snapdragon® X Elite QAIRT 2.45 Download
GENIEX_QAIRT w4a16 Qualcomm® Dragonwing™ IQ-8275 QAIRT 2.45 Download
GENIEX_QAIRT w4a16 Qualcomm® Dragonwing™ IQ-9075 QAIRT 2.45 Download

For more device-specific assets and performance metrics, visit Qwen3-4B-Instruct-2507 on Qualcomm® AI Hub.

Option 2: Export with Custom Configurations

Use the Qualcomm® AI Hub Models Python library to compile and export the model with your own:

  • Custom weights (e.g., fine-tuned checkpoints)
  • Custom input shapes
  • Target device and runtime configurations

This option is ideal if you need to customize the model beyond the default configuration provided here.

See our repository for Qwen3-4B-Instruct-2507 on GitHub for usage instructions.

Model Details

Model Type: Model_use_case.text_generation

Model Stats:

  • Response Rate: Rate of response generation after the first response token. Measured on a short prompt with a long response; may slow down when using longer context lengths.
  • Supported languages: 100+ languages and dialects.
  • TTFT: Time To First Token is the time it takes to generate the first response token. This is expressed as a range because it varies based on the length of the prompt. The lower bound is for a short prompt (up to 128 tokens, i.e., one iteration of the prompt processor) and the upper bound is for a prompt using the full context length (4096 tokens).

Performance Summary

Model Runtime Precision Chipset Context Length Response Rate (tokens per second) Time To First Token (range, seconds)
Qwen3-4B-Instruct-2507 GENIE w4a16 Snapdragon® 8 Elite Gen 5 Mobile 4096 31.816884422302245 0.051482599999999996 - 1.6474431999999999
Qwen3-4B-Instruct-2507 GENIE w4a16 Snapdragon® 8 Elite Mobile 4096 27.311995697021484 0.0677441 - 2.1678112
Qwen3-4B-Instruct-2507 GENIE w4a16 Snapdragon® X2 Elite 4096 32.163973808288574 0.07509 - 2.40288
Qwen3-4B-Instruct-2507 GENIE w4a16 Snapdragon® X Elite 4096 6.400819301605225 0.105574 - 3.378368
Qwen3-4B-Instruct-2507 GENIE w4a16 Qualcomm® Dragonwing™ IQ-9075 4096 19.92993297576904 0.10179260000000001 - 3.2573632000000003
Qwen3-4B-Instruct-2507 GENIE w4a16 Qualcomm® Dragonwing™ IQ-X7181 4096 6.400819301605225 0.105574 - 3.378368
Qwen3-4B-Instruct-2507 GENIE w4a16 Qualcomm® Dragonwing™ Q-8750 4096 27.311995697021484 0.0677441 - 2.1678112
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Snapdragon® 8 Elite Gen 5 Mobile 512 21.861907 4.124094 - 16.496376
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Snapdragon® 8 Elite Gen 5 Mobile 512 20.277427 1.7741 - 7.0964
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Snapdragon® 8 Elite Gen 5 Mobile 512 13.51815 0.476148 - 1.904592
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Snapdragon® 8 Elite Gen 5 Mobile 4096 6.70875 106.69319 - 3414.18208
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Snapdragon® 8 Elite Gen 5 Mobile 4096 11.076242 39.35930200000001 - 1259.4976640000002
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Snapdragon® 8 Elite Gen 5 Mobile 4096 12.065728 6.093308 - 194.985856
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Snapdragon® 8 Elite Mobile 512 21.83 1.1914500000000001 - 4.7658000000000005
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Snapdragon® 8 Elite Mobile 512 21.67 1.244175 - 4.9767
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Snapdragon® 8 Elite Mobile 512 17.93 0.23935 - 0.9574
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Snapdragon® 8 Elite Mobile 1024 19.05 12.245700000000001 - 12.245700000000001
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Snapdragon® 8 Elite Mobile 1024 19.02 12.5998 - 12.5998
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Snapdragon® 8 Elite Mobile 1024 16.24 2.3186 - 2.3186
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Snapdragon® 8 Elite Mobile 4096 7.43 3.377809375 - 108.0899
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Snapdragon® 8 Elite Mobile 4096 8.14 3.780953125 - 120.9905
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Snapdragon® 8 Elite Mobile 4096 11.74 0.488 - 15.616
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Snapdragon® X2 Elite 512 31.584101 1.115459 - 4.461836
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Snapdragon® X2 Elite 512 27.106096 0.9719450000000001 - 3.8877800000000002
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Snapdragon® X2 Elite 512 25.978111 0.372756 - 1.491024
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Snapdragon® X2 Elite 4096 18.411282 18.38542 - 588.33344
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Snapdragon® X2 Elite 4096 22.075444 15.647621 - 500.723872
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Snapdragon® X2 Elite 4096 14.801066 3.865796 - 123.705472
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Snapdragon® X Elite 512 23.961166 2.077057 - 8.308228
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Snapdragon® X Elite 512 20.549592 2.128383 - 8.513532
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Snapdragon® X Elite 512 12.899615 0.96085 - 3.8434
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Snapdragon® X Elite 4096 7.773269 42.219559999999994 - 1351.0259199999998
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Snapdragon® X Elite 4096 11.708831 43.047499 - 1377.519968
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Snapdragon® X Elite 4096 6.126258 11.160575000000001 - 357.13840000000005
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-8275 512 3.893702 15.624039 - 62.496156
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-8275 512 2.531282 22.960773 - 91.843092
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-8275 512 9.150978 1.254424 - 5.017696
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-8275 4096 1.183452 182.75677299999998 - 5848.216735999999
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-8275 4096 1.931728 283.875829 - 9084.026528
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-8275 4096 4.943807 12.994411 - 415.821152
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-9075 512 16.567456 6.919445 - 27.67778
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-9075 512 7.925028 7.833494 - 31.333976
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-9075 512 11.404724 1.142653 - 4.570612
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-X7181 512 23.961166 2.077057 - 8.308228
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-X7181 512 20.549592 2.128383 - 8.513532
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-X7181 512 12.899615 0.96085 - 3.8434
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ Q-8750 512 21.83 1.1914500000000001 - 4.7658000000000005
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ Q-8750 512 21.67 1.244175 - 4.9767
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ Q-8750 512 17.93 0.23935 - 0.9574
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ Q-8750 1024 19.05 12.245700000000001 - 12.245700000000001
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ Q-8750 1024 19.02 12.5998 - 12.5998
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ Q-8750 1024 16.24 2.3186 - 2.3186
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-9075 4096 10.592799 87.13177999999999 - 2788.2169599999997
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-9075 4096 5.71345 100.728905 - 3223.32496
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-9075 4096 5.810914 12.2403 - 391.6896
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-X7181 4096 7.773269 42.219559999999994 - 1351.0259199999998
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-X7181 4096 11.708831 43.047499 - 1377.519968
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ IQ-X7181 4096 6.126258 11.160575000000001 - 357.13840000000005
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ Q-8750 4096 7.43 3.377809375 - 108.0899
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ Q-8750 4096 8.14 3.780953125 - 120.9905
Qwen3-4B-Instruct-2507 GENIEX_LLAMACPP q4_0 Qualcomm® Dragonwing™ Q-8750 4096 11.74 0.488 - 15.616
Qwen3-4B-Instruct-2507 GENIEX_QAIRT w4a16 Snapdragon® 8 Elite Gen 5 Mobile 4096 31.386745 0.050881 - 1.628192
Qwen3-4B-Instruct-2507 GENIEX_QAIRT w4a16 Snapdragon® 8 Elite Mobile 4096 20.606837 0.163256 - 5.224192
Qwen3-4B-Instruct-2507 GENIEX_QAIRT w4a16 Snapdragon® X2 Elite 4096 43.624625 0.048430999999999995 - 1.5497919999999998
Qwen3-4B-Instruct-2507 GENIEX_QAIRT w4a16 Snapdragon® X Elite 4096 22.711143 0.098966 - 3.166912
Qwen3-4B-Instruct-2507 GENIEX_QAIRT w4a16 Qualcomm® Dragonwing™ IQ-8275 4096 17.642804 0.099415 - 3.18128
Qwen3-4B-Instruct-2507 GENIEX_QAIRT w4a16 Qualcomm® Dragonwing™ IQ-9075 4096 20.105352 0.095956 - 3.070592
Qwen3-4B-Instruct-2507 GENIEX_QAIRT w4a16 Qualcomm® Dragonwing™ IQ-X7181 4096 22.711143 0.098966 - 3.166912
Qwen3-4B-Instruct-2507 GENIEX_QAIRT w4a16 Qualcomm® Dragonwing™ Q-8750 4096 20.606837 0.163256 - 5.224192

License

  • The license for the original implementation of Qwen3-4B-Instruct-2507 can be found here.

References

Community

Usage and Limitations

This model may not be used for or in connection with any of the following applications:

  • Accessing essential private and public services and benefits;
  • Administration of justice and democratic processes;
  • Assessing or recognizing the emotional state of a person;
  • Biometric and biometrics-based systems, including categorization of persons based on sensitive characteristics;
  • Education and vocational training;
  • Employment and workers management;
  • Exploitation of the vulnerabilities of persons resulting in harmful behavior;
  • General purpose social scoring;
  • Law enforcement;
  • Management and operation of critical infrastructure;
  • Migration, asylum and border control management;
  • Predictive policing;
  • Real-time remote biometric identification in public spaces;
  • Recommender systems of social media platforms;
  • Scraping of facial images (from the internet or otherwise); and/or
  • Subliminal manipulation
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Paper for qualcomm/Qwen3-4B-Instruct-2507