Learn by Building
Move beyond chat: build API-powered tools for coursework, coding, experiments, and course projects.
SoCLaaS gives the NUS School of Computing community free and virtually unlimited access to OpenAI-compatible LLM APIs. Build AI apps, connect coding tools, and explore research ideas.
SoCLaaS is a service of the School of Computing (SoC) at the National University of Singapore (NUS).
The API key portal, AI Chat, and documentation are accessible from inside the NUS network only.
Move beyond chat: build API-powered tools for coursework, coding, experiments, and course projects.
Compare approaches, improve prompts, and learn through the trial and error that turns curiosity into capability.
Try ideas, refine prompts, and learn from failures with room to iterate—without every experiment becoming a cost decision.
Use SoCLaaS through coding agents such as Codex and OpenCode, or agent harnesses such as OpenClaw and Hermes—without writing API requests yourself.
OpenAI-Compatible API
Use powerful coding agents and agent harnesses, or build your own apps, search tools, and transcription workflows—all through SoCLaaS.
You don’t have to call the APIs directly. Connect coding agents such as Codex and OpenCode to help write, debug, and improve code, or use agent harnesses such as OpenClaw and Hermes for multi-step tasks and automation. Let the tools handle the API requests while you focus on what you want to accomplish.
SoCLaaS provides free LLM API access for the NUS School of Computing community, including when you connect a coding client. Follow the Codex CLI setup guide, OpenCode setup guide, or Qwen Code setup guide to configure your base URL, API key, and model. For agent harnesses and custom integrations, see all setup guides. Feature support varies by tool and model.
Sign in to the API key portal from the NUS network and get your personal API key.
Use GET /v1/models with your key to discover available model IDs. Choose one that supports chat.
Connect your preferred tool with your key and model, or try the API directly using the example. For curl, set SOCLAAS_API_KEY in your terminal and replace YOUR_MODEL_ID below.
curl https://soclaas-api.comp.nus.edu.sg/v1/chat/completions \
-H "Authorization: Bearer $SOCLAAS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "YOUR_MODEL_ID",
"messages": [{
"role": "user",
"content": "Suggest three AI project ideas for a weekend."
}]
}'
Building your own integration? Use this example as a starting point, or connect through an OpenAI-compatible SDK.
POST /v1/chat/completions
POST /v1/responses
POST /v1/embeddings
POST /v1/audio/transcriptions
Different selected models support different capabilities, including language, reasoning, coding, visual understanding, embeddings, and transcription. Use the model catalogue to see what is available to your API key. The Responses endpoint supports a subset of OpenAI Responses features; see the documentation for compatibility details.
Pick a small problem. See where it takes you.
Go to SoCLaaS Portal