DEVELOPERS · 开发者工具DEVELOPERS · Toolchain

为开发者而生的工具链Tools Built for Developers

从密钥管理到在线调试,从多语言 SDK 到命令行工具——让接入钛一智能算力与大模型服务的过程尽可能顺畅。From key management to online debugging, multi-language SDKs to CLI — everything you need to build on TaiYi.

OpenAIOpenAI兼容 API 协议compatible API
4种4官方 SDK 语言official SDKs
在线OnlinePlayground 调试Playground
开源OSSCLI 与示例库Open-source CLI
TOOLCHAIN工具全景Toolchain

覆盖接入全流程的开发者工具Tools Across Your Workflow

从注册获取密钥,到开发调试,再到上线监控——每个环节都有顺手的工具。From keys to debugging to monitoring — tools for every stage.

API 密钥管理API Key Console

多密钥创建、细粒度权限、用量配额与自动轮换策略,异常调用实时告警。Create keys with fine-grained scopes, quotas, rotation and anomaly alerts.

多语言 SDKMulti-language SDKs

Python / Go / Java / Node.js 官方 SDK,与 OpenAI SDK 协议兼容,可平滑迁移。Python, Go, Java and Node.js SDKs, OpenAI-protocol compatible.

PlaygroundPlayground

在线调试对话、参数与提示词模板,支持一键导出代码与分享链接。Interactive playground with parameter tuning and code export.

CLI 命令行CLI Tools

模型管理、批量推理、数据集上传与评测任务的一站式命令行工具。One CLI for model management, batch inference and evaluation.

调用监控Call Monitoring

按密钥/模型/时间维度的调用量、延迟与错误率看板,支持 webhook 告警。Dashboards for volume, latency and error rates with webhook alerts.

示例代码库Cookbook

100+ 场景化示例:RAG、Agent、Function Calling、微调脚本与最佳实践。100+ recipes: RAG, agents, tool calls, tuning and more.

QUICK START三行代码开始Start in Three Lines

OpenAI SDK 直接兼容OpenAI SDK Compatible

已有 OpenAI 应用只需替换 base_url 与 api_key 即可无缝迁移。Point your OpenAI SDK at our endpoint and you are done.

# Python — OpenAI SDK 直连钛一大模型服务# Python — OpenAI SDK against the TaiYi LLM service
from openai import OpenAI

client = OpenAI(
    base_url="https://api.taioneai.com/v1",
    api_key="sk-your-key"
)

resp = client.chat.completions.create(
    model="deepseek-r1",
    messages=[{"role": "user", "content": "你好,钛一!""Hello, TaiYi!"}]
)
print(resp.choices[0].message.content)

准备好开始构建了吗?Ready to Build?

查阅完整 API 参考与最佳实践,或在 Playground 中立即体验。Read the full API reference or try the Playground now.