Code-specialized embeddings for semantic repo search.
/v1/embeddings 32K context 1024 dims No monthly fee · credits never expire · set spend caps anytime
Estimate your discounted pay-as-you-go spend for voyage-code-4.
Endpoint: https://api.livellmapi.com/v1/embeddings
from openai import OpenAI
client = OpenAI(
base_url="https://api.livellmapi.com/v1",
api_key="YOUR_LIVELLMAPI_KEY",
)
emb = client.embeddings.create(
model="voyage-code-4",
input=["Semantic search made simple.", "Discounted pay-as-you-go API."],
)
print(len(emb.data[0].embedding)) modelinputencoding_formatroutingstrict_discountmax_price Swap with a one-line model ID change using the same LiveLLMAPI key.