β–²

Flutter Gems is a curated list of 7250+ useful Dart & Flutter packages that are categorized based on functionality.

Discord Medium LinkedIn X

Top Flutter ChatGPT, LLM and Generative AI packages

Last updated: May 18, 2026

Integrating ChatGPT, Large Language Models (LLMs), and Generative AI into a Flutter app can dramatically enhance user engagement by providing conversational interfaces, automated content generation, and personalized recommendations.

Best Practices for AI Integration

  • Secure API Keys: Never hardcode your OpenAI or Gemini API keys directly in the Flutter app. Always route requests through your own secure backend to prevent key theft.
  • Streaming Responses: Use streaming APIs (Server-Sent Events) to display AI responses character-by-character. This prevents the user from staring at a loading spinner for several seconds while the LLM generates a long response.
  • Context Management: Mobile devices have limited memory. When maintaining chat history, prune older messages before sending them to the LLM to stay within token limits and reduce API costs.

The complete list of Flutter packages that can help you integrate ChatGPT, OpenAI, Chatbots, LLMs, and Generative AI (like DALL-E or Midjourney) into your app is provided below.


google_generative_ai
πŸ‘ 911   β¬‡οΈ 100.8K
Dart 3 compatible
Maintenance Status: Average

The Google AI Dart SDK enables developers to use Google's state-of-the-art generative AI models (like Gemini).

dart_openai
πŸ‘ 574   β¬‡οΈ 20K
Dart 3 compatible
Maintenance Status: Good

Dart SDK for openAI Apis (GPT-3 & DALL-E), integrate easily the power of OpenAI's state-of-the-art AI models into their Dart applications.

flutter_gemini
πŸ‘ 433   β¬‡οΈ 3K
Dart 3 compatible
Maintenance Status: Average

Flutter Google Gemini SDK. Google Gemini is a set of cutting-edge large language models (LLMs) designed to be the driving force behind Google's future AI initiatives.

chat_gpt_sdk
πŸ‘ 348   β¬‡οΈ 3.3K
Dart 3 compatible
Maintenance Status: Average

create chat bot and other bot with ChatGPT SDK Support GPT-4 , 3.5 and SSE Generate Prompt (Stream)

flutter_gemma
πŸ‘ 338   β¬‡οΈ 12.7K
Dart 3 compatible
Maintenance Status: Good

A Flutter plugin for running Gemma and other LLMs locally on Android, iOS, Web, and Desktop. Supports multimodal vision, audio, function calling, thinking mode, GPU acceleration, text embeddings, and on-device RAG.

langchain
πŸ‘ 296   β¬‡οΈ 2.1K
Dart 3 compatible
Maintenance Status: Good

Build powerful LLM-based Dart and Flutter applications with LangChain.dart.

flutter_ai_toolkit
πŸ‘ 236   β¬‡οΈ 5.1K
Dart 3 compatible
Maintenance Status: Good

AI chat widget for Flutter apps targeting mobile, desktop, and web supporting text, image, and voice input.

dart_mcp
πŸ‘ 81   β¬‡οΈ 130.2K
Dart 3 compatible
Maintenance Status: Good

A package for making MCP servers and clients.

firebase_ai
πŸ‘ 112   β¬‡οΈ 63.7K
Dart 3 compatible
Maintenance Status: Good

Firebase AI Logic SDK.

genui
πŸ‘ 150   β¬‡οΈ 13.7K
Dart 3 compatible
Maintenance Status: Good

Generates and displays generative user interfaces (GenUI) in Flutter using AI.

openai_dart
πŸ‘ 127   β¬‡οΈ 19.1K
Dart 3 compatible
Maintenance Status: Good

Dart client for the OpenAI REST APIs and realtime WebSocket/WebRTC workflows with type-safe access to GPT, image, audio, and Responses APIs.

mcp_dart
πŸ‘ 62   β¬‡οΈ 54.8K
Dart 3 compatible
Maintenance Status: Good

Dart Implementation of Model Context Protocol (MCP) SDK.

flutter_chatgpt_api
πŸ‘ 100   β¬‡οΈ 24
Dart 3 compatible
Maintenance Status: Poor

Flutter/Dart API around ChatGPT for the unofficial ChatGPT API.

flutter_gen_ai_chat_ui Card Image
flutter_gen_ai_chat_ui
πŸ‘ 92   β¬‡οΈ 1.9K
Dart 3 compatible
Maintenance Status: Good

Modern Flutter chat UI with streaming text, markdown support, file attachments, and customizable themes. Perfect for AI assistants, customer support, and messaging apps.

