Skip to main content
1

Get an API key

Create a key at withhopper.com/console/keys. The full sk_hopper_... key is shown once, at creation; the console keeps only the prefix. New accounts start with $5 in credits.
2

Make a chat completion

Any OpenAI-compatible client works. Set the base URL and pass your key.
The response is a standard chat completion object. Two headers report spend:
3

Stream the response

Set stream: true. Tokens arrive as SSE chunks in the OpenAI chunk format.
Streaming responses carry only x-hopper-credits-remaining-usd, set to the pre-request balance; the cost of a stream is not known until it ends. Non-streaming responses carry both headers.
4

For voice agents: hopper-client

hopper-client is a drop-in wrapper around the OpenAI SDK for turn-taking workloads: it holds one warm HTTP/2 connection per process with a 300 s keepalive, so the connection survives conversational gaps instead of re-handshaking on the next turn. Measurements are in the blog post.
5

Next steps

  • Models — the catalog: gemma-4-31b, omnivoice, nemotron-asr
  • Generate speech — 24 kHz streaming TTS
  • Transcription — batch and streaming speech to text
  • Pricing — $1 per million input tokens and $3 per million output tokens for the LLM; per-character TTS and per-audio-hour STT