Free AI API keys: where to get them (and plug them into Claude Code or Cursor)
A free, step-by-step template from Taha's reels — the exact tools, prompts and links, laid out so you can follow along and ship. Comment the keyword on the reel and it also lands in your DMs.
Hey! 👋 Here's what I promised you — with an honest update first:
The repo from the reel, free-llm-api-resources, no longer exists on GitHub. The best-known copy that replaced it had a credential-stealing workflow pushed into it earlier this month (it was removed, but we couldn't confirm how it got there). So instead of sending you to a third-party list, here are the official providers directly — same free keys, zero risk. ⚠️
1. OpenRouter — one API key for hundreds of models. The free ones end in :free (the list changes often — filter by price $0).
2. NVIDIA (build.nvidia.com) — free inference endpoints for prototyping, with a free NVIDIA Developer Program account. Open a model, then Get API Key.
🔗NVIDIA buildhttps://build.nvidia.com/models🔗Quickstarthttps://docs.api.nvidia.com/nim/docs/api-quickstart3. Google AI Studio — a free Gemini API key in one click (Google sign-in).
🔗Get a keyhttps://aistudio.google.com/apikey🔗Free vs paid tierhttps://ai.google.dev/gemini-api/docs/pricing4. Groq — bonus: very fast open models with a free tier.
🔗API keyshttps://console.groq.com/keys🔗Rate limitshttps://console.groq.com/docs/rate-limitsPlug a key into your project or Cursor
All four speak the OpenAI format — you only change the base URL, the key and the model name:
- OpenRouter:
https://openrouter.ai/api/v1 - NVIDIA:
https://integrate.api.nvidia.com/v1 - Gemini:
https://generativelanguage.googleapis.com/v1beta/openai/ - Groq:
https://api.groq.com/openai/v1
Plug OpenRouter into Claude Code
- In your project, create
.claude/settings.local.jsonwith (OpenRouter's official setup):
{
"env": {
"ANTHROPIC_BASE_URL": "https://openrouter.ai/api",
"ANTHROPIC_AUTH_TOKEN": "<your-openrouter-api-key>",
"ANTHROPIC_API_KEY": "",
"CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY": "1"
}
}- Start
claudeand pick your model.
Want more? Go further in the Atlas Room Skool class
This page gives you the tools. The Skool class takes you step by step — full courses and guides to build and sell your own AI app or SaaS, in Darija, with a new lesson every week.
Join the Skool class →More free templates
Browse all templates →Keep Claude Code going with 9Router
Google's free Duolingo-style tool to learn to speak
New to Claude Code? Start with these 5
Build a mobile app with Claude Code and ship it to the App Store
5 plugins for vibe coding with Claude Code
Cloudflare's free skill that finds the security holes in your app