ollama_dart
πŸ‘ 86   β¬‡οΈ 1.8K
Dart 3 compatible
Maintenance Status: Good

Dart client for the Ollama API to run LLMs locally (OpenAI gpt-oss, DeepSeek-R1, Gemma 3, Llama 4, and more).

marionette_flutter
πŸ‘ 44   β¬‡οΈ 50.8K
Dart 3 compatible
Maintenance Status: Good

Flutter extensions for AI agent interaction via MCP β€” lets Claude, Copilot, and Cursor tap, scroll, type, and screenshot your app.

llama_cpp_dart
πŸ‘ 79   β¬‡οΈ 2.2K
Dart 3 compatible
Maintenance Status: Good

Dart binding for llama.cpp --- high level wrappers for both Dart and Flutter

google_gemini
πŸ‘ 69   β¬‡οΈ 87
Dart 3 compatible
Maintenance Status: Poor

Google Gemini SDK for Flutter. This package provides a powerful bridge between your Flutter application and Google's revolutionary Gemini AI.

dialog_flowtter
πŸ‘ 58   β¬‡οΈ 613
Dart 3 compatible
Maintenance Status: Poor

A Flutter implementation of DialogFlow improved. Get your chatbots ready in no time.

dartantic_ai
πŸ‘ 55   β¬‡οΈ 2.3K
Dart 3 compatible
Maintenance Status: Good

Dartantic is an agentic framework designed to make building client and server-side apps in Dart with generative AI easier and more fun!

genkit
πŸ‘ 45   β¬‡οΈ 5.9K
Dart 3 compatible
Maintenance Status: Good

Genkit Dart package, a Generative AI library for pure Dart client/server and Flutter apps.

openai_client
πŸ‘ 49   β¬‡οΈ 19
Dart 3 compatible
Maintenance Status: Poor

An unofficial, platform independent, client for accessing different AI models developed by OpenAI.

flutter_streaming_text_markdown
πŸ‘ 45   β¬‡οΈ 4.7K
Dart 3 compatible
Maintenance Status: Good

A Flutter package for beautiful LLM text streaming with markdown support. Perfect for ChatGPT-like interfaces with typing animations, RTL support, and customizable effects.

chat_gpt_flutter
πŸ‘ 48   β¬‡οΈ 264
Dart 3 compatible
Maintenance Status: Poor

Integration of OpenAI API using Flutter framework, ChatGPT and more

flutter_onnxruntime
πŸ‘ 36   β¬‡οΈ 5.4K
Dart 3 compatible
Maintenance Status: Good

A lightweight plugin that provides native wrappers for running ONNX Runtime on multiple platforms

sharpapi_flutter_client
πŸ‘ 40   β¬‡οΈ 10
Dart 3 compatible
Maintenance Status: Average

AI-Powered Swiss Army Knife API for every software developer.

skills
πŸ‘ 32   β¬‡οΈ 9.8K
Dart 3 compatible
Maintenance Status: Good

CLI that installs AI agent skills from your Dart and Flutter package dependencies into your IDE, so Antigravity, Claude, Codex, Cursor, and other assistants know how to use your stack.

flutter_local_ai
πŸ‘ 38   β¬‡οΈ 501
Dart 3 compatible
Maintenance Status: Good

A Flutter package that wraps Android ML Kit GenAI, Apple Foundation Models APIs (iOS and macOS), and Windows AI APIs for local AI inference.

llamadart
πŸ‘ 35   β¬‡οΈ 3.6K
Dart 3 compatible
Maintenance Status: Good

A Dart/Flutter plugin for llama.cpp - run LLM inference on any platform using GGUF models

openai_realtime_dart
πŸ‘ 36   β¬‡οΈ 634
Dart 3 compatible
Maintenance Status: Good

Dart client for the OpenAI Realtime API (beta), a stateful, event-based API that communicates over a WebSocket.

aub_ai
πŸ‘ 35   β¬‡οΈ 62
Dart 3 compatible
Maintenance Status: Poor

AubAI brings you on-device gen-AI capabilities, including offline text generation and more, directly within your app.

chat_gpt_api
πŸ‘ 33   β¬‡οΈ 30
Dart 3 compatible
Maintenance Status: Poor

Chat GPT wrapper for flutter apps witten in dart language. Initial release supports Text Completion, Code Completion and Image Generation

ollama
πŸ‘ 32   β¬‡οΈ 138
Dart 3 compatible
Maintenance Status: Average

Access Ollama API from Dart

