Flutter Gems is a curated list of 7250+ useful Dart & Flutter packages that are categorized based on functionality.
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 compatibleMaintenance 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 compatibleMaintenance 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 compatibleMaintenance 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 compatibleMaintenance 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 compatibleMaintenance 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 compatibleMaintenance Status: Good
Build powerful LLM-based Dart and Flutter applications with LangChain.dart.
flutter_ai_toolkit
π 236 β¬οΈ 5.1K
Dart 3 compatibleMaintenance 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 compatibleMaintenance Status: Good
A package for making MCP servers and clients.
firebase_ai
π 112 β¬οΈ 63.7K
Dart 3 compatibleMaintenance Status: Good
Firebase AI Logic SDK.
genui
π 150 β¬οΈ 13.7K
Dart 3 compatibleMaintenance Status: Good
Generates and displays generative user interfaces (GenUI) in Flutter using AI.
openai_dart
π 127 β¬οΈ 19.1K
Dart 3 compatibleMaintenance 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 compatibleMaintenance Status: Good
Dart Implementation of Model Context Protocol (MCP) SDK.
flutter_chatgpt_api
π 100 β¬οΈ 24
Dart 3 compatibleMaintenance Status: Poor
Flutter/Dart API around ChatGPT for the unofficial ChatGPT API.
flutter_gen_ai_chat_ui
π 92 β¬οΈ 1.9K
Dart 3 compatibleMaintenance 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 compatibleMaintenance 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 compatibleMaintenance 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 compatibleMaintenance Status: Good
Dart binding for llama.cpp --- high level wrappers for both Dart and Flutter
google_gemini
π 69 β¬οΈ 87
Dart 3 compatibleMaintenance 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 compatibleMaintenance Status: Poor
A Flutter implementation of DialogFlow improved. Get your chatbots ready in no time.
dartantic_ai
π 55 β¬οΈ 2.3K
Dart 3 compatibleMaintenance 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 compatibleMaintenance Status: Good
Genkit Dart package, a Generative AI library for pure Dart client/server and Flutter apps.
openai_client
π 49 β¬οΈ 19
Dart 3 compatibleMaintenance Status: Poor
An unofficial, platform independent, client for accessing different AI models developed by OpenAI.
flutter_streaming_text_markdown
π 45 β¬οΈ 4.7K
Dart 3 compatibleMaintenance 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 compatibleMaintenance Status: Poor
Integration of OpenAI API using Flutter framework, ChatGPT and more
flutter_onnxruntime
π 36 β¬οΈ 5.4K
Dart 3 compatibleMaintenance Status: Good
A lightweight plugin that provides native wrappers for running ONNX Runtime on multiple platforms
sharpapi_flutter_client
π 40 β¬οΈ 10
Dart 3 compatibleMaintenance Status: Average
AI-Powered Swiss Army Knife API for every software developer.
skills
π 32 β¬οΈ 9.8K
Dart 3 compatibleMaintenance 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 compatibleMaintenance 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 compatibleMaintenance 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 compatibleMaintenance 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 compatibleMaintenance 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 compatibleMaintenance 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 compatibleMaintenance Status: Average
Access Ollama API from Dart
whisper_ggml
π 30 β¬οΈ 533
Dart 3 compatibleMaintenance Status: Good
OpenAI Whisper ASR (Automatic Speech Recognition) for Flutter
kommunicate_flutter
π 30 β¬οΈ 497
Dart 3 compatibleMaintenance Status: Good
Flexible, lightweight, and easily integrable Flutter SDK for Kommunicate AI chatbot & Live Chat.
googleai_dart
π 27 β¬οΈ 4K
Dart 3 compatibleMaintenance 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 compatibleMaintenance 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 compatibleMaintenance Status: Good
LangChain.dart integration module for OpenAI (GPT-5, o3, Embeddings, DALLΒ·E, etc.).
stability_image_generation
π 26 β¬οΈ 89
Dart 3 compatibleMaintenance Status: Good
A Free Flutter Package for Image Generation using Stability API.
sitesurface_flutter_openai
π 25 β¬οΈ 8
Dart 3 compatibleMaintenance 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 compatibleMaintenance 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 compatibleMaintenance 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 compatibleMaintenance 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 compatibleMaintenance Status: Good
(Deprecated) This is an unofficial Dart/Flutter client for the Mistral AI API.
vantura
π 9 β¬οΈ 21
Dart 3 compatibleMaintenance 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 compatibleMaintenance 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 compatibleMaintenance 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 compatibleMaintenance Status: Good
This package provides a simple way to interact and chat with pdf files using google gemini.
ai_commit
π 3 β¬οΈ 42
Dart 3 compatibleMaintenance Status: Poor
Dart CLI for generate commit messages with OpenAI
flutter_ai_debugger
π 3 β¬οΈ 27
Dart 3 compatibleMaintenance 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
