Free AI APIs: what the official pages say
One row per provider, from the provider's own pages, read on 17 November 2026. Free tiers, trial credits and pay-to-start are kept apart because they are not the same thing.
People look for a free AI API for a prototype, a school project or to try a model before paying. The three labels below describe what each page offers: an ongoing free tier (you can keep using it, within limits), trial credits (a one-off amount that runs out or expires) and pay to start (no free credits for a free account). Running a model on your own computer is a fourth case, listed once. Limits and terms change; every row links to its source.
The pages read do not say which of these providers host open-source models, so this page does not claim it. Ollama's page says models run locally.
Google Gemini API (Google AI Studio)
Ongoing free tierA Free tier with limited access to certain models. The pages read give no fixed free numbers.
Limited access to certain models · Free input & output tokens · Google AI Studio access
ai.google.dev/gemini-api/docs/pricingContent used to improve our products
ai.google.dev/gemini-api/docs/pricingLimits vary depending on the specific model being used
ai.google.dev/gemini-api/docs/rate-limits
Not stated on the page read: The rate-limit page points to the limits shown inside AI Studio instead of listing numbers.
Read 2026-11-17. Details on this site.
Groq
Ongoing free tierThe rate-limit page lists limits for a Free Plan and a Developer Plan, per model, and says limits apply to the organization, not to individual users.
Free Plan Limits Developer Plan Limits
console.groq.com/docs/rate-limitsRate limits apply at the organization level, not individual users.
console.groq.com/docs/rate-limitsUpgrade to Developer plan to access higher limits, Batch and Flex processing, and more.
console.groq.com/docs/rate-limits
Not stated on the page read: The per-model numbers sit in a table that differs by model, so none is quoted here. Open the page for the current figures.
Read 2026-11-17.
OpenRouter
Ongoing free tierFree model variants (an ID ending in a colon) have their own request limits per minute and per day, which depend on the credits you have bought.
Free usage limits : If you’re using a free model variant (with an ID ending in : ), the following limits apply:
openrouter.ai/docs/api-reference/limits25+ free models · 4 free providers
openrouter.ai/pricing
Not stated on the page read: The table with the actual request numbers was not in the page text that was read, so no number is stated here.
Read 2026-11-17. Details on this site.
Cloudflare Workers AI
Ongoing free tierA free daily allocation measured in Neurons, with a paid rate above it.
Our free allocation allows anyone to use a total of 10,000 Neurons per day at no charge .
developers.cloudflare.com/workers-ai/platform/pricing/All limits reset daily at 00:00 UTC.
developers.cloudflare.com/workers-ai/platform/pricing/$0.011 / 1,000 Neurons
developers.cloudflare.com/workers-ai/platform/pricing/
Not stated on the page read: How many requests 10,000 Neurons gives depends on the model; the page prices models separately.
Read 2026-11-17.
Cerebras Inference
Trial creditsNew accounts get $5 in free credits that expire, and a verified payment method is needed first. That is a trial, not an ongoing free tier.
New accounts receive $5 in free credits after adding a verified payment method.
inference-docs.cerebras.ai/support/rate-limitsThese credits expire 30 days after they’re granted
inference-docs.cerebras.ai/support/rate-limits
Read 2026-11-17.
Hugging Face Inference Providers
Pay to startThe pricing page lists no monthly credits for free users of Inference Providers; they can buy credits or upgrade to PRO.
Free users can use Inference Providers by purchasing credits, or by upgrading to PRO · Free Users None - yes (credits purchase required)
huggingface.co/docs/inference-providers/pricing
Read 2026-11-17. Details on this site.
Ollama
Runs on your own computerThe $0 plan lists running models locally with no subscription. Cloud models are billed per token.
$0 · Pay per token for every cloud model. · Run models locally · No subscription · 3 concurrent requests · No service fees
ollama.com/pricing
Read 2026-11-17. Details on this site.
Check these before you build on a free tier
- Data use. Google's Free tier row says content is used to improve its products. Read each provider's terms before you send private data.
- Region. Google's terms say only paid services may be used when making API clients available to users in the European Economic Area, Switzerland or the United Kingdom.
- Limits move. A free tier can change or end. Keep your code able to switch provider.
More tools with APIs and platforms are in the API & Platform category.