Phi 3 Medium 128k Instruct
Phi-3 128K Medium is a powerful 14-billion parameter model designed for advanced language understanding, reasoning, and instruction following. Optimized through supervised fine-tuning and preference adjustments, it excels in tasks involving common sense, mathematics, logical reasoning, and code processing. At time of release, Phi-3 Medium demonstrated state-of-the-art performance among lightweight models. In the MMLU-Pro eval, the model even comes close to a Llama3 70B level of performance. For 4k context length, try [Phi-3 Medium 4K](/models/microsoft/phi-3-medium-4k-instruct).
Pricing
💱 匯率 USD/NTD = 32.34 · 不含稅 · 更新於 2026/07/22
Technical specifications
Quick Start
Use Phi 3 Medium 128k Instruct via BazaarLink API — just change the base_url:
from openai import OpenAI
client = OpenAI(
base_url="https://bazaarlink.ai/api/v1",
api_key="sk-bl-YOUR_API_KEY",
)
response = client.chat.completions.create(
model="phi-3-medium-128k-instruct",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://bazaarlink.ai/api/v1",
apiKey: "sk-bl-YOUR_API_KEY",
});
const response = await client.chat.completions.create({
model: "phi-3-medium-128k-instruct",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);Why use Phi 3 Medium 128k Instruct via BazaarLink?
- ✓USD billing (TWD-quoted) + unified invoices — no foreign credit card needed for Taiwan teams
- ✓OpenAI-compatible API — zero code changes required
- ✓Automatic failover — multi-provider redundancy for the same model
- ✓Chinese-language support — local team, instant help
Frequently Asked Questions
What is Phi 3 Medium 128k Instruct?
Phi-3 128K Medium is a powerful 14-billion parameter model designed for advanced language understanding, reasoning, and instruction following. Optimized through supervised fine-tuning and preference adjustments, it excels in tasks involving common sense, mathematics, logical reasoning, and code processing. At time of release, Phi-3 Medium demonstrated state-of-the-art performance among lightweight models. In the MMLU-Pro eval, the model even comes close to a Llama3 70B level of performance. For 4k context length, try [Phi-3 Medium 4K](/models/microsoft/phi-3-medium-4k-instruct).
How much does the Phi 3 Medium 128k Instruct API cost?
Phi 3 Medium 128k Instruct pricing is available on this page. BazaarLink bills in TWD with no additional markup over the provider's list price.
How do I use Phi 3 Medium 128k Instruct with the OpenAI SDK?
Set base_url to "https://bazaarlink.ai/api/v1" and use model ID "phi-3-medium-128k-instruct". All OpenAI SDK methods (chat.completions, embeddings, streaming) work without code changes.
What is the context window for Phi 3 Medium 128k Instruct?
Phi 3 Medium 128k Instruct supports a context window of 128,000 tokens.
Is Phi 3 Medium 128k Instruct available for free?
Phi 3 Medium 128k Instruct is a paid model. BazaarLink offers free trial credits on registration so you can test it without a credit card.