01·price
Price per 1M tokens
What Conifer charges, in US dollars, as the gateway's public catalog lists it.
| billed | usd | per |
|---|---|---|
| Input | $0.1 | 1M tokens |
02·the model
From the catalog
- Model id
text-embedding-ada-002- Provider
openai- Context window
- 8,192 tokens
- Embedding dimensions
- 1,536
- Capabilities
embeddings
03·a request
Call it
POST /v1/embeddings, with your key in $CONIFER_API_KEY. To point an existing client at the gateway, see Replace your provider key.
terminal
curl https://api.conifer.build/v1/embeddings \
-H "Authorization: Bearer $CONIFER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "text-embedding-ada-002",
"input": "three names for a build cache"
}'04·more
Elsewhere on Conifer
- All modelsEvery model Conifer serves, with its prices.
- GatewayOne API key and endpoint, with the model and cost stated on every response.
- RouterA model picked for each request from a pool you approve.