PeumeAPI

Developer & public data

Octen Embedding

Convert text into embedding vectors.

From $0.015 per call

Call it

curl https://api.peume.com/v1/call/octen-embedding \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "input": [],
    "model": "octen-embedding-4b"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: octen-embedding.

Parameters

inputRequiredarray

Texts to embed (max 32768 tokens per element).

modelstring

octen-embedding-0.6b · octen-embedding-4b · octen-embedding-8b

Example: octen-embedding-4b

dimensioninteger

Output vector dimensionality (defaults to the model's max).

input_typestring

Whether the input is a retrieval query or a document.

query · document

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.