Embeddings
POST /v1/embeddings turns a string, or a list of strings, into vectors. Texts that mean similar things get vectors that are close together.
Options
Use the same model to embed your documents and your queries. Vectors from different models can’t be compared.
Billing
Embeddings are charged for input tokens only. usage.prompt_tokens shows how many.