EDGE FDE
IntermediateRoute work to the right Apple model
Spend less and stay fast by sending each task to the smallest model that still works (on-device vs Private Cloud Compute vs custom Core AI).
Model router with cost/latency/quality rules using Dynamic Profiles and model modifiers.
Write rules that pick SystemLanguageModel, PrivateCloudComputeLanguageModel, or CoreAILanguageModel, then apply them with Dynamic Profile modifiers. iOS 27 and macOS 27 only.
Lessons
Key concepts
- Route tasks to
SystemLanguageModel,PrivateCloudComputeLanguageModel, orCoreAILanguageModel. - Rules live in app code. Dynamic Profiles apply
.modeland.reasoningLevel. - Pick the smallest Apple path that still does the job.
- One active Profile at a time on iOS 27 and macOS 27.
Takeaways
- You can pick the smallest Apple model that still works and fall back without breaking privacy.
- You can write the rule in code and log the route key every request.
- You can switch the model with a Profile modifier instead of rebuilding the chat UI.
Agent briefs
Related courses
Stream tokens and measure speed · Build a context packer for on-device AI · LLM LoRA for your writing style · Core AI vs Core ML vs MLX