Choose Your Binding¶
Not sure which binding to use?
Pick the right one for your platform and use case:
| React Native | Flutter | Kotlin | Swift | Python | Rust | CLI | C++ | |
|---|---|---|---|---|---|---|---|---|
| Platforms | iOS, Android | iOS, Android, macOS | Android, iOS (KMP) | iOS, macOS | Arm Linux, macOS | Arm Linux, macOS | macOS, Arm Linux | Arm Linux, macOS, iOS, Android |
| Install | build / source | build | build | build | pip | build / source | brew / source | header |
| LLM | ||||||||
| Streaming | ||||||||
| Vision | ||||||||
| Audio | ||||||||
| Transcription | ||||||||
| Function Calling | ||||||||
| RAG / Embeddings | ||||||||
| Cloud Fallback |
Quick Recommendations¶
Building a mobile app?
- React Native -- already have a React Native project? Just
npm installand go - Flutter -- cross-platform mobile + Mac with full native bindings
- Kotlin -- native Android apps or Kotlin Multiplatform
- Swift -- native iOS/macOS apps with Apple NPU acceleration
Server-side or scripting?
- Python -- server-side inference, batch processing, or rapid prototyping
- CLI -- quick model testing and interactive sessions without writing code
Embedding in a native app?
- C++ -- game engines, native desktop apps, or any C/C++ project
- Rust -- systems-level integration with safe FFI bindings
Binding Documentation¶
- React Native -- Native bridge modules over the C API for iOS and Android
- Python -- Module-level FFI bindings, mirrors the C API
- Swift -- XCFramework for iOS/macOS with NPU support
- Kotlin -- JNI bindings + Kotlin Multiplatform support
- Flutter -- Dart FFI bindings for Android, iOS, and macOS
- Rust -- Raw
extern "C"FFI declarations - C++ / Engine API -- Direct C FFI for maximum control
Getting Started¶
Once you've picked your binding, head to the Quickstart to install and run your first completion.