Get Started
Introduction
Add AI to your app in minutes with Compiler
Welcome to Compiler
Compiler is the simplest way to integrate AI features into your app. No servers and no complicated infrastructure required.
- BYOK (Bring your own keys): Store API keys off-client, track & limit usage per user
- Use our inference: 1¢ per request, regardless of the number of tokens
- Auth for FREE: Support Sign in with Apple with a few lines of code
Getting Started
Quickstart
Get up and running with Compiler in minutes
Authentication
Implement Sign in with Apple with just a few lines of code
Core Features
Function Calling
Use our Deterministic Language Model for consistent, valid function calls
API Keys
Securely manage your API keys and track usage
Model Calling
Integrate OpenAI, Anthropic, Gemini, and Perplexity in one line of code
UI Components
Ready-to-use components for chat interfaces and more
Speech Recognition
Add voice capabilities to your app with our speech recognition features
We Handle the Hard Parts
- Text & Voice Streaming: Real-time responses for chat, voice assistants, and more
- End-User Auth & Rate Limits: Effortlessly track usage, charge credits, or restrict requests—no server needed
- Native Function Calling: Our Deterministic Language Model (DLM) ensures consistent, valid function calls for “agentic” workflows
Pricing
- BYOK: Pay only for usage from your selected LLM provider (we charge nothing for proxied calls to LLM providers)
- Compiler Inference: 1¢ per request
- Key Management & Auth: Free!