Back to Blog
EnglishTutorial

Text-Embedding-3-Small Pricing, Dimensions, and Token Limits (2026)

Current Crazyrouter pricing, 1,536 vs 512 dimensions, input limits, and when to choose text-embedding-3-small or large.

C
Crazyrouter Team
May 3, 2026 / 2468 views
Share:
Text-Embedding-3-Small Pricing, Dimensions, and Token Limits (2026)

Text-Embedding-3-Small: Price, Dimensions, and Input Limits#

text-embedding-3-small turns text into numeric vectors for semantic search, retrieval-augmented generation (RAG), clustering, and similarity matching. The practical choice is usually between the lower input cost and smaller index of text-embedding-3-small and the potentially stronger retrieval quality of text-embedding-3-large on your documents. This guide covers that choice and the costs. For runnable search code, use the batch and search API guide.

Crazyrouter price per input token#

The table below reflects the public default-group pricing checked on November 3, 2026 (UTC). Prices can change; check live embedding prices before budgeting. A private group or promotion can have a different rate.

Model available on CrazyrouterObserved default dimensionsDefault price per 1M input tokensGood starting point
text-embedding-3-small1,536USD 0.020New search indexes where cost matters
text-embedding-3-large3,072USD 0.130Quality challenger for difficult retrieval
text-embedding-ada-0021,536USD 0.100Existing indexes that already use ada-002
text-embedding-v11,536USD 0.100Workloads that explicitly require this model

Each row above returned two valid vectors from POST /v1/embeddings in a bounded live check on November 3, 2026 (UTC). This establishes availability at test time, not a long-term uptime guarantee. gte-rerank-v2 is a reranker, not an embedding model, so it is not a substitute for any of these rows.

At the listed small-model rate, embedding 10 million input tokens would cost USD 0.20 before any account-specific adjustment: 10,000,000 / 1,000,000 × 0.020. Re-embedding after a model change incurs another input-token bill. Vector storage and retrieval infrastructure have separate costs. A 512-dimensional vector has one third as many float32 values as a 1,536-dimensional vector; changing dimensions does not cut the embedding token price.

Dimensions and index size#

With no dimensions parameter, a live Crazyrouter call returned 1,536 values for text-embedding-3-small and 3,072 for text-embedding-3-large. The same small-model request with "dimensions":512 returned 512 values. OpenAI's third-generation embedding models support shortened vectors; older text-embedding-ada-002 should be used at its native dimensions.

At four bytes per float32 value, raw vector payloads are about 6,144 bytes at 1,536 dimensions, 2,048 bytes at 512, and 12,288 bytes at 3,072. That excludes document IDs, metadata, database indexes, replication, and serialization. Compression or quantization changes actual storage.

Set a vector collection's dimension when you create it. Always use the same model and dimension setting for documents and queries in that collection. A switch from small to large, or from 1,536 to 512 dimensions, requires a separate index and re-embedding the documents. Equal vector lengths across two models do not make their coordinates compatible.

Do not assume that 512 dimensions are always as accurate as 1,536. Compare both on representative queries with labeled relevant documents. The dimension testing guide explains the tradeoff in more detail.

Input limits and batching#

The provider's embedding API documents a maximum of 8,192 tokens for an individual input and a maximum input array size of 2,048. These are provider specifications, not a stress test of every Crazyrouter route. Keep your own batches comfortably within the documented limits and the request-size limits of your client and gateway. Split long documents into meaningful chunks, keep chunk IDs so the original source can be recovered, and measure token counts with the appropriate tokenizer rather than character count.

A single request containing several input strings is a synchronous embedding request. It is different from an asynchronous Batch API job. The response's data array includes an index; align each returned vector with the source input by that index, then check the vector length and finite numeric values before inserting it into a vector database.

json
{
  "model": "text-embedding-3-small",
  "input": ["Reset a password", "Download an invoice"],
  "dimensions": 512,
  "encoding_format": "float"
}

Send that body to https://api.crazyrouter.com/v1/embeddings with an API key in the Authorization: Bearer ... header. The API guide includes the full Python request, validation, and cosine-similarity example.

Choose small or large with a retrieval test#

