Saltar al contenido
OpenAIComprobando

gpt-5.5

openai/gpt-5.5

chat completionsContext: 1.05MHerramientasJSON
Cargando precio…
Official price$5 / $30 / 1 M de tokens

Request

POST https://api.hermes-ai.net/api/v1/chat/completions · API key with the chat:create scope, or your signed-in session.

CampoTipoNotas
modelstringopenai/gpt-5.5
messagesarrayOpenAI chat messages: system, user, assistant and tool roles; text and image_url parts.
streambooleanServer-sent events with a final usage chunk.
max_tokensintegerOutput cap; also sizes the credit reservation.
tools / tool_choicearray / objectFunction tools only.
response_formatobjectJSON mode and JSON schema where the model supports it.
temperature, top_p, stop, seed, reasoning_effortPassed through unchanged.

Respuesta

CampoNotas
choices[].message / deltaThe OpenAI chat completion shape.
usageprompt_tokens, completion_tokens and prompt_tokens_details.cached_tokens as reported by the model.
hermes.charged_microsExact charge in USD micro-units (JSON responses). Streams expose it on GET /api/v1/chat/requests.
x-hermes-requestRequest id header, also used in the billing ledger.
error.codeDocumented Hermes error code; branch on it, not on the message.