Skip to main content

SDK Initialization

On Android, initialization requires three steps in this exact order:
AndroidPlatformContext.initialize() must be called before RunAnywhere.initialize(). The CppBridgeModelPaths.setBaseDirectory() call tells the native C++ bridge where model files are stored on disk.

SDKEnvironment

LLM Generation Options

Temperature Guide

STT Options

TTS Options

VAD Configuration

Memory Considerations

Model memory requirements vary by size and quantization:
Always check available memory before loading large models. Loading models that exceed available RAM will crash the app.

Model Registry

Register custom models:

InferenceFramework

ModelCategory

SDK Lifecycle