
場面のイメージ画像。このモデルの出力ではありません
モデル:
料金: 7 credits per 1K input tokens · ≈ $0.0035 · 60 credits per 1K output tokens · ≈ $0.03高い安定性と、APIAny プラットフォーム上の詳細な使用履歴を提供します。
プロンプト設定例:生成結果はありません
Sampling temperature.
Maximum output tokens.
Reasoning is always on for this model; effort selects depth.
Summary mode for reasoning output when supported.
Controls output detail for Responses API requests.
USD 見積 ≈ $0.123:チャージ枠 $999:1 USD = 2,000 クレジット。

履歴
このブラウザ内にローカル保存
0 件実行中 · 0 件完了
入力
≈ $0.0035
出力
≈ $0.03
キャッシュ読み取り
≈ $0.0005
コンテキスト
最大出力
認証
すべてのリクエストで Authorization ヘッダーに Bearer トークンを含める必要があります。コンソールで API Key を作成してください。
Authorization: Bearer YOUR_API_KEYhttps://apiany.ai/v1/chat/completionsリクエストパラメータ
| パラメータ | タイプ | 必須 | 説明 |
|---|---|---|---|
model | 文字列 | 必須 | 呼び出すモデル識別子。このモデルの ID を使用します。 |
messages | 配列 | 必須 | OpenAI チャット形式のメッセージ履歴(role + content)。 |
stream | ブール値 | 任意 | true の場合、レスポンスは SSE ストリームとして返されます。 |
リクエスト例
curl "https://apiany.ai/v1/chat/completions" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-6-astra",
"messages": [
{
"role": "user",
"content": "Analyze this fictional single-process JavaScript queue with two overlapping calls. let busy=false; const queue=['A','B']; async function take(){ if(busy || !queue.length) return; await Promise.resolve(); busy=true; const job=queue.shift(); try { await send(job); } finally { busy=false; } }. send(job) is async and must never overlap. Explain an interleaving that violates this rule, give the smallest safe fix, and describe a deterministic test. Do not redesign it into a distributed queue."
}
],
"temperature": 0.7,
"max_tokens": 4096,
"reasoning": {
"summary": "auto"
},
"text": {
"verbosity": "medium"
}
}'レスポンス例
{
"id": "chatcmpl-abc123",
"object": "chat.completion",
"model": "gpt-6-astra",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Hello! How can I help?"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 12,
"completion_tokens": 18,
"total_tokens": 30
}
}