FREE PRACTICAL AI LEARNING · LEARN BY DOINGNO SIGNUP NEEDED · YOUR WORK STAYS YOURS
Open PracticePRACTICAL AI ENGINEERING
API KEYS ✦ FREE

Free AI API keys — where to get them and how

Step-by-step guides for the free AI providers that work best for learners, plus a checked directory of free APIs for your own projects. Get a key in five minutes, test it here, then use it in every free tool.

Last checked 29 October 2026 · Open key settings →

Which key first? Our recommendation

If you…GetWhy
are new to AI APIsGroqEmail only, no card, fast, works in most countries.
work with long documents or many languagesGoogle GeminiFree Flash models with a huge context window (region list applies).
want a backup or to try many modelsOpenRouterOne key, many free models (50 requests/day free).
build bots and websites on CloudflareCloudflare Workers AIFree daily allowance in the same account as your Worker.
cannot get any key right nowGuided templatesEvery tool works without AI. You still learn the skill.

Step-by-step key guides

Free API directory 47

Tick the APIs you already have — your list stays on this device. Free tiers change often; open the provider page before you build.

HaveAPICategoryAccessWhat it doesLink
GroqAI & language modelsFree tierFast open models (Llama, GPT-OSS, Qwen). Rate-limited free plan, no card.
Google Gemini APIAI & language modelsFree tierGemini Flash models with a free tier; limits per project; region list applies.
OpenRouterAI & language modelsFree tierHundreds of models, a set of :free ones (50/day free).
MistralAI & language modelsFree tierFree Experiment plan with phone verification.
CerebrasAI & language modelsFree tierVery fast inference; check current signup requirements.
Cloudflare Workers AIAI & language modelsFree tierDaily free Neuron allowance for text, image and speech models.
CohereAI & language modelsFree with keyTrial key for evaluation (rate-limited, non-production).
Hugging Face Inference ProvidersAI & language modelsPaid / creditsMany open models via one API; free accounts need credits since Oct 2026.
DeepSeek APIAI & language modelsPaid / creditsLow-cost pay-as-you-go reasoning and chat models.
OpenAI APIAI & language modelsPaid / creditsGPT models; pay-as-you-go, no lasting free tier.
Anthropic APIAI & language modelsPaid / creditsClaude models; pay-as-you-go.
GitHub ModelsAI & language modelsRetiredRetired on 30 July 2026 — do not build new projects on it.
Pexels APIImages & mediaFree with keyFree stock photos and videos; attribution requested.
Unsplash APIImages & mediaFree with keyFree photos; demo apps are rate-limited until approved.
Pixabay APIImages & mediaFree with keyFree images, illustrations and videos.
Cloudflare Workers AI image modelsImages & mediaFree tierText-to-image (e.g. FLUX) inside the daily Neuron allowance.
Openverse APIImages & mediaNo key neededSearch openly licensed images and audio (rate-limited without a key).
Groq speech-to-text (Whisper)Speech & audioFree tierTranscribe audio on Groq’s free plan with its own limits.
ElevenLabsSpeech & audioFree with keyText-to-speech with a small free monthly allowance (attribution on free plan).
Cloudflare Workers AI WhisperSpeech & audioFree tierSpeech-to-text within the daily allowance.
Wikipedia / MediaWiki APISearch, news & knowledgeNo key neededSearch and read Wikipedia articles. Send a descriptive User-Agent.
Wikidata Query ServiceSearch, news & knowledgeNo key neededStructured facts with SPARQL.
TavilySearch, news & knowledgeFree with keySearch API built for AI agents; free monthly credits.
The Guardian Open PlatformSearch, news & knowledgeFree with keyFree developer key for Guardian articles (non-commercial).
Hacker News APISearch, news & knowledgeNo key neededTech news stories and comments.
GDELTSearch, news & knowledgeNo key neededGlobal news event and tone data.
Open Library APISearch, news & knowledgeNo key neededBooks, authors and covers.
Open-MeteoData, maps & weatherNo key neededWeather forecasts and history; free for non-commercial use.
OpenStreetMap NominatimData, maps & weatherNo key neededGeocoding (address ↔ coordinates). Max 1 request/second, User-Agent required.
REST CountriesData, maps & weatherNo key neededCountry names, codes, currencies and flags.
World Bank Indicators APIData, maps & weatherNo key neededDevelopment indicators for every country.
FrankfurterData, maps & weatherNo key neededReference exchange rates (ECB-published currencies).
NASA Open APIsData, maps & weatherFree with keyAstronomy picture, Mars photos and more; DEMO_KEY for testing.
GitHub REST APIDeveloper & hostingFree with keyRepos, issues and Actions with a personal access token.
Cloudflare WorkersDeveloper & hostingFree tierServerless functions: 100,000 requests/day on the free plan.
Cloudflare PagesDeveloper & hostingFree tierFree static site hosting with a *.pages.dev address.
GitHub PagesDeveloper & hostingFree tierFree static hosting for public repositories.
SupabaseDeveloper & hostingFree tierPostgres database, auth and storage; free projects pause when idle.
Firebase (Spark plan)Developer & hostingFree tierAuth, Firestore and hosting with free quotas.
Telegram Bot APIMessaging & emailFree tierFree bots via @BotFather. See our Telegram Bot Creator.
Discord APIMessaging & emailFree tierFree bots and slash commands. See our Discord Bot Creator.
WhatsApp Cloud API (Meta)Messaging & emailPaid / creditsBusiness messaging; many message types are charged per message by Meta — check current pricing.
BrevoMessaging & emailFree with keyTransactional and marketing email with a free daily sending allowance.
ResendMessaging & emailFree with keyDeveloper email API with a free monthly tier.
PaystackPaymentsFree with keyAfrican payments (Nigeria, Ghana, South Africa, Kenya, Côte d’Ivoire…). Test mode free.
FlutterwavePaymentsFree with keyPayments across many African countries. Test mode free.
StripePaymentsFree with keyTest mode free; live accounts only in supported countries.

Keep every key safe

Questions people ask

What is an API key?

A long secret code that identifies you to an AI provider, like a password for programs. Tools use it to send your request to the provider’s models on your behalf.

Which free AI key should I get first?

Groq: email signup, no card, fast, and every Open Practice tool supports it. Add Google Gemini second for long documents, and OpenRouter as a backup.

Is it safe to paste my key into Open Practice?

Your key is kept in your browser (this tab only, unless you choose to remember it) and is sent only to the provider you selected, straight from your browser. Open Practice servers never receive it. Still, only use keys on devices you trust.

Why is the AI not available in my country?

Some providers restrict countries for legal or business reasons. Each guide lists region notes; Groq and OpenRouter work in most countries. Never use VPNs or false details to get around restrictions — choose a provider that serves you.

Can I use these tools with no key at all?

Yes. Every free tool has a guided template route that needs no AI. You learn the same skill; the key only adds AI drafting.