Phi-4-mini-instruct-onnx
microsoft's Phi-4-mini-instruct-onnx is a chat model. Phi-4-mini-instruct-onnx is an open-weights chat model.
by microsoft
Best for
- low-latency chat and routing
- request routing and triage
- text classification
Ways to use Phi-4-mini-instruct-onnx in osFoundry
Connect with your own key (BYOK)
Open the key dialog and paste your microsoft API key. osFoundry discovers Phi-4-mini-instruct-onnx automatically — assign it to a Maestro role (router, direct, orchestrator, or fallback) in the Pipeline tab and it is live in every chat. Your key, your provider account — no token markup.
Deploy a dedicated endpoint
Phi-4-mini-instruct-onnx is open-weights — run it locally for free, or deploy a dedicated GPU endpoint in your workspace for reserved capacity with no rate limits.
Use it in a Room App
Room Apps declare AI features in their manifest, then call them with invokeAI:
import { invokeAI } from '@osfoundry/app-sdk'
// 'summarize' is an AI feature declared in your app manifest.
const result = await invokeAI('summarize', userText)
Call it from your own apps
Once a model is wired into your workspace you can host it as an API and reach it from your own services, scripts, or CI — outside osFoundry.
Phi-4-mini-instruct-onnx vs similar models
Licence
Unspecified — Licence terms not specified — verify the upstream model card before commercial use.
Check upstream documentation.
Frequently asked about Phi-4-mini-instruct-onnx
Is Phi-4-mini-instruct-onnx free to use?
Phi-4-mini-instruct-onnx is free to run locally on your own hardware. Hosted access through osFoundry is metered (input Free (local), output Free (local)). You can switch between local and hosted at any time.
Can I use Phi-4-mini-instruct-onnx commercially?
Commercial use is allowed with conditions. Licence terms not specified — verify the upstream model card before commercial use. Check upstream documentation.
Can I run Phi-4-mini-instruct-onnx locally?
Yes. Phi-4-mini-instruct-onnx is open-weights and runs locally on a workstation GPU. osFoundry's local runtime handles model loading, quantisation, and routing.
What is Phi-4-mini-instruct-onnx best at?
Phi-4-mini-instruct-onnx is well-suited to low-latency chat and routing, request routing and triage, text classification.
How do I use Phi-4-mini-instruct-onnx in osFoundry?
Paste your microsoft API key in the key dialog (or deploy the open weights for self-hostable models), assign Phi-4-mini-instruct-onnx to a Maestro role in the Pipeline tab, then use it in chat, Room Apps via invokeAI, or your own apps.
Published by microsoft on February 25, 2025. Source: https://huggingface.co/microsoft/Phi-4-mini-instruct-onnx