OpenAI-совместимый API

The endpoint speaks the OpenAI chat completions format. Point your client at our base URL and use your llmtap key.

Base URL

https://llmtap.dev/api/v1

Authentication

Send your key as a Bearer token in the Authorization header:

Authorization: Bearer sk-live-your-key

Streaming

Set "stream": true for SSE streaming. Usage is reported in a final chunk before data: [DONE], same as the official API.

Supported parameters

model, messages, stream, max_tokens, temperature, top_p, and the rest of the standard chat completions parameters are forwarded to the upstream as-is.

List models

GET /api/v1/models returns the available models with their per-1M resale pricing.

terminal
$ curl https://llmtap.dev/api/v1/models