Batch embeddings up to 256 strings
NewOne call, one request billed per 16 strings.
API for text, vision and embeddings
Relay gives your product a metered endpoint for text, vision and embeddings. Pay per 1,000 requests. No seat fees.
10,000 free requests a month. No card needed.
# one call, metered per request curl https://api.relay.example/v1/generate \ -H "Authorization: Bearer $RELAY_KEY" \ -d '{"model":"fast", "input":"Summarize this ticket in one line."}'
{
"output": "Customer cannot reset password; link expires early.",
"usage": { "input_tokens": 214, "output_tokens": 11 },
"request_id": "req_8f2a91"
}Each capability is one endpoint with the same auth, the same error format and the same usage line on your invoice.
Send a prompt, get text back. Pick fast, balanced or deep per request.
POST /v1/generateSend an image URL and a question. Get a caption, a label set or a short answer.
POST /v1/describeTurn up to 256 strings into vectors in a single call, ready for your own index.
POST /v1/embedRead request counts and spend by key, by day, from the same API you call.
GET /v1/usageThe dashboard shows requests, latency and spend per key. The same numbers come back from the usage endpoint.
key requests p50 spend prod-web 412,880 388 ms $160.75 prod-worker 96,204 501 ms $34.48 staging 8,411 395 ms $0.00 --------------------------------------------- total 517,495 $195.23
Prices are demo numbers. The pricing page adds a usage calculator.
For side projects and testing.
For products with real traffic.
For volume above 1M requests a month.
This block reads the first three items of the Changelog CMS collection.
All releasesNewOne call, one request billed per 16 strings.
NewSet a monthly cap on any key.
FixPlaceholder entry.
Yes. The demo plan includes 10,000 requests a month with no card on file. Edit these numbers in the Pricing component.
Placeholder answer. State your real retention policy here, in days, and link the page that describes it.
Requests keep working and bill per 1,000 at the rate shown on the pricing page. Swap this for your own overage rule.
Placeholder answer. List only the SDKs you ship today.
Create a key, paste the curl line, read the response.