All models / OpenAI
text-embedding-3-small API pricing and setup
Call this model through XHuoAPI with one key. Below are its prices in each tier, the endpoint formats it accepts, and a request you can copy.
Prices synced
Price by tier
USD per million tokens (per call for per-call models). A token is billed at the price of the tier it was created in; tiers not listed don't offer this model.
| Tier | Input | Cache read | Output |
|---|---|---|---|
| Standard Default | $0.016 | — | $0.016 |
| Saver | $0.010 | — | $0.010 |
| Official | $0.020 | — | $0.020 |
Facts
| Vendor | OpenAI |
|---|---|
| Type | Embeddings |
| Endpoint formats | OpenAI Embeddings |
| Billing | Per token |
| Long-context pricing | None |
| Cache-read price | No |
| Tiers | Standard · Saver · Official |
| Tested | Minimal request succeeded · |
Request example
Replace $XHUO_API_KEY with a token from the console. The base URL is https://api.xhuoapi.ai/v1; existing OpenAI SDK code only needs that one change.
curl https://api.xhuoapi.ai/v1/embeddings \
-H "Authorization: Bearer $XHUO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "text-embedding-3-small", "input": "Hello"}'