Hormouz AIHormouz AIHormouzSign in

Titan Text Embeddings V2: AI model

Context window:
8,192 tokens
Input:
$0.02/1M tokens
Output:
$0/1M tokens
Type:
embedding
  • Embeddings

Titan Text Embeddings V2 is a AI model from Amazon, available through Hormouz via an OpenAI-compatible API with stable access from inside Iran.

Amazon Titan Text Embeddings V2 is a text embedding model for retrieval, search, and clustering. It accepts up to 8,192 tokens per input and returns normalized vectors of 1,024 dimensions...

Quickstart

curl https://api.hormouz.net/v1/embeddings \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"amazon/titan-embed-text-v2","input":"The quick brown fox"}'

Specs

VendorAmazon
TypeEmbedding
Context window8,192 tokens
Pricing$0.02/M in · $0.00/M out
APIembeddings

Code example

cURL
curl https://api.hormouz.net/v1/embeddings \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"amazon/titan-embed-text-v2","input":"The quick brown fox"}'
Python
from openai import OpenAI
client = OpenAI(api_key="ng-YOUR_API_KEY", base_url="https://api.hormouz.net/v1")
resp = client.embeddings.create(model="amazon/titan-embed-text-v2", input="The quick brown fox")
print(resp.data[0].embedding)
JavaScript
import OpenAI from "openai";
const client = new OpenAI({ apiKey: "ng-YOUR_API_KEY", baseURL: "https://api.hormouz.net/v1" });
const resp = await client.embeddings.create({
  model: "amazon/titan-embed-text-v2",
  input: "The quick brown fox",
});
console.log(resp.data[0].embedding);

Buy the Titan Text Embeddings V2 API, paid in rial

  • Buy credit with an Iranian bank card; no foreign card or account needed.
  • One Hormouz key reaches Titan Text Embeddings V2 and nearly 700 other models, and you pay only for what you use.
  • No VPN and no risk of a banned account; just change the base URL to api.hormouz.net/v1.
Create an account

Use via Hormouz

Connect to this model and nearly 700 others with one API key, then see usage down to each request.

Request company access

Updated 2026-11-27