Skip to content
OpenAI · OpenAI Embeddings

text-embedding-3-large API

Turn text into vectors for semantic search, RAG retrieval, clustering, and deduplication on Openrouter API.

EmbeddingsChat & TextSynchronous
Model id
text-embedding-3-large

text-embedding-3-large API pricing

All prices in USD. Openrouter API rates compared with the official list price for the same unit.

Token typeOpenrouter APIOfficialSave
Input per 1M tokens$0.1144$0.13−12%
Output per 1M tokens$0.1144$0.13−12%

What is text-embedding-3-large?

OpenAI's text-embedding-3-large converts text into vectors for semantic search, RAG retrieval, clustering, and deduplication. It is an embedding model rather than a chat response generator: submit a string or an array of strings to the OpenAI-compatible embeddings endpoint and receive vectors. Developers can use those vectors in applications that retrieve relevant content, group related text, or identify similar entries. The maximum input is 8,191 tokens.

Openrouter API provides access through one API key and the OpenAI-compatible base URL https://openrouterapi.ru/v1. Call POST /v1/embeddings with the model ID text-embedding-3-large. Pricing is pay-as-you-go, with billing only for successful requests. Openrouter API lists input and output at $0.1144 per 1M tokens each, compared with the developer's list price of $0.13 per 1M tokens each. The default configuration is about 12% below that list price.

text-embedding-3-large highlights

Text To Vectors

Submit text and receive vectors from OpenAI's text-embedding-3-large. Use the results for search, retrieval, and text organization.

Flexible Text Inputs

The embeddings endpoint accepts a string or an array of strings. Choose the input form that matches your workflow.

OpenAI-Compatible Endpoint

Call POST /v1/embeddings through Openrouter API's OpenAI-compatible base URL. Use text-embedding-3-large as the model ID.

Below-List Token Pricing

Openrouter API input and output each cost $0.1144 per 1M tokens. The default configuration is about 12% below the developer's list price.

How to call the text-embedding-3-large API in 4 steps

  1. 01

    Get an API key

    Sign in to Openrouter API, top up from $50, and create an sk-ora key in the console.

  2. 02

    Set the base URL

    Use https://openrouterapi.ru/v1 as the base URL in your SDK or HTTP client.

  3. 03

    Send the request

    Call POST /v1/embeddings with "model": "text-embedding-3-large" and the parameters below.

  4. 04

    Handle the response

    Read the response (or stream tokens with stream: true). Usage and cost appear in your console.

Request examples

Documentation: Docs
curl https://openrouterapi.ru/v1/embeddings \
  -H "Authorization: Bearer $OPENROUTERAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "text-embedding-3-large",
    "input": ["Openrouter API routes every model through one key.", "Embeddings power semantic search."]
  }'

What you can build with text-embedding-3-large

Semantic Search

Embed searchable text and user queries to build retrieval based on meaning rather than exact keyword matches.

RAG Retrieval

Use text vectors to retrieve relevant source passages for a retrieval-augmented generation workflow.

Document Clustering

Group related documents or text entries using their embeddings to help organize a content collection.

Duplicate Detection

Use vector similarity to flag potentially duplicate text entries for review or deduplication.

Tips for better results

  • 01

    Use The Embeddings Route

    Send requests to POST https://openrouterapi.ru/v1/embeddings, not a chat endpoint, and select text-embedding-3-large.

  • 02

    Choose Your Input Form

    Send a string for one text item or an array of strings for multiple items. Both input forms are documented.

  • 03

    Check Input Length

    Keep inputs within the 8,191-token maximum. Split longer source text into smaller passages before embedding it.

  • 04

    Budget By Token Volume

    Estimate usage with Openrouter API's listed input and output rates of $0.1144 per 1M tokens each. Billing applies only to successful requests.

Limits and things to know

  • The maximum input is 8,191 tokens.

  • This endpoint returns vectors, not generated chat responses.

  • Check the documentation for supported options before adding request parameters.

text-embedding-3-large API FAQ

How much does text-embedding-3-large cost on Openrouter API?

Openrouter API input costs $0.1144 per 1M tokens, and output costs $0.1144 per 1M tokens. The developer's list price is $0.13 per 1M tokens for each; the default configuration is about 12% below list price. Billing is pay-as-you-go and applies only to successful requests.

How do I call text-embedding-3-large through Openrouter API?

Use your Openrouter API key to call POST https://openrouterapi.ru/v1/embeddings. Set the model ID to text-embedding-3-large and supply text as the input.

What inputs and parameters does the embeddings endpoint support?

The documented input is a string or an array of strings, and the endpoint returns vectors. Check the documentation for additional supported parameters.

What is the maximum input length?

The maximum input is 8,191 tokens. Split longer text into smaller passages before submitting it.

What can I build with text-embedding-3-large?

Documented uses include semantic search, RAG retrieval, clustering, and deduplication. It produces vectors for these workflows rather than generated chat answers.

Can I use text-embedding-3-large commercially?

Commercial use is subject to the model developer's terms. Review the applicable OpenAI terms and Openrouter API service terms before deploying your application.

Related models

Depth: 250+ models · Minimum top-up $50

Start building with text-embedding-3-large

One key, pay as you go from $50, billed only for successful requests.