This repository is a curated list of services that offer free or trial-credit access to LLM inference through an API. It's aimed at developers, hobbyists, and anyone building LLM-powered projects who wants to avoid paying for API usage, at least while prototyping. The list is generated by a Python script (src/pull_available_models.py) rather than edited by hand, so entries stay current with what providers actually expose.
The README is organized into two groups: providers with an ongoing free tier, and providers that give trial credits (usually a small dollar amount or token allotment, often time-limited). For each provider, it lists the available models, rate limits (requests per minute/day, tokens per minute), and any special requirements like phone number verification or opting into data training.
It's not a good fit if you need production-grade reliability or guaranteed uptime: free tiers and trial credits can change or disappear, and rate limits are often too low for real traffic. It's also not useful if you need a specific proprietary model unavailable on any listed free/trial provider, or if you're not willing to deal with the phone verification and data-training conditions some providers impose. This is a reference document, not an SDK or client library, so it won't do any integration work for you.
There's no software to install to use the list itself: it's a README you read and copy provider links, model names, and API endpoints from directly into your own code.
If you want to run or modify the generator script that produces the list:
git clone https://github.com/cheahjs/free-llm-api-resources.git
cd free-llm-api-resources
pip install -r requirements.txt
python src/pull_available_models.py
This regenerates the README's model tables from each provider's live API. Check the repo's requirements.txt and script for provider-specific API keys or environment variables needed to query each service's model listing endpoint. Since the README is auto-generated, don't edit README.md directly, any changes should go into the generation script.