OpenAI

Text Embedding Ada 002 API

Text Embedding Ada 002 by OpenAI through the RelaySwitch API: $0.12 per million input tokens, $0.00 per million output tokens. Pay by card or crypto (Card, USDT, USDC, BTC, ETH, SOL). No KYC.

Input / M$0.12OpenAI list: $0.10
Cached input / Minput rateper million tokens
Output / M$0.00OpenAI list: $0.00

Specs

Model id
text-embedding-ada-002
Developer
OpenAI
Context window
8K tokens
Max output
not published
Input
text

Call it

bash
1curl https://api.relayswitch.io/v1/chat/completions \
2 -H "Authorization: Bearer $RELAYSWITCH_KEY" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "model": "text-embedding-ada-002",
6 "messages": [{"role": "user", "content": "Hello"}]
7 }'

Any OpenAI SDK works: set the base URL to https://api.relayswitch.io/v1 and the model to text-embedding-ada-002. Get a key or read the docs.

Text Embedding Ada 002 API key and pricing

One key covers Text Embedding Ada 002 and every other model in the catalog. Open the console with an email address, top up from $10 by card or in USDT, USDC, BTC, ETH, SOL, create a key, and send text-embedding-ada-002 as the model. No identity check, no subscription; the balance moves only when you call.

A chat turn$0.000242K tokens in, 500 tokens out
A long document$0.00650K tokens in, 2K tokens out
A million tokens$0.06500K in, 500K out

Costs at the live rates above; input and output billed separately, per token, from the prepaid balance.

FAQs

Text Embedding Ada 002: questions

Payment, keys and billing in short.

Open the console

A key in under a minute

Get a key

Or email hello@relayswitch.io

Run Text Embedding Ada 002 today

Top up by card or crypto and send "text-embedding-ada-002".