Phi 4 vs Hy-MT2-1.8B
Updated November 27, 2026. Prices as of 2026-12-04 12:13 UTC
Phi 4 vs Hy-MT2-1.8B on OpenCheap, from the same price book as the model pages. Phi 4 is 19 % cheaper than Hy-MT2-1.8B on a typical 1 : 3 input-to-output mix: $0.12 against $0.15 per 1M tokens.
Phi 4 is 19 % cheaper than Hy-MT2-1.8B on a typical 1 : 3 input-to-output mix: $0.12 against $0.15 per 1M tokens. A request with 10,000 input tokens and 1,000 output tokens costs about $0.00084 on Phi 4 and $0.00065 on Hy-MT2-1.8B. Phi 4 has the larger context window: 16K tokens, against 8.1K for Hy-MT2-1.8B. On each model's fastest provider, the first token arrives after 0.20 s on Phi 4 and 0.46 s on Hy-MT2-1.8B (median, measured by OpenCheap). On OpenCheap, Phi 4 is served by 4 providers and Hy-MT2-1.8B by 1 provider. Both are called with one key at the same OpenAI-compatible endpoint, so switching is a change of the model id. Prices as of 2026-12-04 12:13 UTC.
Side by side
| Model | Phi 4 Microsoft | Hy-MT2-1.8B Tencent |
|---|---|---|
| Input per 1M tokens | $0.07 | $0.046 (best) |
| Output per 1M tokens | $0.14 (best) | $0.19 |
| On a 1 : 3 mix per 1M tokens, input to output | $0.12 (best) | $0.15 |
| One request 10,000 tokens in, 1,000 out | $0.00084 | $0.00065 (best) |
| 1,000 requests of that size | $0.84 | $0.65 (best) |
| List price per 1M tokens, input / output | $0.07 / $0.14 | $0.044 / $0.18 |
| Context window tokens in one request | 16K (best) | 8.1K |
| Providers serving it on OpenCheap | 4 (best) | 1 |
| First token fastest provider, median | 0.20 s (best) | 0.46 s |
| Output speed fastest provider, median | 100 tok/s | 187 tok/s (best) |
| Uptime best provider, last day | 100 % | 100 % |
| Model id | opencheap/phi-4 Model page → | opencheap/hy-mt2-1.8b Model page → |
Prices are each model's From price, the provider a request goes to now, in US dollars. The list price is the model's published price. First token, output speed and uptime are medians for each model's fastest working provider, measured by OpenCheap; each model page lists every provider. Green marks the best value in a row.
Switch between them
Point the OpenAI SDK at https://api.opencheap.si/v1 with your OpenCheap key. To call Hy-MT2-1.8B instead of Phi 4, change the model to opencheap/hy-mt2-1.8b; nothing else in your code changes. Each request goes to the cheapest healthy provider of the model you name, and every answer reports what it cost in usage.cost.
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/phi-4",
messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)About the two models
Phi 4 is Microsoft's small language model, built to answer prompts in a chat format and aimed mainly at math, coding and general reasoning. It is trained chiefly on English text, so it is not intended for multilingual use. All Microsoft models
Hy-MT2-1.8B is Tencent's lightweight translation model in the Hy-MT2 family, covering 33 languages and following translation instructions written in multiple languages. It is the smallest of the three sizes, sitting alongside 7B and 30B-A3B variants. All Tencent models
Questions
- Which is cheaper, Phi 4 or Hy-MT2-1.8B?
- Phi 4 is 19 % cheaper than Hy-MT2-1.8B on a typical 1 : 3 input-to-output mix: $0.12 against $0.15 per 1M tokens. Per 1M tokens, Phi 4 costs $0.07 input and $0.14 output; Hy-MT2-1.8B costs $0.046 input and $0.19 output.
- Which has the larger context window, Phi 4 or Hy-MT2-1.8B?
- Phi 4 has the larger context window: 16K tokens, against 8.1K for Hy-MT2-1.8B.
- Which is faster, Phi 4 or Hy-MT2-1.8B?
- On each model's fastest provider, Phi 4 starts answering after 0.20 s and writes about 100 tok/s; Hy-MT2-1.8B starts answering after 0.46 s and writes about 187 tok/s (medians measured by OpenCheap).
- Can I use Phi 4 and Hy-MT2-1.8B with the same API key?
- Yes. Both are called at https://api.opencheap.si/v1 with the OpenAI SDK or any OpenAI-compatible client: pass the model id opencheap/phi-4 or opencheap/hy-mt2-1.8b, and each request goes to the cheapest healthy provider of that model.