Processing or generating 5,000 words (approximately 6,665 tokens) with Text Embedding 004 ranges from $0.000033 (cached input) to $0.00 (full generation).
You send 5,000 words as prompt context, documentation, or background knowledge.
Text Embedding 004 drafts a complete 5,000 words article, chapter, or code module.
4,000 words input prompt + 1,000 words output reply.
| Model | Provider | Input Cost (5,000 words) | Cached Input Cost | Output Cost (5,000 words) | Context Limit |
|---|---|---|---|---|---|
| Text Embedding 004 (Current) | $0.000133 | $0.000033 | $0.00 | 8,192 | |
| Text Embedding 3 (Small) | openai | $0.000133 | $0.000033 | $0.00 | 8,191 |
| Text Embedding 3 (Large) | openai | $0.000866 | $0.000217 | $0.00 | 8,191 |
For Text Embedding 004 (sentencepiece tokenizer), 5,000 words is approximately 6,665 tokens (an average ratio of 1.33 tokens per word in English). Code, technical vocabulary, and non-English scripts will have higher token densities.
Sending 5,000 words as input costs $0.000133 (or $0.000033 with prompt caching). Generating 5,000 words as output costs $0.00. Output tokens are more expensive because autoregressive token generation requires significantly more computation per token.
Yes! If your input text is part of a repeated context, prompt caching saves 50% to 90% (costing $0.000033). For non-urgent asynchronous batch processing, 24-hour batch queues provide a flat 50% discount across all tokens (costing $0.000067 for input, $0.00 for output).
At an average human reading speed of 250 words per minute, 5,000 words takes approximately 20 minutes to read. In contrast, Text Embedding 004 can process or generate this text in seconds.