導入ガイド

OpenAI 互換の API としてそのまま組み込みやすい構成です。

Quick Start

curl https://api.tokenoutput.cc/v1/chat/completions \
  -H "Authorization: Bearer sk-your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-chat",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

認証

すべての API リクエストには Bearer API Key が必要です。

Authorization: Bearer sk-your-api-key

利用できるモデル

  • deepseek-chat — 汎用・コーディング向け
  • deepseek-reasoner — 複雑な推論向け
  • qwen-plus / qwen-max — 高品質な一般用途
  • glm-4-plus / glm-4-air / glm-4-flash — 低コスト〜高性能帯

料金モデル

Pay-as-you-go:token 使用量に応じて課金

Starter / Pro:月間 request 数を含む定額プラン。超過後も pay-as-you-go で継続利用できます。

最大 1M input tokens / request に対応します。

Support