Bagel 34b
An experimental fine-tune of [Yi 34b 200k](/models/01-ai/yi-34b-200k) using [bagel](https://github.com/jondurbin/bagel). This is the version of the fine-tune before direct preference optimization (DPO) has been applied. DPO performs better on benchmarks, but this version is likely better for creative writing, roleplay, etc.
Pricing
💱 匯率 USD/NTD = 32.34 · 不含稅 · 更新於 2026/07/22
Technical specifications
Quick Start
Use Bagel 34b 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="bagel-34b",
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: "bagel-34b",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);Why use Bagel 34b 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 Bagel 34b?
An experimental fine-tune of [Yi 34b 200k](/models/01-ai/yi-34b-200k) using [bagel](https://github.com/jondurbin/bagel). This is the version of the fine-tune before direct preference optimization (DPO) has been applied. DPO performs better on benchmarks, but this version is likely better for creative writing, roleplay, etc.
How much does the Bagel 34b API cost?
Bagel 34b pricing is available on this page. BazaarLink bills in TWD with no additional markup over the provider's list price.
How do I use Bagel 34b with the OpenAI SDK?
Set base_url to "https://bazaarlink.ai/api/v1" and use model ID "bagel-34b". All OpenAI SDK methods (chat.completions, embeddings, streaming) work without code changes.
What is the context window for Bagel 34b?
Bagel 34b supports a context window of 200,000 tokens.
Is Bagel 34b available for free?
Bagel 34b is a paid model. BazaarLink offers free trial credits on registration so you can test it without a credit card.