Start with text-embedding-3-small if you are creating a new index and need a cost baseline. Test text-embedding-3-large on the same documents and queries when missed matches are expensive. Record recall@k or another metric that reflects whether the right document reaches the candidate set; then compare actual input-token cost, index size, and observed latency in your own environment. A general benchmark score cannot tell you which model wins on your terminology and languages.

You can also keep a cheap embedding model for first-stage retrieval and apply a reranker to the shortlist before asking a text model to answer. That is a separate experiment: reranking cannot recover relevant documents that the first-stage retriever never found. See the embedding model selection guide for a comparison workflow.

Common questions#

Is text-embedding-3-small deprecated? It was available and returned valid vectors in the November 3, 2026 check. Availability at one point does not establish a future deprecation policy; confirm the live catalog when deploying.

Can I reduce dimensions after embedding? Specify dimensions in the API request for the third-generation model and build a matching index. Truncating a stored vector yourself is not equivalent to validating a supported output configuration on your retrieval set.

Can I reuse an ada-002 index with small? No. Re-embed documents and queries with the new model and compare both indexes during migration.

Create a Crazyrouter account to get an API key and use the working embeddings example for your first request. Existing users can open API Keys.

Source for provider API shape and limits: OpenAI embedding guide and embeddings create reference. Crazyrouter prices and endpoint availability above were checked independently against the live site.

Estimating API spend? See the current text-embedding-3-small price and token cost calculator.

Implementation Guides

Podcast

AI Dev Tools: The Crazyrouter Podcast

Short episodes for developers on AI APIs, gateways, cost control and coding tools.

Latest episodes

  • EP196 · Oct 29, 2026 · 6:53

    AI API Security Posture — Turn Controls Into Continuous Evidence

    A practical guide to AI API security posture: inventory exposure, verify controls continuously, protect keys and data, constrain tools, and turn security assumptions into evidence that operators can act on.

  • EP195 · Oct 28, 2026 · 7:21

    AI API Policy Drift — Detect When Production Rules Stop Matching Intent

    A practical guide to policy drift in AI APIs: version routing and safety rules, detect stale enforcement, compare intended and observed behavior, and restore control before small gaps become incidents.

Episodes with written show notes →

Topics

Related Articles

How to Get a Claude API Key in 2026: Official Setup, Alternatives, and Tested ExamplesTutorial

How to Get a Claude API Key in 2026: Official Setup, Alternatives, and Tested Examples

"Learn how to get a Claude API key in 2026 from Anthropic or through Crazyrouter. Includes official setup steps, tested API examples, common problems, and a direct-vs-gateway comparison."

Mar 15
How to Get a Claude API Key in 2026: Safe Production Setup and AlternativesTutorial

How to Get a Claude API Key in 2026: Safe Production Setup and Alternatives

Step-by-step guide to getting a Claude API key, securing it, rotating it, and using Crazyrouter as a multi-model alternative.

May 25
KYC AI Workflow: Tested Extraction, Clarification, and Human ReviewTutorial

KYC AI Workflow: Tested Extraction, Clarification, and Human Review

A tested KYC AI workflow using synthetic records: text and image extraction, source checks, an address mismatch, a clarification draft, and human-review handoff. Includes the first-run unsupported inference, seven revised API calls, eight local checks, and complete Python code.

Nov 3
How to Access 300+ AI Models with One API Key in 5 MinutesTutorial

How to Access 300+ AI Models with One API Key in 5 Minutes

Stop juggling multiple API keys. Learn how to access Claude, GPT, Gemini, DeepSeek and 300+ models through a single OpenAI-compatible endpoint with zero code...

Feb 15
How to Access GPT-5 and GPT-5.2 via API - Complete Developer GuideTutorial

How to Access GPT-5 and GPT-5.2 via API - Complete Developer Guide

Learn how to access OpenAI's latest GPT-5, GPT-5.2, and o3-pro models through a unified API. Step-by-step guide with Python, Node.js, and curl examples.

Jan 22
Seedream 4.0 API Tutorial 2026: Batch Image Generation, Product Creative, and PricingTutorial

Seedream 4.0 API Tutorial 2026: Batch Image Generation, Product Creative, and Pricing

Build batch image generation workflows with Seedream 4.0-style APIs, covering prompt templates, retries, moderation, and cost-aware routing.

May 23