Phi 4 Reasoning
Phi-4-reasoning is a 14B parameter dense decoder-only transformer developed by Microsoft, fine-tuned from Phi-4 to enhance complex reasoning capabilities. It uses a combination of supervised fine-tuning on chain-of-thought traces and reinforcement learning, targeting math, science, and code reasoning tasks. With a 32k context window and high inference efficiency, it is optimized for structured responses in a two-part format: reasoning trace followed by a final solution. The model achieves strong results on specialized benchmarks such as AIME, OmniMath, and LiveCodeBench, outperforming many larger models in structured reasoning tasks. It is released under the MIT license and intended for use in latency-constrained, English-only environments requiring reliable step-by-step logic. Recommended usage includes ChatML prompts and structured reasoning format for best results.
定价信息
💱 匯率 USD/NTD = 32.34 · 不含稅 · 更新於 2026/07/22
技术规格
快速开始
只需更改 base_url 即可通过 BazaarLink API 使用 Phi 4 Reasoning:
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-4-reasoning",
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-4-reasoning",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);为什么通过 BazaarLink 使用 Phi 4 Reasoning?
- ✓台币计费 + 统一发票 — 台湾团队无需海外刷卡
- ✓OpenAI 兼容 API — 无需改写代码
- ✓自动故障转移 — 同模型多供应商备援
- ✓中文客服支持 — 本地团队即时协助
常见问题
在中国大陆可以直接调用 Phi 4 Reasoning API 吗?
可以。BazaarLink 提供与 OpenAI 完全兼容的接口,国内网络可直接调用 Phi 4 Reasoning,稳定可用、无地区限制。
调用 Phi 4 Reasoning API 支持支付宝、微信、银联付款吗?
支持。可使用支付宝、微信支付及银联卡充值,无需海外信用卡。
Phi 4 Reasoning 的 API 价格怎么算?
Phi 4 Reasoning 的实时价格见本页定价区。BazaarLink 以美元计费,不在供应商原价上加价。
怎么用 OpenAI SDK 调用 Phi 4 Reasoning?
把 base_url 设为 https://bazaarlink.ai/api/v1、model 填 "phi-4-reasoning" 即可,所有 OpenAI SDK 方法无需改代码。