BazaarLinkBazaarLink
Sign in
P

Phi 3 Medium 4k Instruct

Phi-3 4K 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 128k context length, try [Phi-3 Medium 128K](/models/microsoft/phi-3-medium-128k-instruct).

Pricing

Input Price
/ 1M tokens
Output Price
/ 1M tokens
Context Window
4K
tokens

💱 匯率 USD/NTD = 32.34 · 不含稅 · 更新於 2026/07/22

ProviderPMicrosoft
Released2024年6月
Model IDphi-3-medium-4k-instruct

Technical specifications

Context window
4K tokens
Reasoning
Input
Text
Output
Text
!
此模型已下架 — API 呼叫會回傳 HTTP 410,但本頁面保留以利歷史查詢

Quick Start

Use Phi 3 Medium 4k Instruct via BazaarLink API — just change the base_url:

Python
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-4k-instruct",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
TypeScript
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-4k-instruct",
  messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);

Why use Phi 3 Medium 4k 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
Try Now← All Models

Frequently Asked Questions

What is Phi 3 Medium 4k Instruct?

Phi-3 4K 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 128k context length, try [Phi-3 Medium 128K](/models/microsoft/phi-3-medium-128k-instruct).

How much does the Phi 3 Medium 4k Instruct API cost?

Phi 3 Medium 4k 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 4k Instruct with the OpenAI SDK?

Set base_url to "https://bazaarlink.ai/api/v1" and use model ID "phi-3-medium-4k-instruct". All OpenAI SDK methods (chat.completions, embeddings, streaming) work without code changes.

What is the context window for Phi 3 Medium 4k Instruct?

Phi 3 Medium 4k Instruct supports a context window of 4,000 tokens.

Is Phi 3 Medium 4k Instruct available for free?

Phi 3 Medium 4k Instruct is a paid model. BazaarLink offers free trial credits on registration so you can test it without a credit card.

中轉站誠信檢測 · BazaarLink 獨家

尚無此模型的檢測資料

BazaarLink Probe 對聲稱提供此模型的 endpoint 進行家族指紋驗證與 V3 子模型對照。 如發現行為與真貨基準不符,會列入異常案例。

查看完整檢測報告 →

Related Models & Links

All ModelsAPI DocumentationAPI Latency Probe
Support
Support
Hi! How can we help you?
Send a message and we'll get back to you soon.