OpenAI / GPT:モデル・ツール・情報源・状態の選択
- 提供元・モデル・プラン・利用環境
- GPT
- 記事ID
- PM-GPT-CORE-04
要点
CORE-04のmodel / tool / source / state routing契約を、OpenAI API、Responses、Chat Completions、Batch、background mode、Agents SDKへ対応づける。
どこまで当てはまるか
ChatGPT UI、API endpoint、SDK default、application-owned routerを別surfaceとして扱い、価格・quota・tenant設定・内部routing・live品質は推測しない。
詳しく理解する
製品マッピング — GPT / CORE-04
PRODUCT_MAPPING_ID: PM-GPT-CORE-04-v0.1
PROVIDER: GPT / OpenAI
CORE_PACKET: PKT-.1
AS_OF: 2026-09-08 19:59 JST
レイヤー: 製品マッピング(Enterprise AI Coreではなく、組織の利用環境でもありません)
対象範囲と前提
CORE-04のモデル / ツール / ソース / ステート・ルーティングの契約を、OpenAI API、Responses、Chat Completions、Batch、バックグラウンドモード、およびAgents SDKに対応付けます。ChatGPT UI、APIエンドポイント、SDKのデフォルト設定、およびアプリケーションが所有するルーターを別のインターフェースとして扱い、価格、クォータ、組織の利用環境の設定、内部ルーティング、およびライブ品質については推測を行いません。
Core → GPT マッピング行
- ROW: PM-C04-GPT-001; Core contract: model route / hard capability prefilter; GPT / OpenAI surface and current evidence: OpenAI model catalogはmodelごとにendpoint、feature、Responses tool supportを列挙し、model pagesはsnapshotで版を固定できると説明する。model-selection guideはaccuracy targetを先に満たし、その後cost/latencyを最適化する順序を示す; Mapping decision: route前にtask/risk、required modality/tool/schema/contextを固定し、catalog capabilityで不適合routeを除外する。model family名、価格、平均benchmarkだけでhigh-risk routeを選ばない; Required verification / 未確認: tenant availability、実quota、実latency、task別accuracy、snapshotの採用可否は未確認
- ROW: PM-C04-GPT-002; Core contract: explicit route identity / implicit default; GPT / OpenAI surface and current evidence: Responses requestはmodelを受け、responseにもmodelが返る。Agents SDK v0.22系docsではAgentがmodel未指定の場合gpt-5.6-luna・reasoning effort none・low verbosityが既定; Mapping decision: requested_model / returned_model / model_snapshot_or_alias / endpoint / SDK_version / SDK_default_applied / system_fingerprintをroute recordへ入れる。model未指定を意図した選択と同一視しない; Required verification / 未確認: ChatGPT表示model、backend build、silent substitution、tenant rolloutはAPI/SDK公開surfaceから閉じない
- ROW: PM-C04-GPT-003; Core contract: tool route / execution boundary; GPT / OpenAI surface and current evidence: Responsesはbuilt-in tools、MCP、custom functionsを別tool categoryとして持つ。function callingはmodelからのcall受領後にapplicationがcodeを実行し、結果を再送するmulti-step flow。tool_choice、allowed tools、parallel_tool_calls=falseで候補と並列性を制約できる; Mapping decision: tool_available / tool_allowed / call_proposed / call_authorized / application_or_provider_executed / receipt / readback / acceptedを分離する。高risk writeはmodel proposalやtool-choiceだけで実行許可にしない; Required verification / 未確認: built-in toolの内部dispatch、MCP先のauthorization、外部commit、parallel callの同一対象安全性は未確認
- ROW: PM-C04-GPT-004; Core contract: source route / evidence observability; GPT / OpenAI surface and current evidence: Responses file searchはhosted retrievalで、citationは返る一方、raw search resultsは既定で返らずinclude=["file_search_call.results"]が必要。metadata filterは設定可能; Mapping decision: source-bound routeではvector store ID、file/version、filter、raw-result include、citation、authority/freshness/permission decisionを記録する。file searchをnative source IAMやcitation completenessと同一視しない; Required verification / 未確認: source IAM、principal binding、revocation、rerank/cache/log/prompt全経路、tenant connectorはCORE-02 live/ORG残差
- ROW: PM-C04-GPT-005; Core contract: state route / endpoint adapter; GPT / OpenAI surface and current evidence: Responsesはtyped Items、Chat CompletionsはMessagesで、function/tool/output schemaも異なる。Responsesはprevious_response_idまたはConversationを使えるが、前responseのtop-level instructionsは自動継承されない; Mapping decision: route descriptorへendpoint/API shape、conversation/previous response、instructions digest、item schema、artifact/version/receiptを含める。endpoint/modelを変えるhandoffではadapter round-tripに失敗したら停止する; Required verification / 未確認: Responses↔Chat Completions↔Agents SDK↔ChatGPTのsemantic state互換、hidden truncation、external artifact continuityは未確認
- ROW: PM-C04-GPT-006; Core contract: online / background / batch fallback; GPT / OpenAI surface and current evidence: backgroundは非同期pollingと一時保存条件を持つ。Batchは別rate-limit pool、24時間window、単一modelのinput file、unique custom_idを要求し、output順序はinput順序と一致しない場合がある。期限超過時はcompletedとunfinishedが分かれる; Mapping decision: online、background、Batchを別routeとし、deadline、storage、streaming、state、ordering、receipt、partial completionのlossを計算する。Batch fallbackではcustom_idで結果をjoinし、未完了を成功扱いしない; Required verification / 未確認: 実completion time、queue、tenant retention/ZDR/MAM、provider outage時の可用性は未確認
- ROW: PM-C04-GPT-007; Core contract: retry / fallback loop boundary; GPT / OpenAI surface and current evidence: Agents SDKのmodel retryはopt-inでattempt単位timeoutを持ち、response event到着後はrequestをreplayしない。SDK docsはthird-party adapterでfeature/usage/semantics差があり、固定backend検証を要求する; Mapping decision: retryをfallbackと分離し、request ID、attempt、error hash、response-started、route visited、wall-clock、capability lossを記録する。別model/providerへのfallbackはapplication-owned policyとしてCore loss budgetを適用する; Required verification / 未確認: OpenAI API/SDKがcross-model semantic fallback、state preservation、business acceptanceを保証するとは扱わない
- ROW: PM-C04-GPT-008; Core contract: observability / route acceptance; GPT / OpenAI surface and current evidence: Agents SDK tracingはrun、turn、agent、generation、function、guardrail、handoff spansを持つが、ZDRではtracingを利用できない。APIのsystem_fingerprintはbackend configuration changeの観測補助であり、同一出力保証ではない; Mapping decision: route decision、provider response、tool/source/state receipt、verifier、final acceptanceを別eventでjoinする。traceなし環境ではapplication ledgerを必須とし、system_fingerprint差をdrift cohortへ入れる; Required verification / 未確認: trace coverage、retention、redaction、tenant settings、alert/SLO値、business acceptanceはOrganization Overlayで未確認
Fallback loss profile
| FROM | TO | MUST COMPARE BEFORE ROUTE | STOP CONDITION |
| explicit model snapshot/alias | SDK default model | モデルの識別情報、推論/ツール/モダリティ/スキーマ、評価対象集団 | required capabilityまたはapproved model identityを失う |
| Responses | Chat Completions | 項目/メッセージ、ツールスキーマ、状態の搬送手段、指示、ホストされたツール | adapter round-trip、source/tool/state receiptが不成立 |
| online Responses | background | deadline、polling、temporary storage、stream continuity | retention/pollingまたはdeadline条件が許容外 |
| online/background | Batch | 処理時間、単一モデルファイル、順序、部分的な完了、受領 | interactive state/tool loop、deadline、completion semanticsを失う |
| file-search/source-bound | model-only | authority、citation、freshness、permission、raw-result evidence | ソース要件または損失予算(loss budget)の超過 |
| OpenAI native path | サードパーティのアダプター/プロバイダー | structured output、tool、multimodal、usage、Responses semantics | fixed-backend compatibility profile未合格 |
Safe verification profile
機密情報を含まない人工的に作ったテスト用データ(synthetic fixture)のみを用い、採用する固定のモデル、API、またはSDK環境が利用可能な場合に実施する。今回はプロバイダー、API、および組織の利用環境を操作していない。
- explicit modelとmodel省略のrequest recordを比較し、SDK default適用を検出する。
- required tool/source/schema/modalityを一つずつ欠くcandidateをhard prefilterで除外する。
- allowed_tools、parallel_tool_calls=false、read-only toolでproposal/execution/receiptを分離する。
- file searchでfilter有無、wrong vector store、raw-result include、citationを比較する。
- Responses ItemsをChat Completions Messagesへ往復させ、指示、ツールの出力、または状態の受信に欠落がある場合に条件が確認できなければ停止(fail closed)させる。
- online/background/Batchで同じsynthetic operation IDを用い、deadline、ordering、partial completion、duplicate joinを検査する。
- retryとfallbackを別eventで記録し、response-started後のblind replay、cycle、loss-budget超過を停止する。
- route decisionが確認済みでもverifier/final acceptanceがFAILのcaseを保持する。
既存のprovider-neutral CORE-04 fixtureを再実行し、routing contract 10/10、tail/loss/loop profile 16/16を確認した。これは本研究のcompiler experimentであり、GPT/OpenAIのlive性能や障害再現ではない。
Evidence and provenance
- OpenAI model selection: <https://developers.openai.com/api/docs/guides/model-selection> (accessed 2026-09-08)
- GPT-5.6 Sol model page: <https://developers.openai.com/api/docs/models/gpt-5.6-sol> (accessed 2026-09-08)
- Responses create reference: <https://developers.openai.com/api/reference/resources/responses/methods/create> (accessed 2026-09-08)
- Function calling: <https://developers.openai.com/api/docs/guides/function-calling> (accessed 2026-09-08)
- File search: <https://developers.openai.com/api/docs/guides/tools-file-search> (accessed 2026-09-08; registered earlier as)
- Migrate to Responses: <https://developers.openai.com/api/docs/guides/migrate-to-responses> (accessed 2026-09-08)
- Conversation state: <https://developers.openai.com/api/docs/guides/conversation-state> (accessed 2026-09-08;)
- Background mode: <https://developers.openai.com/api/docs/guides/background> (accessed 2026-09-08;)
- Batch API: <https://developers.openai.com/api/docs/guides/batch> (accessed 2026-09-08)
- Agents SDK Models: <https://openai.github.io/openai-agents-python/models/> (accessed 2026-09-08)
- Agents SDK Tracing: <https://openai.github.io/openai-agents-python/tracing/> (accessed 2026-09-08)
- Advanced usage / system_fingerprint: <https://developers.openai.com/api/docs/guides/advanced-usage> (accessed 2026-09-08)
- local compiler experiments: tests/CORE-04_routing_contract_fixture_v0.1.py/.json; tests/CORE-04_router_tail_loss_loop_fault_v0.1.py/.json
Boundary decision
PM-GPT-CORE-04は公開仕様と再実行したprovider-neutral local contractの範囲でbounded closeとする。OpenAI固有の機能をCoreへ昇格せず、限定的なローカル検証をGPT実測へ再分類しない。live model quality、quota/price、silent substitution、source全経路、cross-surface state互換、fallback graph、trace/retention/SLO、organization loss budgetは未確認のまま追跡する。Core claimは変更していないため、Gemini Product Mappingの遡及監査は不要である。
実務での使い方
PM-GPT-CORE-04は公開仕様と再実行したprovider-neutral local contractの範囲でbounded closeとする。OpenAI固有の機能をCoreへ昇格せず、限定的なローカル検証をGPT実測へ再分類しない。live model quality、quota/price、silent substitution、source全経路、cross-surface state互換、fallback graph、trace/retention/SLO、organization loss budgetは未確認のまま追跡する。Core claimは変更していないため、Gemini Product Mappingの遡及監査は不要である。
まだ確認できていないこと
原資料の確定版から収録しています。外部根拠の最新性を今回の取込日で確認済みと扱いません。本文の未解決事項・残余制約を保持します。
根拠資料
この根拠欄には、主張に対応づけて登録された外部出典がありません。本文中の引用・参考資料がある場合は、適用条件や未確認事項とあわせて確認してください。
このページから探す
種類
主題
やりたいこと
読み終えたら、次の判断へ
この記事で確かめた条件を、関連する用語・道具・手段・運用知識に接続して確認できます。実装や更新の判断には、各記事の確認時点・根拠・未確認事項を引き継いでください。
最初の知見から実務判断まで、3つの読み方を見る