OpenAItext1 ruta

GPT-6.2 Sol API

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

gpt-6.2-solObtener clave de API

Precios USD por millón de tokens

TokensPor 1M de tokensPrompt de más de 272K
Entrada$0.47$0.9317
Entrada en caché$0.024$0.0466
Escritura en caché (5 min)$0.59$1.1646
Escritura en caché (1 hora)$0.94$1.8633
Salida$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.

Solicitud

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)

Funciona cualquier SDK de OpenAI: establece la URL base en https://api.revana.si/v1. El streaming, las herramientas y el resto están en la documentación de chat completions.

Detalles

Id del modelo
gpt-6.2-sol
Creador
OpenAI
Endpoint
POST /v1/chat/completions
Ventana de contexto
1.05M tokens
Salida máxima
128K tokens
Streaming
Sí (eventos enviados por el servidor)
Rutas
1

1 ruta

Una ruta por ahora. Una solicitud que no recibe respuesta no se cobra.

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.

¿Qué pasa si una solicitud falla?

Una solicitud que no recibe respuesta no cuesta nada.

Is GPT-6.2 Sol on Revana the same model?

Sí. Revana pasa tu solicitud al modelo de OpenAI sin cambios y devuelve su respuesta en el formato de OpenAI, con el uso que reportó y lo que costó la solicitud.

Más de OpenAI

Every OpenAI model and its price

También en markdown para agentes. Todos los modelos de lenguaje y precios: llms.json.