{"id":217331,"date":"2025-05-01T19:00:54","date_gmt":"2025-05-01T19:00:54","guid":{"rendered":"https:\/\/accountants4yourbusiness.co.uk\/analytics\/microsofts-phi-4-reasoning-models-explained-simply\/"},"modified":"2025-05-01T19:00:54","modified_gmt":"2025-05-01T19:00:54","slug":"microsofts-phi-4-reasoning-models-explained-simply","status":"publish","type":"post","link":"https:\/\/accountants4yourbusiness.co.uk\/?p=217331","title":{"rendered":"Microsoft\u2019s Phi-4 Reasoning Models Explained Simply"},"content":{"rendered":"<p> <br \/>\n<\/p>\n<div id=\"article-start\">\n<p>Microsoft isn\u2019t like OpenAI, Google, and Meta; especially not when it comes to <a href=\"https:\/\/www.analyticsvidhya.com\/blog\/2023\/03\/an-introduction-to-large-language-models-llms\/\" target=\"_blank\" rel=\"noreferrer noopener\">large language models<\/a>. While other tech giants prefer to launch multiple models almost overwhelming the users with choices; Microsoft launches a few, but those models always make it big among developers around the world. In their latest release, they have released 2 reasoning models: Phi-4-Reasoning and Phi-4-Reasoning-plus, both trained on the base Phi-4 model. The two Phi-4-Reasoning models compete with the mighty models like o1, o3-mini, and DeepSeek R1. In this blog, we will dive into the technical details, architecture, training methods, and performance of Phi-4-Reasoning models in detail.\u00a0<\/p>\n<p>Let\u2019s explore the Phi-4-Reasoning models.\u00a0<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-what-is-phi-4-reasoning\">What is Phi-4 Reasoning?<\/h2>\n<p>Phi-4 is not new in the LLM world. This small and mighty language models broke the internet when it was launched last year. Now to cater to the increasing demand for reasoning models, Microsoft has released Phi-4-Reasoning models. These are 14 B parameters that excel at performing complex reasoning tasks involving mathematics, coding, and STEM questions. Unline its general purpose Phi-4 series, Phi-4-Reasoning is specifically optimized for long-chain reasoning \u2013 that is the ability to break down complex multi-step problems systematically into logical steps.<\/p>\n<p>Also Read: <a href=\"https:\/\/www.analyticsvidhya.com\/blog\/2024\/12\/phi-4\/\" target=\"_blank\" rel=\"noreferrer noopener\">Phi-4: Redefining Language Models with Synthetic Data<\/a><\/p>\n<h2 class=\"wp-block-heading\" id=\"h-phi-4-reasoning-models\">Phi 4 Reasoning Models<\/h2>\n<p>The two reasoning models released by Microsoft are:<\/p>\n<ul class=\"wp-block-list\">\n<li><strong>Phi-4-Reasoning:\u00a0 <\/strong>A reasoning model trained using supervised fine-tuning or SFT on high-quality datasets. The model is preferred for all tasks that require faster responses with guided performance constraints.\u00a0<\/li>\n<li><strong>Phi-4-Reasoning-Plus:<\/strong> An enhanced reasoning model that has been enhanced using reinforcement learning or RL to improve its performance but generates almost 50% more tokens compared to its counterpart. The model shows an increased latency and hence is recommended for high-accuracy tasks.\u00a0\u00a0<\/li>\n<\/ul>\n<p>The two 14B models currently support only text input, and Microsoft has released them as open-weight so developers can freely test and fine-tune them based on their needs. Here are some key highlights of the models:<\/p>\n<div class=\"table-responsive\" style=\"overflow-x:auto;\">\n<table style=\"border-collapse: collapse; width: 100%; border: 1px solid #ddd;\">\n<thead>\n<tr style=\"background-color: #f2f2f2;\">\n<th style=\"border: 1px solid #ddd; padding: 8px;\">Details<\/th>\n<th style=\"border: 1px solid #ddd; padding: 8px;\">Phi-4-Reasoning Models<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"border: 1px solid #ddd; padding: 8px;\"><strong>Developer<\/strong><\/td>\n<td style=\"border: 1px solid #ddd; padding: 8px;\">Microsoft Research<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ddd; padding: 8px;\"><strong>Model Variants<\/strong><\/td>\n<td style=\"border: 1px solid #ddd; padding: 8px;\">Phi-4-Reasoning, Phi-4-Reasoning-Plus<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ddd; padding: 8px;\"><strong>Base Architecture<\/strong><\/td>\n<td style=\"border: 1px solid #ddd; padding: 8px;\">Phi-4 (14B parameters), dense decoder-only Transformer<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ddd; padding: 8px;\"><strong>Training Method<\/strong><\/td>\n<td style=\"border: 1px solid #ddd; padding: 8px;\">Supervised fine-tuning on chain-of-thought data; Plus variant includes additional Reinforcement Learning (RLHF)<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ddd; padding: 8px;\"><strong>Training Duration<\/strong><\/td>\n<td style=\"border: 1px solid #ddd; padding: 8px;\">2.5 days on 32\u00d7 H100-80G GPUs<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ddd; padding: 8px;\"><strong>Training Data<\/strong><\/td>\n<td style=\"border: 1px solid #ddd; padding: 8px;\">16B tokens total (~8.3B unique), from synthetic prompts and filtered public domain data<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ddd; padding: 8px;\"><strong>Training Period<\/strong><\/td>\n<td style=\"border: 1px solid #ddd; padding: 8px;\">January \u2013 April 2025<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ddd; padding: 8px;\"><strong>Data Cutoff<\/strong><\/td>\n<td style=\"border: 1px solid #ddd; padding: 8px;\">March 2025<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ddd; padding: 8px;\"><strong>Input Format<\/strong><\/td>\n<td style=\"border: 1px solid #ddd; padding: 8px;\">Text input, optimized for chat-style prompts<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ddd; padding: 8px;\"><strong>Context Length<\/strong><\/td>\n<td style=\"border: 1px solid #ddd; padding: 8px;\">32,000 tokens<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ddd; padding: 8px;\"><strong>Output Format<\/strong><\/td>\n<td style=\"border: 1px solid #ddd; padding: 8px;\">Two sections: reasoning chain-of-thought block followed by a summarization block<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #ddd; padding: 8px;\"><strong>Release Date<\/strong><\/td>\n<td style=\"border: 1px solid #ddd; padding: 8px;\">April 30, 2025<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h2 class=\"wp-block-heading\" id=\"h-key-features-of-phi-4-reasoning-models\">Key Features of Phi-4-Reasoning Models<\/h2>\n<p>For Phi-4 the team took several innovative steps involving data selection, its training methodology as well as its performance. Some of the key things they did were:<\/p>\n<h3 class=\"wp-block-heading\" id=\"h-data-centric-training-nbsp\">Data Centric Training\u00a0<\/h3>\n<p>The Data Curation for training the Phi-4 reasoning models relied not just on sheer quantity but emphasized equally on the quality of data too. They specifically chose the data that was at the \u201cedge\u201d of the model\u2019s capabilities. This ensured that the training data was solvable but not easily.\u00a0\u00a0<\/p>\n<p>The main steps involved in building the data set for Phi-4 models were:<\/p>\n<ul class=\"wp-block-list\">\n<li><strong>Seed Database: The <\/strong>Microsft team started with publicly available datasets like AIME and GPQA. These data sets involved problems in algebra and geometry involving multi-step reasoning.\u00a0<\/li>\n<li><strong>Synthetic Reasoning Chains:<\/strong> To get comprehensive and detailed step-by-step reasoned-out responses for the problems, the Microsoft team relied on OpenAI\u2019s o3-mini model.\u00a0<\/li>\n<\/ul>\n<p>For example, for the question <strong>\u201cWhat is the derivative of <\/strong><strong>sin(<\/strong><strong>x<\/strong><strong>2 <\/strong><strong>)<\/strong><strong>2<\/strong>?\u201d; o3-mini gave the following output:<\/p>\n<pre class=\"wp-block-preformatted\">Step 1: Apply the chain rule: d\/dx sin(u)=cos(u)*du\/dx.\u00a0\u00a0<p>Step 2: Let u=x\u00b2 \u21d2 du\/dx=2x.\u00a0<\/p><p>Final Answer: cos(x\u00b2) * 2x.<\/p><\/pre>\n<p>These artificially or synthetically generated chains of well-reasoned responses gave a clear blueprint on how a model should structure its own reasoning responses.\u00a0<\/p>\n<ul class=\"wp-block-list\">\n<li><strong>Selecting \u201cTeachable Moments\u201d<\/strong>: The developer team, knowingly went for prompts that challenged the base Phi-4 model while being solvable. These included problems on which Phi-4 initially showed around 50-% accuracy. This approach ensured that the training process avoided \u201ceasy\u201d data that just reinforced existing patterns, and focused more on \u201cstructured reasoning\u201d.<\/li>\n<\/ul>\n<p>The team essentially wanted the Phi-4-reasoning models to learn as they do, an approach that we humans usually rely on.\u00a0<\/p>\n<h3 class=\"wp-block-heading\" id=\"h-supervised-fine-tuning-sft\">Supervised Fine-Tuning (SFT)<\/h3>\n<p>Supervised Fine-Tuning (SFT) is the process of improving a pre-trained language model by training it on carefully selected input\u2013output pairs with high-quality responses. For the Phi-4-Reasoning models, this meant starting with the base Phi-4 model and then refining it using reasoning-focused tasks. Essentially, Phi-4-Reasoning was trained to learn and follow the step-by-step reasoning patterns seen in responses from o3-mini.<\/p>\n<h4 class=\"wp-block-heading\" id=\"h-training-details\">Training Details <\/h4>\n<ul class=\"wp-block-list\">\n<li><strong>Batch Size:<\/strong> It was kept at 32. This small batch size allowed the model to focus on individual examples without being overwhelmed by the additional noise.\u00a0<\/li>\n<li><strong>Learning rate<\/strong>: This was 7e-5, a moderate rate that avoids overshooting the optimal weights during updates.<\/li>\n<li><strong>Optimizer: <\/strong>A standard \u201cAdam W\u201d optimizer was used. This deep learning optimizer balances speed and stability.\u00a0<\/li>\n<li><strong>Context Length:<\/strong>\u00a0 It was taken to 32,768 tokens which was double the 16K token limit of the base Phi-4 model. This allowed the model to handle a longer context.\u00a0<\/li>\n<\/ul>\n<p>Using SFT during early training allowed the model to use <thinking> and <\/thinking> tokens to separate raw input from its internal reasoning. This structure made its decision-making process transparent. Also, the model showed steady improvements on the AIME benchmarks proving that the model was not just copying formats but was building reasoning logic.\u00a0<\/p>\n<h3 class=\"wp-block-heading\" id=\"h-reinforcement-learning\">Reinforcement Learning<\/h3>\n<p><a href=\"https:\/\/www.analyticsvidhya.com\/blog\/2021\/02\/introduction-to-reinforcement-learning-for-beginners\/\" target=\"_blank\" rel=\"noreferrer noopener\">Reinforcement learning<\/a> is teaching a model how to do better with feedback on all its generated outputs. The model gets a reward every time it answers correctly and is punished each time it responds incorrectly. RL was used to further train the Phi-4-Reasoning -Plus model. This training method refined the model\u2019s math-solving skills which evaluated the responses for accuracy and the structured approach.\u00a0<\/p>\n<h4 class=\"wp-block-heading\" id=\"h-how-does-rl-work\">How does RL work?<\/h4>\n<ul class=\"wp-block-list\">\n<li><strong>Reward Design: <\/strong>The model got +1 for each correct response and -0.5 for incorrect response. The model got punished for repetitive phrases \u201cLet\u2019s see.. Let\u2019s see..\u201d etc.\u00a0<\/li>\n<li><strong>Algorithm:<\/strong> The GRPO algorithm or generalized reward policy optimization algorithm, which is a variant of RL that balances exploration and exploitation was used.\u00a0<\/li>\n<li><strong>Results: <\/strong>Phi-4-Reasoning-Plus achieved 82.5% accuracy on AIME 2025 while Phi-4 Reasoning scored just 71.4%. It showed improved performance on Omni-MATH and TSP (traveling Salesman Problem) too.\u00a0<\/li>\n<\/ul>\n<p>RL training allowed the model to refine its steps iteratively and helped reduce the \u201c<a href=\"https:\/\/www.analyticsvidhya.com\/blog\/2024\/08\/hallucination-in-llms\/\" target=\"_blank\" rel=\"noreferrer noopener\">hallucinations<\/a>\u201d in the generated outputs.\u00a0<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-architecture-of-phi-4-reasoning-models\">Architecture of Phi-4-Reasoning Models<\/h2>\n<p>The main architecture of the Phi-4-Reasoning models is similar to the base Phi-4 model but to support the \u201creasoning\u201d tasks some key modifications were made.\u00a0<\/p>\n<ol class=\"wp-block-list\">\n<li>The two placeholder tokens from Phi-4 were repurposed. These tokens helped the model to differentiate between raw input and internal reasoning.\n<ul class=\"wp-block-list\">\n<li><thinking>: Used to mark the start of a reasoning block.<\/thinking><\/li>\n<li>: Used to mark the end of a reasoning block.\u00a0<\/li>\n<\/ul>\n<\/li>\n<li>The Phi-4 Reasoning models got an extended context window of 32 K tokens to handle the extra reasoning chains.\u00a0<\/li>\n<li>The models used rotary position embeddings to better track the position of tokens in long sequences to help the models maintain coherency.<\/li>\n<li>The models are trained to work efficiently on consumer hardware including devices like mobiles, tablets and desktops.<\/li>\n<\/ol>\n<h2 class=\"wp-block-heading\" id=\"h-phi-4-reasoning-models-benchmark-performance-nbsp\">Phi-4-Reasoning Models: Benchmark Performance\u00a0<\/h2>\n<p>Phi-4-Reasoning models were evaluated on various benchmarks to test their performance against different models on varying tasks.\u00a0\u00a0<\/p>\n<ul class=\"wp-block-list\">\n<li><strong>AIME 2025: <\/strong>A benchmark that tests advanced math, reasoning, and recent exam difficulty.\u00a0Phi-4-Reasoning Plus outperforms most of the top-performing models like o1, and Claude 3.7 Sonnet but is still behind o3-mini-high.\u00a0<\/li>\n<li><strong>Omni-MATH:<\/strong> A benchmark that evaluates diverse math reasoning across topics and levels. Both Phi-4-Reasoning and Phi-4-Reasoning plus outperform almost all models only behind DeepSeek R1.<\/li>\n<li><strong>GPQA:<\/strong> A benchmark that tests model performance on graduate-level professional QA reasoning. The two Phi reasoning models lag behind the giants like o1, o3-mini high and DeepSeek R1.<\/li>\n<li><strong>SAT:<\/strong> A benchmark that evaluates U.S. high school-level academic reasoning (math + verbal blend). The Phi-4-Reasoning-Plus model stands among the top 3 contenders with Phi-4-Reasoning following close behind.<\/li>\n<li><strong>Maze<\/strong>: This benchmark tests navigation + decision pathfinding reasoning. On this benchmark, the Phi-4-reasoning models lag behind the top-tier models like o1 and Claude 3.7 sonnet.<\/li>\n<\/ul>\n<p>On other benchmarks like Spatial map, TSP, and BA calendar, both the Phi-4-Reasoning models perform decently.\u00a0<\/p>\n<p>Also Read: <a href=\"https:\/\/www.analyticsvidhya.com\/blog\/2025\/01\/fine-tune-phi-4-locally\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Fine-Tune Phi-4 Locally?<\/a><\/p>\n<h2 class=\"wp-block-heading\" id=\"h-how-to-access-phi-4-reasoning-models\">How to Access Phi-4-Reasoning Models?<\/h2>\n<p>The two Phi-4-Reasoning models are available on Hugging Face:<\/p>\n<p>Click on the links to head to the hugging face page where you can access these models. On the right side corner of the screen, click on \u201c<em>Use This Model<\/em>\u201d, click on \u201c<em>Transformers<\/em>\u201d and copy the following code:<\/p>\n<pre class=\"wp-block-code\"><code># Use a pipeline as a high-level helper\nfrom transformers import pipeline\n\nmessages = [\n    {\"role\": \"user\", \"content\": \"Who are you?\"},\n]\n\npipe = pipeline(\"text-generation\", model=\"microsoft\/Phi-4-reasoning\")\npipe(messages)<\/code><\/pre>\n<p>Since it is a 14B parameter model and hence requires around 40 + GB of VRAM (GPU), You can either run these models on \u201cColab Pro\u201d or \u201cRunpod\u201d. For this blog, we ran the model on \u201cRunpod\u201d and used \u201cA100 GPU\u201d.\u00a0<\/p>\n<h4 class=\"wp-block-heading\" id=\"h-install-required-libraries\">Install Required Libraries<\/h4>\n<p>First, ensure you have the transformer\u2019s library installed. You can install it using pip:<\/p>\n<pre class=\"wp-block-code\"><code>pip install transformers<\/code><\/pre>\n<h4 class=\"wp-block-heading\" id=\"h-load-the-model\">Load the Model<\/h4>\n<p>Once all the libraries have been installed, you can now load the Phi-4-Reasoning model on your notebook:<\/p>\n<pre class=\"wp-block-code\"><code># Use a pipeline as a high-level helper\nfrom transformers import pipeline\n\npipe = pipeline(\"text-generation\", model=\"microsoft\/Phi-4-reasoning\", max_new_tokens=4096)<\/code><\/pre>\n<p>Make sure to set the max_new_tokens = 4096, the model generates its entire reasoning and often lesser token count can stop its output midway.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-phi-4-reasoning-handson-applications\">Phi-4-Reasoning: HandsOn Applications<\/h2>\n<p>We will now test the Phi-4-reasoning models for two tasks involving Logical Thinking and Reasoning. Let\u2019s start.<\/p>\n<h3 class=\"wp-block-heading\" id=\"h-task-1-logical-thinking\">Task 1: Logical Thinking<\/h3>\n<h4 class=\"wp-block-heading\" id=\"h-input\">Input:<\/h4>\n<pre class=\"wp-block-code\"><code>messages = [\n\n\u00a0\u00a0\u00a0\u00a0{\"role\": \"user\", \"content\": \"\"\"A team is to be selected from among ten persons \u2014 A, B, C, D, E, F, G, H, I and J \u2014 subject to the following conditions.\n\nExactly two among E, J, l and C must be selected.\n\nIf F is selected, then J cannot be selected.\n\nExactly one among A and C must be selected.\n\nUnless A is selected, E cannot be selected,\n\nIf and only if G is selected, D must not be selected.\n\nIf D is not selected, then H must be selected.\n\nThe size of a team is defined as the number of members in the team. In how many ways can the team of size 6 be selected, if it includes E? and What is the largest possible size of the team?\"\"\"\n\n\u00a0\u00a0\u00a0\u00a0},\n\n]<\/code><\/pre>\n<h4 class=\"wp-block-heading\" id=\"h-output\">Output:<\/h4>\n<pre class=\"wp-block-code\"><code>Markdown(pipe(messages)[0][\"generated_text\"][1][\"content\"])<\/code><\/pre>\n<p>\n<iframe src=\"https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/05\/Phi-4-logical-thinking.mp4\" loading=\"lazy\" title=\"Phi 4 Logical Reasoning\" allowfullscreen=\"\"><\/iframe>\n<\/p>\n<p>The model thinks thoroughly. It does a great job of breaking down the entire problem into small steps. The problem consists of two tasks, with the given token window, it gave the answer for the first task but it could not generate the answer for the second task. What was interesting was the approach that the model took towards solving the given problem. First, it started by understanding the question, mapping out all the possibilities, and then it went ahead into solving each task, sometimes, repeating the logic that it had pre-established.\u00a0<\/p>\n<h3 class=\"wp-block-heading\" id=\"h-task-2-explain-working-of-llms-to-an-8-year-old-kid\">Task 2: Explain Working of LLMs to an 8 Year Old Kid<\/h3>\n<h4 class=\"wp-block-heading\" id=\"h-input-0\">Input:<\/h4>\n<pre class=\"wp-block-code\"><code>messages = [\n\n\u00a0\u00a0\u00a0\u00a0{\"role\": \"user\", \"content\": \"\"\"Explain How LLMs works by comparing their working to the photosynthesis process in a plant so that an 8 year old kid can actually understand\"\"\"\n\n\u00a0\u00a0\u00a0\u00a0},\n\n]<\/code><\/pre>\n<h4 class=\"wp-block-heading\" id=\"h-output-0\">Output:<\/h4>\n<pre class=\"wp-block-code\"><code>Markdown(pipe(messages)[0][\"generated_text\"][1][\"content\"])<\/code><\/pre>\n<p>\n<iframe src=\"https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/05\/Reasoning-Phi-4.mp4\" loading=\"lazy\" title=\"Phi 4 Logical Reasoning\" allowfullscreen=\"\"><\/iframe>\n<\/p>\n<p>The model hallucinates a bit while generating the response for this problem. Then finally it generates the response that provides a good analogy between how LLMs work and the photosynthesis process. It keeps the language simple and finally adds a disclaimer too.\u00a0<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-phi-4-reasoning-vs-o3-mini-comparison\">Phi-4 Reasoning vs o3-mini: Comparison<\/h2>\n<p>In the last section, we saw how the Phi-4-Reasoning model performs while dealing with complex problems. Now let\u2019s compare its performance against OpenAI\u2019s o3-mini. To do this, let\u2019s test the output generated by the two models for the same task.<\/p>\n<h4 class=\"wp-block-heading\" id=\"h-phi-4-reasoning\">Phi-4-Reasoning<\/h4>\n<p><strong>Input<\/strong>:<\/p>\n<pre class=\"wp-block-code\"><code>from IPython.display import Markdown\n\nmessages = [\n\n\u00a0\u00a0\u00a0\u00a0{\"role\": \"user\", \"content\": \"\"\"Suppose players A and B are playing a game with fair coins. To begin the game A and B\u00a0\n\n\u00a0\u00a0\u00a0\u00a0both flip their coins simultaneously. If A and B both get heads, the game ends. If A and B both get tails, they both\u00a0\n\n\u00a0\u00a0\u00a0\u00a0flip again simultaneously. If one player gets heads and the other gets tails, the player who got heads flips again until he\u00a0\n\n\u00a0\u00a0\u00a0\u00a0gets tails, at which point the players flip again simultaneously. What is the expected number of flips until the game ends?\"\"\"\n\n\u00a0\u00a0\u00a0\u00a0},\n\n]\n\nOutput = pipe(messages)<\/code><\/pre>\n<p><strong>Output:<\/strong><\/p>\n<pre class=\"wp-block-code\"><code>Markdown(Output[0][\"generated_text\"][1][\"content\"])<\/code><\/pre>\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"872\" height=\"552\" src=\"https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/05\/Phi-4.webp\" alt=\"\" class=\"wp-image-233254\" style=\"width:548px;height:auto\" srcset=\"https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/05\/Phi-4.webp 872w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/05\/Phi-4-300x190.webp 300w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/05\/Phi-4-768x486.webp 768w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/05\/Phi-4-150x95.webp 150w\" sizes=\"auto, (max-width: 872px) 100vw, 872px\"\/><\/figure>\n<h4 class=\"wp-block-heading\" id=\"h-o3-mini\">o3-mini<\/h4>\n<p><strong>Input:<\/strong><\/p>\n<pre class=\"wp-block-code\"><code>response = client.responses.create(\n\n\u00a0\u00a0\u00a0\u00a0model=\"o3-mini\",\n\n\u00a0\u00a0\u00a0\u00a0input=\"\"\"Suppose players A and B are playing a game with fair coins. To begin the game A and B\u00a0\n\n\u00a0\u00a0\u00a0\u00a0both flip their coins simultaneously. If A and B both get heads, the game ends. If A and B both get tails, they both\u00a0\n\n\u00a0\u00a0\u00a0\u00a0flip again simultaneously. If one player gets heads and the other gets tails, the player who got heads flips again until he\u00a0\n\n\u00a0\u00a0\u00a0\u00a0gets tails, at which point the players flip again simultaneously. What is the expected number of flips until the game ends?\"\"\"\n\n)<\/code><\/pre>\n<p><strong>Output:<\/strong><\/p>\n<pre class=\"wp-block-code\"><code>print(response.output_text)<\/code><\/pre>\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"872\" height=\"754\" src=\"https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/05\/o3-output.webp\" alt=\"\" class=\"wp-image-233255\" style=\"width:519px;height:auto\" srcset=\"https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/05\/o3-output.webp 872w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/05\/o3-output-300x259.webp 300w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/05\/o3-output-768x664.webp 768w, https:\/\/cdn.analyticsvidhya.com\/wp-content\/uploads\/2025\/05\/o3-output-150x130.webp 150w\" sizes=\"auto, (max-width: 872px) 100vw, 872px\"\/><\/figure>\n<p>To check the detailed output you can refer to the following <a href=\"https:\/\/github.com\/Badribn0612\/av_article\/blob\/main\/phi_4_reasoning_av.ipynb\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Github link.<\/a>\u00a0\u00a0<\/p>\n<h4 class=\"wp-block-heading\" id=\"h-result-evaluation\">Result Evaluation<\/h4>\n<p>Both models give accurate answers. Phi-4-Reasoning breaks the problem into many detailed steps and thinks through each one before reaching the final answer. o3-mini, on the other hand, combines its thinking and final response more smoothly, making the output clear and ready to use. Its answers are also more concise and direct.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-applications-of-phi-4-reasoning-models\">Applications of Phi-4-Reasoning Models<\/h2>\n<p>The Phi-4-Reasoning models open a world of possibilities. Developers can use these models to develop intelligent systems to cater to different industries. Here are a few areas where the Phi-4-Reasoning models can truly excel:<\/p>\n<ul class=\"wp-block-list\">\n<li>Their strong performance in coding benchmarks (like LiveCodeBench) suggests applications in code generation, debugging, algorithm design, and automated software development.<\/li>\n<li>Their ability to generate detailed reasoning chains makes them well-suited for answering complex questions that require multi-step inference and logical deduction.<\/li>\n<li>The models\u2019 abilities in planning tasks could be leveraged in logistics, resource management, game-playing, and autonomous systems requiring sequential decision-making.<\/li>\n<li>The models can also contribute to designing systems in robotics, autonomous navigation, and tasks involving the interpretation and manipulation of spatial relationships.<\/li>\n<\/ul>\n<h2 class=\"wp-block-heading\" id=\"h-conclusion\">Conclusion<\/h2>\n<p>The Phi-4-Reasoning models are open-weight and built to compete with top paid reasoning models like <a href=\"https:\/\/www.analyticsvidhya.com\/courses\/deepseek-from-scratch\/\" target=\"_blank\" rel=\"noreferrer noopener\">DeepSeek<\/a> and <a href=\"https:\/\/www.analyticsvidhya.com\/blog\/2025\/02\/openai-o3-mini\/\" target=\"_blank\" rel=\"noreferrer noopener\">OpenAI\u2019s o3-mini<\/a>. Since they are not instruction-tuned, their answers may not always follow a clear, structured format like some popular models, but this can improve over time or with custom fine-tuning. Microsoft\u2019s new models are powerful reasoning tools with strong performance, and they\u2019re only going to get better from here.<\/p>\n<div class=\"border-top py-3 author-info my-4\">\n<div class=\"author-card d-flex align-items-center\">\n<div class=\"flex-shrink-0 overflow-hidden\">\n                                    <a href=\"https:\/\/www.analyticsvidhya.com\/blog\/author\/anumadan321\/\" class=\"text-decoration-none active-avatar\"><br \/>\n                                                                       <img decoding=\"async\" src=\"https:\/\/av-eks-lekhak.s3.amazonaws.com\/media\/lekhak-profile-images\/converted_image_49YFJQ9.webp\" width=\"48\" height=\"48\" alt=\"Anu Madan\" loading=\"lazy\" class=\"rounded-circle\"\/><\/p>\n<p>                                <\/a>\n                                <\/div>\n<\/p><\/div>\n<p>Anu Madan is an expert in instructional design, content writing, and B2B marketing, with a talent for transforming complex ideas into impactful narratives. With her focus on Generative AI, she crafts insightful, innovative content that educates, inspires, and drives meaningful engagement.<\/p>\n<\/p><\/div>\n<\/p><\/div>\n<p><h4 class=\"fs-24 text-dark\">Login to continue reading and enjoy expert-curated content.<\/h4>\n<p>                        <button class=\"btn btn-primary mx-auto d-table\" data-bs-toggle=\"modal\" data-bs-target=\"#loginModal\" id=\"readMoreBtn\">Keep Reading for Free<\/button>\n                    <\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>Microsoft isn\u2019t like OpenAI, Google, and Meta; especially not when it comes to large language models. While other tech giants prefer to launch multiple models almost overwhelming the users with choices; Microsoft launches a few, but those models always make it big among developers around the world. In their latest release, they have released 2 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":217332,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12033],"tags":[11385,11536,8558,24423,20867,14055],"dealstore":[],"offerexpiration":[],"class_list":["post-217331","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-analytics","tag-explained","tag-microsofts","tag-models","tag-phi4","tag-reasoning","tag-simply"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Microsoft\u2019s Phi-4 Reasoning Models Explained Simply - Som2ny Network<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/accountants4yourbusiness.co.uk\/?p=217331\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Microsoft\u2019s Phi-4 Reasoning Models Explained Simply - Som2ny Network\" \/>\n<meta property=\"og:description\" content=\"Microsoft isn\u2019t like OpenAI, Google, and Meta; especially not when it comes to large language models. While other tech giants prefer to launch multiple models almost overwhelming the users with choices; Microsoft launches a few, but those models always make it big among developers around the world. In their latest release, they have released 2 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/accountants4yourbusiness.co.uk\/?p=217331\" \/>\n<meta property=\"og:site_name\" content=\"Som2ny Network\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-01T19:00:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/accountants4yourbusiness.co.uk\/wp-content\/uploads\/2025\/05\/Phi-4-Reasoning-Models.webp.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"872\" \/>\n\t<meta property=\"og:image:height\" content=\"473\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"13 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/?p=217331#article\",\"isPartOf\":{\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/?p=217331\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/#\/schema\/person\/b8eaddeb20a8727558e0d0cddcca426e\"},\"headline\":\"Microsoft\u2019s Phi-4 Reasoning Models Explained Simply\",\"datePublished\":\"2025-05-01T19:00:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/?p=217331\"},\"wordCount\":2084,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/#organization\"},\"image\":{\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/?p=217331#primaryimage\"},\"thumbnailUrl\":\"https:\/\/accountants4yourbusiness.co.uk\/wp-content\/uploads\/2025\/05\/Phi-4-Reasoning-Models.webp.webp\",\"keywords\":[\"Explained\",\"Microsofts\",\"Models\",\"Phi4\",\"Reasoning\",\"Simply\"],\"articleSection\":[\"Analytics\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/accountants4yourbusiness.co.uk\/?p=217331#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/?p=217331\",\"url\":\"https:\/\/accountants4yourbusiness.co.uk\/?p=217331\",\"name\":\"Microsoft\u2019s Phi-4 Reasoning Models Explained Simply - Som2ny Network\",\"isPartOf\":{\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/?p=217331#primaryimage\"},\"image\":{\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/?p=217331#primaryimage\"},\"thumbnailUrl\":\"https:\/\/accountants4yourbusiness.co.uk\/wp-content\/uploads\/2025\/05\/Phi-4-Reasoning-Models.webp.webp\",\"datePublished\":\"2025-05-01T19:00:54+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/?p=217331#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/accountants4yourbusiness.co.uk\/?p=217331\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/?p=217331#primaryimage\",\"url\":\"https:\/\/accountants4yourbusiness.co.uk\/wp-content\/uploads\/2025\/05\/Phi-4-Reasoning-Models.webp.webp\",\"contentUrl\":\"https:\/\/accountants4yourbusiness.co.uk\/wp-content\/uploads\/2025\/05\/Phi-4-Reasoning-Models.webp.webp\",\"width\":872,\"height\":473},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/?p=217331#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/accountants4yourbusiness.co.uk\/?bp_activities=1\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Microsoft\u2019s Phi-4 Reasoning Models Explained Simply\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/#website\",\"url\":\"https:\/\/accountants4yourbusiness.co.uk\/\",\"name\":\"Som2ny Network\",\"description\":\"Daily Deals\",\"publisher\":{\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/accountants4yourbusiness.co.uk\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/#organization\",\"name\":\"Som2ny Network\",\"url\":\"https:\/\/accountants4yourbusiness.co.uk\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/accountants4yourbusiness.co.uk\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png\",\"contentUrl\":\"https:\/\/accountants4yourbusiness.co.uk\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png\",\"width\":300,\"height\":86,\"caption\":\"Som2ny Network\"},\"image\":{\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/#\/schema\/person\/b8eaddeb20a8727558e0d0cddcca426e\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Faccountants4yourbusiness.co.uk%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Faccountants4yourbusiness.co.uk%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/accountants4yourbusiness.co.uk\"],\"url\":\"https:\/\/accountants4yourbusiness.co.uk\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Microsoft\u2019s Phi-4 Reasoning Models Explained Simply - Som2ny Network","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/accountants4yourbusiness.co.uk\/?p=217331","og_locale":"en_US","og_type":"article","og_title":"Microsoft\u2019s Phi-4 Reasoning Models Explained Simply - Som2ny Network","og_description":"Microsoft isn\u2019t like OpenAI, Google, and Meta; especially not when it comes to large language models. While other tech giants prefer to launch multiple models almost overwhelming the users with choices; Microsoft launches a few, but those models always make it big among developers around the world. In their latest release, they have released 2 [&hellip;]","og_url":"https:\/\/accountants4yourbusiness.co.uk\/?p=217331","og_site_name":"Som2ny Network","article_published_time":"2025-05-01T19:00:54+00:00","og_image":[{"width":872,"height":473,"url":"https:\/\/accountants4yourbusiness.co.uk\/wp-content\/uploads\/2025\/05\/Phi-4-Reasoning-Models.webp.webp","type":"image\/webp"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"13 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/accountants4yourbusiness.co.uk\/?p=217331#article","isPartOf":{"@id":"https:\/\/accountants4yourbusiness.co.uk\/?p=217331"},"author":{"name":"admin","@id":"https:\/\/accountants4yourbusiness.co.uk\/#\/schema\/person\/b8eaddeb20a8727558e0d0cddcca426e"},"headline":"Microsoft\u2019s Phi-4 Reasoning Models Explained Simply","datePublished":"2025-05-01T19:00:54+00:00","mainEntityOfPage":{"@id":"https:\/\/accountants4yourbusiness.co.uk\/?p=217331"},"wordCount":2084,"commentCount":0,"publisher":{"@id":"https:\/\/accountants4yourbusiness.co.uk\/#organization"},"image":{"@id":"https:\/\/accountants4yourbusiness.co.uk\/?p=217331#primaryimage"},"thumbnailUrl":"https:\/\/accountants4yourbusiness.co.uk\/wp-content\/uploads\/2025\/05\/Phi-4-Reasoning-Models.webp.webp","keywords":["Explained","Microsofts","Models","Phi4","Reasoning","Simply"],"articleSection":["Analytics"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/accountants4yourbusiness.co.uk\/?p=217331#respond"]}]},{"@type":"WebPage","@id":"https:\/\/accountants4yourbusiness.co.uk\/?p=217331","url":"https:\/\/accountants4yourbusiness.co.uk\/?p=217331","name":"Microsoft\u2019s Phi-4 Reasoning Models Explained Simply - Som2ny Network","isPartOf":{"@id":"https:\/\/accountants4yourbusiness.co.uk\/#website"},"primaryImageOfPage":{"@id":"https:\/\/accountants4yourbusiness.co.uk\/?p=217331#primaryimage"},"image":{"@id":"https:\/\/accountants4yourbusiness.co.uk\/?p=217331#primaryimage"},"thumbnailUrl":"https:\/\/accountants4yourbusiness.co.uk\/wp-content\/uploads\/2025\/05\/Phi-4-Reasoning-Models.webp.webp","datePublished":"2025-05-01T19:00:54+00:00","breadcrumb":{"@id":"https:\/\/accountants4yourbusiness.co.uk\/?p=217331#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/accountants4yourbusiness.co.uk\/?p=217331"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/accountants4yourbusiness.co.uk\/?p=217331#primaryimage","url":"https:\/\/accountants4yourbusiness.co.uk\/wp-content\/uploads\/2025\/05\/Phi-4-Reasoning-Models.webp.webp","contentUrl":"https:\/\/accountants4yourbusiness.co.uk\/wp-content\/uploads\/2025\/05\/Phi-4-Reasoning-Models.webp.webp","width":872,"height":473},{"@type":"BreadcrumbList","@id":"https:\/\/accountants4yourbusiness.co.uk\/?p=217331#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/accountants4yourbusiness.co.uk\/?bp_activities=1"},{"@type":"ListItem","position":2,"name":"Microsoft\u2019s Phi-4 Reasoning Models Explained Simply"}]},{"@type":"WebSite","@id":"https:\/\/accountants4yourbusiness.co.uk\/#website","url":"https:\/\/accountants4yourbusiness.co.uk\/","name":"Som2ny Network","description":"Daily Deals","publisher":{"@id":"https:\/\/accountants4yourbusiness.co.uk\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/accountants4yourbusiness.co.uk\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/accountants4yourbusiness.co.uk\/#organization","name":"Som2ny Network","url":"https:\/\/accountants4yourbusiness.co.uk\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/accountants4yourbusiness.co.uk\/#\/schema\/logo\/image\/","url":"https:\/\/accountants4yourbusiness.co.uk\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png","contentUrl":"https:\/\/accountants4yourbusiness.co.uk\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png","width":300,"height":86,"caption":"Som2ny Network"},"image":{"@id":"https:\/\/accountants4yourbusiness.co.uk\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/accountants4yourbusiness.co.uk\/#\/schema\/person\/b8eaddeb20a8727558e0d0cddcca426e","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/accountants4yourbusiness.co.uk\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Faccountants4yourbusiness.co.uk%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Faccountants4yourbusiness.co.uk%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png","caption":"admin"},"sameAs":["https:\/\/accountants4yourbusiness.co.uk"],"url":"https:\/\/accountants4yourbusiness.co.uk\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/accountants4yourbusiness.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/217331","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/accountants4yourbusiness.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/accountants4yourbusiness.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/accountants4yourbusiness.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/accountants4yourbusiness.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=217331"}],"version-history":[{"count":0,"href":"https:\/\/accountants4yourbusiness.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/217331\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/accountants4yourbusiness.co.uk\/index.php?rest_route=\/wp\/v2\/media\/217332"}],"wp:attachment":[{"href":"https:\/\/accountants4yourbusiness.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=217331"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/accountants4yourbusiness.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=217331"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/accountants4yourbusiness.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=217331"},{"taxonomy":"dealstore","embeddable":true,"href":"https:\/\/accountants4yourbusiness.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fdealstore&post=217331"},{"taxonomy":"offerexpiration","embeddable":true,"href":"https:\/\/accountants4yourbusiness.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fofferexpiration&post=217331"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}