TypeScript SDK

Coming soon.

In the meantime, install the SDK and explore the API:

npm install @modelrelay/sdk
import { ModelRelay } from '@modelrelay/sdk';

const mr = new ModelRelay({ apiKey: process.env.MODELRELAY_API_KEY });

const answer = await mr.responses.text(
  'claude-sonnet-4-20250514',
  'You are a helpful assistant.',
  'Hello!'
);