Sprachmodelle/OpenAI/GPT-6.2 Sol
OpenAItext1 Route

GPT-6.2 Sol API

OpenAI's go-to model for everyday work, from coding to running agents at scale.

gpt-6.2-solAPI-Schlüssel holen

Preise USD pro Million Token

TokenPro 1 Mio. TokenPrompt über 272K
Eingabe$0.47$0.9317
Zwischengespeicherte Eingabe$0.024$0.0466
Cache-Schreibvorgang (5 Min.)$0.59$1.1646
Cache-Schreibvorgang (1 Stunde)$0.94$1.8633
Ausgabe$2.33$3.4937

A request whose prompt is over 272K tokens is billed at $0.9317 input and $3.4937 output per million tokens. Reasoning tokens are billed as output. Each answer's usage carries cost_usd, the amount taken from your balance; a request with no answer costs $0.00.

Anfrage

curl
curl https://api.revana.si/v1/chat/completions \
  -H "Authorization: Bearer $REVANA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-6.2-sol","messages":[{"role":"user","content":"Write a haiku about routing."}]}'
Python
import os
from openai import OpenAI

client = OpenAI(base_url="https://api.revana.si/v1", api_key=os.environ["REVANA_API_KEY"])
reply = client.chat.completions.create(
    model="gpt-6.2-sol",
    messages=[{"role": "user", "content": "Write a haiku about routing."}],
)
print(reply.choices[0].message.content)

Jedes OpenAI-SDK funktioniert: Setzen Sie die Basis-URL auf https://api.revana.si/v1. Streaming, Tools und alles Weitere stehen in der Dokumentation zu Chat Completions.

Details

Modell-ID
gpt-6.2-sol
Hersteller
OpenAI
Endpunkt
POST /v1/chat/completions
Kontextfenster
1,05 Mio. Token
Max. Ausgabe
128K Token
Streaming
Ja (Server-Sent Events)
Routen
1

1 Route

Heute eine Route. Eine Anfrage ohne Antwort wird nicht berechnet.

About the GPT-6.2 Sol API

How much does the GPT-6.2 Sol API cost?

GPT-6.2 Sol costs $0.47 per million input tokens, $0.024 per million cached input tokens and $2.33 per million output tokens on Revana. A request whose prompt is over 272K tokens is billed at $0.9317 input and $3.4937 output per million tokens. You pay from prepaid credit for the tokens each request used, with no subscription or minimum.

How do I call GPT-6.2 Sol from code?

Use any OpenAI SDK with base URL https://api.revana.si/v1 and your Revana API key, and set model to "gpt-6.2-sol". POST /v1/chat/completions takes the OpenAI request body, streamed or not.

Was passiert, wenn eine Anfrage fehlschlägt?

Eine Anfrage ohne Antwort kostet nichts.

Is GPT-6.2 Sol on Revana the same model?

Ja. Revana gibt Ihre Anfrage unverändert an das Modell von OpenAI weiter und liefert dessen Antwort im OpenAI-Format zurück, mit der gemeldeten Nutzung und den Kosten der Anfrage.

Mehr von OpenAI

Every OpenAI model and its price

Auch als Markdown für Agenten. Jedes Sprachmodell und jeder Preis: llms.json.