models.do

One API for 50+ AI Models

Access GPT-4, Claude Sonnet, Gemini Pro, Llama, and other models through a unified interface with intelligent routing and automatic fallbacks. Switch providers instantly with multi-provider redundancy.

Read the docs
index.tsmodels.do
import { Models } from 'models.do' // Intelligent routing selects best model per taskon.User.submits.Content($ => {  const result = await Models.complete({    task: $.task, // classify, summarize, generate, analyze    input: $.text,    routing: 'auto' // GPT-4 → Claude → Gemini → Llama fallback  })  return result}) // Cost-optimize: cheap models for simple tasks, smart for complexModels.analyze.with.CheapestModel({ text })  // Llama/Gemini FlashModels.reason.with.SmartestModel({ problem })  // GPT-4/Claude Opus

One of 48 primitives

models.do sits in Insight: measure, test and trace. Every .do shares one grammar, Business-as-Code, and one SDK.

Business

Goals, plans and the work itself

Workflows

Triggers, steps and functions

Data

Records, vocabulary and search

Insight

Measure, test and trace

Build

Ship from code, CLI or MCP

Frequently asked questions

Build your 1-person unicorn

Write the business. Agents run it around the clock.

Read the docs