Responses API
Use the OpenAI Responses format at the llmtap v1 endpoint.
First request
terminal
curl https://www.llmtap.dev/api/v1/responses -H "Authorization: Bearer sk-live-your-key" -H "Content-Type: application/json" -d '{"model":"gpt-5.6-sol","input":"Say hello"}'Streaming
Set stream to true to receive server-sent events. Usage is settled from the terminal usage event when the upstream provides it.
Errors
401 means the key is missing or invalid, 402 means the balance is insufficient, 429 means the key rate limit was reached, and 503 means the upstream was unavailable. Failed upstream requests are not charged.