Back to All
Developer Blog

GenieX developer preview: run generative AI on Qualcomm chipsets with just a few lines of code

Sign up for Developer monthly newsletter-image

Sign up for Developer monthly newsletter

Join thousands of developers around the globe who receive latest news and updates from our monthly curated newsletter.

Sign up

GenieX is an open-source runtime for running Generative AI models on Qualcomm devices with a few lines of code – built by the Nexa AI team, which joined Qualcomm through acquisition earlier this year. This article walks through what’s included in the Developer Preview and how to run a model across Windows, Android, and Linux.

Earlier this year, Qualcomm acquired Nexa AI, and the Nexa team has shipped a product today that brings a significant update to the Qualcomm AI Hub ecosystem. Existing NexaSDK users can continue using it seamlessly.

We're introducing GenieX — the easiest way to run any Generative AI on Qualcomm devices and available now as a developer preview on GitHub

On-device generative AI has crossed a threshold. Language model capabilities that once required cloud-scale infrastructure can now run efficiently on-device. However, the developer experience is still catching up. Running Gen AI models with NPU acceleration takes more effort than expected, even though the payoff is clear: lower latency and higher throughput at a fraction of the power. Bridging that gap to the NPU is important for developers to build the next generation of on-device AI experiences.

GenieX gives developers a seamless path from optimized Gen AI models to on-device execution, in minutes. This runtime is built around a key principle: run and integrate the latest generative AI models with just a few lines of code, across NPU, GPU and CPU and on Windows, Android and Linux. GenieX is open sourced under the BSD-3-Clause license. It is designed to grow with the open-source community — we welcome everyone to contribute and will feature our contributors.

GenieX extends the Qualcomm AI Stack and provides a streamlined path for developers to bring any powerful AI capabilities on-device, enabling privacy, controlled cloud inference costs and low-latency experiences for end users. 

Fast generative AI model onboarding on device

GenieX is the fastest path to run any generative AI models on Qualcomm devices:

  • Run any Hugging Face GGUF models.

  • Run Gen AI models on Qualcomm AI Hub Models, and we've widened the list even more with latest models like Qwen 3.5, Qwen3, Gemma 4, Granite 4, Ministral-3, Phi-4, GPT-OSS etc.

  • Build multimodal and agentic workflows easily.
Qualcomm AI Hub Models Page
Qualcomm AI Hub Models Page

Out of the box experience with the tools you already use

GenieX Architecture
GenieX Architecture

GenieX combines the power of llama.cpp and Qualcomm AI Runtime (QAIRT) so developers get broad model coverage and optimal NPU performance in one stack. Whatever platform you ship to and whatever language you work in, GenieX gives you the plug-and-play, easy path to Qualcomm silicon on NPU, GPU, and CPU across Windows, Android, and Linux with friendly developer tooling:

  • Simple, one-click installation across platforms - Windows, Android, and Linux.
  • Windows: CLI (Command Line Interface), Python Package, and local server.
  • Android: native Maven package for in-app inference.
  • Linux: Docker containers, CLI, Python Package, and local server.
  • OpenAI-Compatible Local Server APIs for easy integration with external tools.
Join Developer Discord

Come for support, stay for the community

Get support from experts, connect with like-minded developers, and access exclusive virtual events.

Windows

Command line interface, OpenAI-compatible API.

Fetch and run models with one line of code directly in the terminal and integrate with external local agent tools like OpenClaw.

geniex infer ai-hub-models/Qwen2.5-VL-7B-Instruct
Running VLM in GenieX CLI on Windows
Running VLM in GenieX CLI on Windows

Android

Native Maven package for in-app inference. Integrate generative AI into an Android app using the same idioms developers already use for any other Android library.

Or you can get started with a sample demo app.


val paths = ModelManagerWrapper.getPaths("unsloth/Qwen3.5-2B-GGUF")
    ?: error("Model not downloaded")

val llm = LlmWrapper.builder()
    .llmCreateInput(
        LlmCreateInput(
            model_name = paths.model_name,
            model_path = paths.model_path,
            config     = ModelConfig(nCtx = 4096),
            runtime_id = "llama_cpp",
            compute_unit = null,   // null → NPU on Snapdragon (recommended)
        )
    )
    .build()
    .getOrThrow()

val chat = arrayListOf(ChatMessage("user", "What is 15 times 15"))
Running VLM on Android using GenieX
Running VLM on Android using GenieX

Linux

Docker containers, CLI, and OpenAI-compatible API. Built for Linux ARM64 systems. Fetch and run models with one line of code.


geniex infer google/gemma-4-E2B-it-qat-q4_0-gguf
Running VLM on Linux (IoT device) using GenieX
Running VLM on Linux (IoT device) using GenieX

Python

Import it, load a model, and call it from your own code. Python API is designed with the same Hugging Face transformers experience.

from geniex import AutoModelForCausalLM

model = AutoModelForCausalLM.from_pretrained(
    "unsloth/GPT-OSS-20B-GGUF",
    device_map="auto",
)

messages = [{"role": "user", "content": "What is 2+2?"}]

prompt = model.tokenizer.apply_chat_template(
    messages, add_generation_prompt=True,
)

print(model.generate(prompt, max_new_tokens=256).text)
Using GenieX with Python
Using GenieX with Python

What “developer preview” means?

This is an early release for developers who want to start building with GenieX ahead of general availability. The runtime is stable for the workflows above. Between now and GA, expect expanded model coverage, additional integrations, broader platform support, and more.

We're shipping early because we want feedback from real builders, and because we want partners and the wider on-device AI community to start integrating it. We welcome all developers to contribute to our repo.

Next steps

We look forward to seeing the amazing on-device AI experiences you build and hearing your feedback.

Qualcomm acquired Nexa AI and this product is brought you by the former Nexa team. Existing NexaSDK users can continue using it seamlessly.

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries ("Qualcomm"). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.

Qualcomm branded products are products of Qualcomm Technologies, Inc. and/or its subsidiaries.

About the Authors
Alan Zhu
Alan ZhuSenior Product Manager, Qualcomm
Zack Li
Zack LiSr. Staff Engineer, Qualcomm
Alex Chen
Alex ChenPrincipal Engineer/Manager, Qualcomm
Qualcomm relentlessly innovates to deliver intelligent computing everywhere, helping the world tackle some of its most important challenges. Our leading-edge AI, high performance, low-power computing, and unrivaled connectivity deliver proven solutions that transform major industries. At Qualcomm, we are engineering human progress.

Stay connected

Get the latest Qualcomm and industry information delivered to your inbox.

Subscribe
Manage your subscription

© Qualcomm Technologies, Inc. and/or its affiliated companies.

Snapdragon and Qualcomm branded products are products of Qualcomm Technologies, Inc. and/or its subsidiaries. Qualcomm patented technologies are licensed by Qualcomm Incorporated.

Note: Certain services and materials may require you to accept additional terms and conditions before accessing or using those items.

References to "Qualcomm" may mean Qualcomm Incorporated, or subsidiaries or business units within the Qualcomm corporate structure, as applicable.

Qualcomm Incorporated includes our licensing business, QTL, and the vast majority of our patent portfolio. Qualcomm Technologies, Inc., a subsidiary of Qualcomm Incorporated, operates, along with its subsidiaries, substantially all of our engineering, research and development functions, and substantially all of our products and services businesses, including our QCT semiconductor business.

Materials that are as of a specific date, including but not limited to press releases, presentations, blog posts and webcasts, may have been superseded by subsequent events or disclosures.

Nothing in these materials is an offer to sell or license any of the services or materials referenced herein.