gemini-webapi - PyPI
4.0Access the Gemini Web API easily with this Python package, simplifying integration and usage.
About
gemini-webapi is a Python-based asynchronous wrapper library designed to give developers a clean, efficient way to interact with Google's Gemini large language model. With this library, you can easily call Gemini's native Web API and quickly build applications for intelligent conversation, content generation, code assistance, and more. The library is built with async support at its core, ensuring strong performance even in high-concurrency or I/O-intensive workloads.
Key Features
Pricing & Fees
- Pricing: Not publicly listed on the pages we reviewed; check the official site for current plans.
- Free package: gemini-webapi is distributed as an open-source Python package on PyPI and installs via pip, with no license fee mentioned on the project page.
- Account requirement: The library works through a Google account by using cookies from the Gemini web app, so usage is subject to your Google account and the Gemini web app's terms rather than a separate paid plan.
- Runtime requirements: The package requires Python 3.11 or higher, which should be factored into deployment plans.
Who It's For
Python developers who want to quickly integrate Gemini capabilities into existing async projects (such as FastAPI, Sanic, or Tornado); AI application builders working on chatbots, content generation tools, or intelligent assistants; researchers and educators who need to batch test or analyze Gemini model outputs, as well as instructors teaching the combination of async programming and AI; and tech enthusiasts interested in Google's Gemini model who want to experiment with Python-based development.