BazaarLinkBazaarLink
登入
P

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.

定价信息

输入价格
/ 百万 tokens
输出价格
/ 百万 tokens
上下文窗口
33K
tokens

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

供应商PMicrosoft
发布日期2025年5月
Model IDphi-4-reasoning

技术规格

上下文窗口
33K tokens
推理(Reasoning)
输入模态
文字
输出模态
文字
!
此模型已下架 — API 呼叫會回傳 HTTP 410,但本頁面保留以利歷史查詢

快速开始

只需更改 base_url 即可通过 BazaarLink API 使用 Phi 4 Reasoning:

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-4-reasoning",
    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-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 方法无需改代码。

中轉站誠信檢測 · 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.