跳至主要內容
STRUCTURED OUTPUT

Deterministic Function Calling & Strict JSON Extraction at Scale

Power multi-tool agent harnesses and ETL extraction pipelines with verified tool-calling fidelity and strict JSON Schema adherence.

為什麼常規 API 或訂閱方案在這裡容易受阻

Many budget open-model endpoints mangle tool-call JSON arguments, drop required fields, or wrap JSON in markdown fences — causing silent parser failures in agent loops.

bf16.ai 的架構級解法

  • GLM-5.3 Flash Uncensored and DeepSeek V4.1 Flash Uncensored are specifically verified for deterministic tool calling and JSON Schema compliance.
  • Native support for OpenAI tools/function-calling AND Anthropic tool_use schemas.
  • Sub-dollar pricing ($0.26–$0.30/1M input) lets you run strict schema extraction across millions of records.

推薦主備模型組合

Smart Alias: bf16/auto:fast
Primary Model
GLM-5.3 Flash Uncensored
zai-org/glm-5.3-flash-uncensored
$0.30 in · $0.065 cached · $1.12 out / 1M · 1M tokens

Strict JSON Schema extraction, Browser-Use UI agents, DevSecOps

Secondary / Fast Subagent
DeepSeek V4.1 Flash Uncensored
deepseek/deepseek-v4.1-flash-uncensored
$0.26 in · $0.045 cached · $1.00 out / 1M · 1M tokens

24/7 coding loops, subagent fan-out, and high-volume automation

一鍵複製正式環境設定

Strict JSON Schema extraction request

extract.ts
const res = await openai.chat.completions.create({
  model: 'zai-org/glm-5.3-flash-uncensored',
  response_format: { type: 'json_object' },
  temperature: 0,
  messages: [
    { role: 'system', content: 'Return valid JSON matching { "cve": string|null, "package": string, "fixedVersion": string }.' },
    { role: 'user', content: advisoryText },
  ],
});
配套客户端接入文档

常見問題解答

Do bf16.ai uncensored models preserve tool-calling accuracy?

Yes — editing refusal directions without retraining preserves function-calling and JSON structure reliability.

Which model is best when strict JSON reliability is #1?

zai-org/glm-5.3-flash-uncensored ($0.30/$1.12, ~120 tok/s) is tuned specifically for strict JSON Schema pipelines.

Can I pass dozens of MCP tool definitions without inflating cost?

Yes — repeated tool definitions sit at the front of the prompt and automatically qualify for 78–84% cached input discounts.

延伸閱讀與對比

查看全部實戰場景

bf16.ai 与 Anthropic、OpenAI、Google、Z.ai、Moonshot AI、DeepSeek 及本页提及的任何第三方厂商无隶属关系,所有商标归其各自所有者所有。“bf16”为品牌名称,不代表底层数值精度承诺。第三方参考价格为公开估算值,具体请以各厂商官网最新公布为准。