
Szenenillustration, keine Ausgabe dieses Modells
Modell:
Preis: 7 credits per 1K input tokens · ≈ $0.0035 · 60 credits per 1K output tokens · ≈ $0.03Hohe Stabilität, mit detaillierten Nutzungsprotokollen auf der APIAny-Plattform.
Vorlage ohne generiertes Ergebnis
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-Schätzung ≈ $0.123: Stufe $999: 1 USD = 2,000 Credits.

Verlauf
Lokal in diesem Browser gespeichert
0 läuft · 0 abgeschlossen
Input
≈ $0.0035
Output
≈ $0.03
Cache Read
≈ $0.0005
Kontext
Max. Output
Authentifizierung
Jede Anfrage muss im Authorization Header ein Bearer Token enthalten. Erstelle deinen API Key in der Konsole.
Authorization: Bearer YOUR_API_KEYhttps://apiany.ai/v1/chat/completionsRequest-Parameter
| Parameter | Typ | Erforderlich | Hinweise |
|---|---|---|---|
model | String | Erforderlich | Die Modellkennung für den Aufruf; verwende die ID dieses Modells. |
messages | Array | Erforderlich | Nachrichtenverlauf im OpenAI-Chatformat (role + content). |
stream | Boolean | Optional | Wenn true, wird die Antwort als SSE-Stream zurückgegeben. |
Request-Beispiel
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"
}
}'Response-Beispiel
{
"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
}
}