Phi-3.5 Medium
14B Phi-3.5, predecessor to Phi-4 with strong benchmark efficiency for its size.
Updated
Quick facts
- Released
- Aug 2024
- Context
- 128K tokens
- Output / 1M
- Pricing not published
- License
- MIT
About Phi-3.5 Medium
Phi-3.5 Medium was Microsoft's mid-2024 entry showing the same curated-synthetic-data approach scaled to 14B parameters. Strong on math, code, and reasoning relative to its parameter count. Superseded by Phi-4 for most new uses.
Benchmarks
Published scores from Microsoft's model card or independent leaderboards. We do not publish numbers we cannot source, see methodology.
- MMLU78.9
Capabilities
Strengths
- MIT license
- 128k context
- Strong reasoning at 14B
Tracked weaknesses
- Superseded by Phi-4
Pricing
Per-million-token rates as published by Microsoft.
Call Phi-3.5 Medium from your code
Drop-in snippet for the Microsoft SDK. Set your API key in the environment and run.
import OpenAI from "openai";
const client = new OpenAI({
// Use OPENAI_API_KEY for OpenAI, or your provider's key + baseURL.
apiKey: process.env.OPENAI_API_KEY,
});
const completion = await client.chat.completions.create({
model: "phi-3-5-medium",
messages: [
{ role: "user", content: "What's the time complexity of quicksort?" },
],
});
console.log(completion.choices[0].message.content);Best for
Tasks where Phi-3.5 Medium ranks among LLMDex's top picks.
Compare Phi-3.5 Medium with…
Frequently asked
How much does Phi-3.5 Medium cost?
Microsoft has not published per-token API pricing for Phi-3.5 Medium at the time of writing. Check the official site for current pricing tiers, or compare against alternative models on LLMDex.What is Phi-3.5 Medium's context window?
Phi-3.5 Medium supports a context window of 128K tokens.Is Phi-3.5 Medium open source?
Phi-3.5 Medium ships with open weights under the MIT license. You can self-host it, fine-tune it, and (subject to the license terms) deploy it commercially.When was Phi-3.5 Medium released?
Phi-3.5 Medium was released on Aug 20, 2024 by Microsoft.
Intelligence, distilled weekly.
One short email every Friday, new model launches, leaderboard moves, and pricing drops. Curated by hand. Free, no spam.