Text Unicorn API Pricing
As of October 10, 2026, Text Unicorn costs $10.00 per 1M input tokens and $28.00 per 1M output tokens on Google Vertex AI. It has an 8,192-token context window and returns up to 1,024 tokens per response.
- Input
- $10.00 / 1M tokens
- Output
- $28.00 / 1M tokens
- Context window
- 8,192 tokens
- Max output
- 1,024 tokens
- Providers
- 1
- Added to LiteLLM
- January 2024
Text Unicorn pricing by provider
2 listings across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Input | Output | Context |
|---|---|---|---|---|
| Google Vertex AI | vertex_ai/text-unicorn | $10.00 | $28.00 | 8K |
| Google Vertex AI | vertex_ai/text-unicorn@001 | $10.00 | $28.00 | 8K |
What Text Unicorn costs in practice
1,000 requests with 2,000 input and 500 output tokens each
| Google Vertex AI | $34.00 |
Use Text Unicorn with LiteLLM
Call Text Unicorn through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/completions. LiteLLM tracks the cost of every request at these prices.
from litellm import completion
response = completion(
model="vertex_ai/text-unicorn",
messages=[{"role": "user", "content": "Hello!"}],
)model_list:
- model_name: text-unicorn
litellm_params:
model: vertex_ai/text-unicorn
vertex_project: os.environ/VERTEX_PROJECT
vertex_location: os.environ/VERTEX_LOCATIONcurl http://0.0.0.0:4000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-1234" \
-d '{
"model": "text-unicorn",
"messages": [{"role": "user", "content": "Hello!"}]
}'Text Unicorn FAQ
How much does Text Unicorn cost?
Text Unicorn costs $10.00 per 1M input tokens and $28.00 per 1M output tokens on Google Vertex AI.
What is the context window of Text Unicorn?
Text Unicorn has an 8,192-token context window and returns up to 1,024 tokens per response.
Which providers offer Text Unicorn?
Text Unicorn is available from Google Vertex AI through LiteLLM, using the model name vertex_ai/text-unicorn.
How do I call Text Unicorn with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="vertex_ai/text-unicorn", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.
When did LiteLLM add Text Unicorn?
Text Unicorn was added to LiteLLM's model price file in January 2024.
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Provider pricing pages:
LiteLLM docs: Google Vertex AI.
Provider pages: Google Vertex AI.
