← All models

iOS chat model

Phi-4 Mini Instruct

Instruction model for reasoning, mathematics and general text tasks.

MIT

Commercial use permitted

MIT permits commercial use and redistribution. Retain the copyright, permission and applicable third-party notices.

License information reviewed September 11, 2026. The full license governs use.

Model & attribution

Developer
Microsoft
Parameters
3.8B
iOS format
GGUF · llama.cpp
Quantization
Q4_K_M

Developed by Microsoft. The app uses the GGUF conversion distributed by Unsloth. Microsoft's MIT license and BSD third-party notice are included below.

Original model · iOS artifact source

Publisher’s license · Publisher notices

Everyday English quality

59.7/100

300 of 300 cases graded. Scores require the complete suite and review.

Quality threshold not met. Reliability validation remains pending.

Three repetition scores: 57.75, 63.00, 58.25.

  • Instructions: 56.00/100
  • Grounding: 66.25/100
  • Conversation: 45.00/100
  • Reasoning: 75.56/100
  • Writing: 70.83/100
  • Honesty: 50.00/100

Executable Python examples: 29/30 responses pass every checked example; 1 fail, 0 extracted payloads do not parse as Python and 0 remain unchecked. Code embedded in prose may require manual review. These finite examples do not prove general coding correctness.

Basic Python coding appendix: 98.3/100 from 30 cases. This rubric score includes partial credit and is separate from everyday quality.

Evaluation method and comparison

License & notices

These are the license texts bundled with PocketLLM for this model. Read or save the plain-text license.

Full license and applicable notices

Phi-4 Mini Instruct
Original model: microsoft/Phi-4-mini-instruct
Publisher revision: cfbefacb99257ffa30c83adab238a50856ac3083
PocketLLM uses the Q4_K_M quantization distributed by unsloth/Phi-4-mini-instruct-GGUF.
Artifact revision: 78eb92a46fc37e6b524df991ed9aca9bc6aa7b80
Artifact source: https://huggingface.co/unsloth/Phi-4-mini-instruct-GGUF/tree/78eb92a46fc37e6b524df991ed9aca9bc6aa7b80
Quantization changes the weight representation. PocketLLM does not modify the downloaded artifact.

Microsoft.
Copyright (c) Microsoft Corporation.

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

---

Publisher NOTICE.md

NOTICES AND INFORMATION
Do Not Translate or Localize

This software incorporates material from third parties.

**Component.** https://github.com/Dao-AILab/flash-attention

**Open Source License/Copyright Notice.**

BSD 3-Clause License

Copyright (c) 2022, the respective contributors, as shown by the AUTHORS file.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
  list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
  this list of conditions and the following disclaimer in the documentation
  and/or other materials provided with the distribution.

* Neither the name of the copyright holder nor the names of its
  contributors may be used to endorse or promote products derived from
  this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.