whisper_ggml
πŸ‘ 30   β¬‡οΈ 533
Dart 3 compatible
Maintenance Status: Good

OpenAI Whisper ASR (Automatic Speech Recognition) for Flutter

kommunicate_flutter
πŸ‘ 30   β¬‡οΈ 497
Dart 3 compatible
Maintenance Status: Good

Flexible, lightweight, and easily integrable Flutter SDK for Kommunicate AI chatbot & Live Chat.

googleai_dart
πŸ‘ 27   β¬‡οΈ 4K
Dart 3 compatible
Maintenance Status: Good

Unofficial Dart client for Google AI Gemini and Vertex AI Gemini REST APIs plus Live API WebSocket sessions.

groq_sdk
πŸ‘ 30   β¬‡οΈ 272
Dart 3 compatible
Maintenance Status: Average

A Dart library for seamless Groq Cloud API integration. Easily build AI-powered applications leveraging Groq's cutting-edge language models.

langchain_openai
πŸ‘ 28   β¬‡οΈ 234
Dart 3 compatible
Maintenance Status: Good

LangChain.dart integration module for OpenAI (GPT-5, o3, Embeddings, DALLΒ·E, etc.).

stability_image_generation
πŸ‘ 26   β¬‡οΈ 89
Dart 3 compatible
Maintenance Status: Good

A Free Flutter Package for Image Generation using Stability API.

sitesurface_flutter_openai
πŸ‘ 25   β¬‡οΈ 8
Dart 3 compatible
Maintenance Status: Poor

This Flutter package allows you to easily integrate OpenAI's API services into your Flutter application.

face_sdk_3divi_models
πŸ‘ 24   β¬‡οΈ 29
Dart 3 compatible
Maintenance Status: Average

Dependency of main face_sdk_3divi package. This package contains models weights which are necessary for main package work.

tiktoken
πŸ‘ 22   β¬‡οΈ 722
Dart 3 compatible
Maintenance Status: Poor

Tiktoken is a BPE tokeniser for use with OpenAI's models. It exposes APIs used for processing text using tokens.

together_ai_sdk
πŸ‘ 13   β¬‡οΈ 14
Dart 3 compatible
Maintenance Status: Average

A comprehensive SDK for interacting with the Together AI API. Supports chat, text, and image generation with various models including Llama 3.

mistralai_client_dart
πŸ‘ 12   β¬‡οΈ 22
Dart 3 compatible
Maintenance Status: Good

(Deprecated) This is an unofficial Dart/Flutter client for the Mistral AI API.

vantura
πŸ‘ 9   β¬‡οΈ 21
Dart 3 compatible
Maintenance Status: Good

A Stateful Agentic AI Framework for Flutter enabling on-device LLM agents with ReAct loops, state recovery, custom tools, and seamless coordination.

flutter_local_agent_kit
πŸ‘ 8   β¬‡οΈ 452
Dart 3 compatible
Maintenance Status: Good

Offline-first AI framework for Flutter. Resident LLM inference, local RAG, and autonomous agents with a Material 3 Chat UI.

flutter_gemma_embedder
πŸ‘ 6   β¬‡οΈ 38
Dart 3 compatible
Maintenance Status: Good

Flutter plugin for on-device embedder, inspired by EmbeddingGemma. Generate text embeddings locally for semantic search and similarity tasks.

pdf_gemini
πŸ‘ 5   β¬‡οΈ 20
Dart 3 compatible
Maintenance Status: Good

This package provides a simple way to interact and chat with pdf files using google gemini.

ai_commit
πŸ‘ 3   β¬‡οΈ 42
Dart 3 compatible
Maintenance Status: Poor

Dart CLI for generate commit messages with OpenAI

flutter_ai_debugger
πŸ‘ 3   β¬‡οΈ 27
Dart 3 compatible
Maintenance Status: Good

AI-powered Flutter error tracker & debugger using Gemini: capture, analyze, store (Hive), and export (CSV/JSON).

flutter_dialogflow
πŸ‘ 50   β¬‡οΈ 38

Maintenance Status: Poor

Flutter package for makes it easy to integrate dialogflow and support dialogflow v2

chrome_ai
πŸ‘ 12   β¬‡οΈ 35

Maintenance Status: Average

Support for chrome AI in Flutter. This package is a wrapper for the Chrome AI API. It provides a simple way to use the Chrome AI API in Flutter.

wit_ai
πŸ‘ 6   β¬‡οΈ 7

Maintenance Status: Poor

A simple client for Flutter and Dart to talk to your Wit.ai app