Reasoning-Modus
Reasoning-Stufen für GetVibe API: reasoning_effort in Chat Completions, reasoning.effort in der Responses API und natives Thinking für Claude unter /v1/messages. Die Werte none, minimal, low, medium, high, xhigh und max hängen vom Modell ab und müssen anhand seiner Model Card überprüft werden; GPT-5.6 Luna, Terra und Sol veröffentlichen alle sechs Stufen von minimal bis max.
Reasoning kann die Qualität bei schwierigen Aufgaben verbessern, erhöht jedoch normalerweise die Latenz und den Verbrauch von Ausgabetokens. Das Parameterformat hängt vom Endpunkt ab, ebenso die verfügbaren Stufen vom jeweiligen Modell.
Parameterformat
| Parameter | Typ | Beschreibung |
|---|---|---|
reasoning_effort | string | Feld der obersten Ebene für /v1/chat/completions. |
reasoning.effort | string | Verschachteltes Feld für /v1/responses – das kanonische Responses-API-Format. |
none, minimal, low, medium, high, xhigh und max. GPT-5.6 Luna, Terra und Sol veröffentlichen alle sechs Stufen von minimal bis max; andere Modelle veröffentlichen möglicherweise eine kleinere Auswahl. Die korrekte Schreibweise ist medium, nicht middle.Wie Stufen angewendet werden
| Parameter | Typ | Beschreibung |
|---|---|---|
GPT-5 / o3 / o4 | native | Das Level wird dem Modell im Format des ausgewählten Endpunkts übergeben. |
GLM / Qwen | binary | none, minimal, low deaktivieren das Denken; medium und höher aktivieren es. |
Gemini | binary | Niedrigere Stufen setzen thinkingBudget=0; ab „medium“ wird automatisch ein Budget festgelegt. |
DeepSeek / Kimi | native | Reasoning ist in das Modell integriert und wird durch diesen Parameter nicht aktiviert oder deaktiviert. |
Claude | /v1/messages | Updated reasoning parameters: adaptive thinking and output_config.effort; legacy models support budget_tokens (de). |
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: natives 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 (de):
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)thinking with /v1/messages or Chat Completions with reasoning_effort; the gateway requests a visible reasoning summary. Tools: Tool connections. (de)