Natif API playground

Try every Natif endpoint on your own device. Models run in your browser with WebGPU; nothing is sent to a server. The open-source SDK picks the best model for your device for free; Pro lets you pin an exact model, including any Hugging Face model.

Endpoints

Quick start

npm i natif zod

import { createClient } from "natif";
const ai = createClient({ consent: { cloudFallback: false } });
const r = await ai.chat({ message: "Hi!" });
console.log(r.text, r.meta.modelId); // runs on the device

Also for React Native (@natif/react-native), Expo (@natif/expo), Swift and Kotlin. Docs: benatif.com/docs · Guide for AI assistants: llms.txt