Articles
Free LLM APIs for students and hackathons (2026)
Seven free or trial LLM APIs, their limits, and the catch with each. Checked November 2026.
By Starfield LabsPublished

You can build a working AI project in 2026 without paying for an API. Google's Gemini API, OpenRouter's free models, Cloudflare Workers AI, Cohere's trial keys and Mistral's Experiment plan all have a free way in, each with limits. Below is what each offers, the catch, and how to pick one for a student project or a hackathon. We checked every provider's own documentation in November 2026; limits change often, so check the linked page before you build.
Which free LLM APIs can you use right now?
| Provider | How you get it free | Free limits (as published) | The catch |
|---|---|---|---|
| Google Gemini API | Free tier on an active project, no billing set up | Per-model limits shown in AI Studio; daily limits reset at midnight Pacific time | Preview and experimental models have tighter limits |
| OpenRouter | Models ending in :free |
20 requests a minute; 50 a day, or 1,000 a day once you've bought at least $10 of credits | A fallback to a paid model is charged |
| Cloudflare Workers AI | Included in the Workers Free plan | 10,000 Neurons a day, reset at 00:00 UTC | Some larger models now need the paid plan |
| Cohere | Free evaluation (trial) key | 1,000 API calls a month; 20 chat requests a minute | Trial keys aren't for production use |
| Mistral | Experiment plan: verified phone number, no credit card | Not published; the paid plan has higher limits | Requests may be used to train Mistral's models |
| Cerebras | Free trial: $5 of credits after adding a payment method | Per model, e.g. 5 requests a minute for gpt-oss-120b | Credits expire after 30 days; no permanent free tier |
| Groq | Sign up in the Groq console | Per model, e.g. 30 requests a minute and 1,000 a day for gpt-oss-120b on the Developer plan | Check the console for the limits on your plan |
No longer available: GitHub Models, which many student guides still list, was fully retired on 30 July 2026.
Which one should you pick?
- First project or a learning app: start with the Gemini API free tier. One key, good documentation, and enough for a demo.
- You want to try many open models: use OpenRouter's
:freemodels. One API, many models, and you can switch with one line of code. - You're already building on Cloudflare: Workers AI keeps the model next to your app, with a daily free allocation.
- You need embeddings or reranking for search: Cohere's trial key covers Embed and Rerank as well as chat.
- You need speed for a live demo: Cerebras and Groq are built for fast responses; use the trial while it lasts.
How do you make a free tier last through a hackathon?
Free limits are usually enough for building and demoing, if you're careful:
- Cache answers while you develop. Save responses to the same prompt so you don't call the API again for every test.
- Use a small model for testing. Switch to the stronger model only for the final demo.
- Trim your prompts. Shorter prompts use fewer tokens and stay under per-minute limits.
- Handle rate-limit errors. When you get a "too many requests" error, wait a moment and retry, instead of crashing.
- Keep a backup. Set up a second provider, or a small model running on your laptop, in case you hit a daily limit during judging.
- Keep your keys secret. Store them in an environment variable, never in your code or on GitHub.
What should you watch out for?
- Data use. Some free plans may use your requests to train models (Mistral's Experiment plan says so). Don't send personal or confidential data on free tiers.
- Paid fallbacks. On OpenRouter, a paid model in your fallback list can cost money.
- Expiring credits. Trial credits, like Cerebras's, run out after a set time.
- Changing limits. Free tiers change often. GitHub Models closed in 2026; check before you rely on any of them.
Where to go next
Got your key? Follow a step-by-step build in our tutorials, or pick a project from AI hackathon project ideas. Hackathons often come with free credits from sponsors too: sign up at starfieldlabs.ai to hear first about our events. For a wider look at hosted and open models, read Best AI APIs for hackathons.
Sources (all opened 20 November 2026)
- Google, Gemini API rate limits (updated 28 Oct 2026)
- OpenRouter, Limits and Free model variants
- Cloudflare, Workers AI pricing (updated 18 Nov 2026) and changelog: models that require Workers Paid (28 Jul 2026)
- Cohere, Rate limits
- Mistral, Try the API for free with the Experiment plan
- Cerebras, Rate limits
- Groq, Rate limits
- GitHub, GitHub Models retirement notice
Keep reading
Related articles and tutorials
- Tutorial

PaLM2 Tutorial: Create your own AI-powered Virtual Assistant
AI hackathon tutorial: build a chat-style virtual assistant with Google's PaLM2 API and a Streamlit app in Python, step by step.
- Article

AWS and Microsoft AI hackathons: what they ask for and how to win
Both want agents built on their own platforms. Here's what each asks for and how to prepare.
- Article

How to get detailed, high-res app designs from Claude (prompts + examples)
Ask for code, not a picture. Then refine it one message at a time.
- Article

Winning hackathon projects: real examples and what judges liked
Five past winners from our own hackathons, and the patterns they share.