推論モード
GetVibe API の推論レベル: Chat Completions では reasoning_effort、Responses API では reasoning.effort、/v1/messages の Claude ではネイティブ thinking です。値 none、minimal、low、medium、high、xhigh、max はモデルによって異なるため、そのモデルカードで確認する必要があります。GPT-5.6 Luna、Terra、Sol は minimal から max までの 6 レベルすべてを公開しています。
推論は難しいタスクの品質を向上させることができますが、通常はレイテンシと出力トークンの消費が増加します。パラメータの形式はエンドポイントによって異なり、利用可能なレベルは特定のモデルによって異なります。
パラメーター形式
| パラメーター | タイプ | 説明 |
|---|---|---|
reasoning_effort | string | /v1/chat/completionsのトップレベルフィールドです。 |
reasoning.effort | string | /v1/responses 用のネストされたフィールド — 正規のResponses API形式です。 |
GetVibe は
none、minimal、low、medium、high、xhigh、max を認識します。GPT-5.6 Luna、Terra、Sol は minimal から max までの 6 レベルすべてを公開していますが、他のモデルはより少ないセットを公開する場合があります。正しい表記は medium であり、middle ではありません。レベルの適用方法
| パラメーター | タイプ | 説明 |
|---|---|---|
GPT-5 / o3 / o4 | native | レベルは選択したエンドポイント形式でモデルに渡されます。 |
GLM / Qwen | binary | none、minimal、lowは思考を無効化します。medium以上で有効になります。 |
Gemini | binary | 低いレベルでは thinkingBudget=0 となり、medium 以上では自動的なバジェットが設定されます。 |
DeepSeek / Kimi | native | 推論はモデルに組み込まれており、このパラメータで切り替えるものではありません。 |
Claude | /v1/messages | Updated reasoning parameters: adaptive thinking and output_config.effort; legacy models support budget_tokens (ja). |
Chat Completions(curl)
curl https://getvibeapi.com/v1/chat/completions \
-H "Authorization: Bearer $GETVIBE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-6.1-sol",
"reasoning_effort": "high",
"messages": [{"role": "user", "content": "Solve step by step: 17 * 23"}]
}'Chat Completions(OpenAI SDK)
from openai import OpenAI
client = OpenAI(base_url="https://getvibeapi.com/v1", api_key=os.environ["GETVIBE_API_KEY"])
r = client.chat.completions.create(model="gpt-6.1-sol", reasoning_effort="high",
messages=[{"role":"user","content":"Hello!"}])
print(r.choices[0].message.content)Responses API (curl)
curl https://getvibeapi.com/v1/responses \
-H "Authorization: Bearer $GETVIBE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-6.1-sol",
"reasoning": {"effort": "high"},
"input": "Solve step by step: 17 * 23"
}'Claude: ネイティブ thinking
New Claude models use thinking.type=adaptive and thinking.display=summarized for readable reasoning, with output_config.effort for its level. Older models use thinking.type=enabled with budget_tokens. Example (ja):
from anthropic import Anthropic
client = Anthropic(base_url="https://getvibeapi.com", api_key=os.environ["GETVIBE_API_KEY"])
r = client.messages.create(model="claude-sonnet-5.5", max_tokens=2048,
thinking={"type":"adaptive","display":"summarized"},
output_config={"effort":"medium"},
messages=[{"role":"user","content":"Hello!"}])
print(r.content)For Claude use
thinking with /v1/messages or Chat Completions with reasoning_effort; the gateway requests a visible reasoning summary. Tools: Tool connections. (ja)