Skip to main content
1

Get an API key

Sign in to the dashboard and create a key. Treat it like a password — it spends against your balance.
2

Pick a model

List the models your key can call:
The id is what you pass as model. Pricing is on the Models page.
3

Send a request

4

Stream the response

Set stream: true to receive tokens as server-sent events:
Already using the Anthropic SDK or the OpenAI Responses API? The same key works against POST /messages and POST /responses — see the endpoint list.