1import OpenAI from 'openai'23const client = new OpenAI({4 baseURL: "https://llm-gateway.codzen.ai",5 apiKey: "<CODZEN_API_KEY>",6})78const response = await client.chat.completions.create({9 model: 'gpt-4.1',10 messages: [11 { role: 'user', content: 'Why is the sky blue?' }12 ],13})1つのAPI Key、数百のモデル
テキスト・画像・動画モデルを含むAIスタック全体の請求と可観測性を統一。
自動フェイルオーバーで高可用性
プロバイダー障害時に自動フォールバック。モデルがダウンしてもアプリは稼働し続けます。
上乗せなし、定価のまま
プロバイダーの定価そのまま。プラットフォーム手数料はかかりません。
あらゆるものを生成
|