text-embedding-3-large API
text-embedding-3-large from OpenAI converts text into numerical vectors for similarity search. It is an embedding service, so the response is a vector rather than a chat answer.
PreparingToman per million tokens
The usage rate is fixed at request admission. Reported consumption determines the final usage amount.
- API model ID
- gapgpt-text-embedding-3-large-dbb48b3aa9
- Model developer
- OpenAI
- Service type
- Embeddings
- Current availability
- Preparing
- Configured context limit
- 4,096 tokens
Model features
No additional gateway capabilities have been confirmed for this model.
What is text-embedding-3-large?
Use the public identifier gapgpt-text-embedding-3-large-dbb48b3aa9 for text-embedding-3-large in ServerNet. The gateway uses this identifier to select the configured route; the developer is OpenAI.
Where to use text-embedding-3-large
- Index document chunks with text-embedding-3-large for semantic search.
- Embed the search query with the same text-embedding-3-large model used to build your index.
- Evaluate retrieval quality before combining the results with a text-generation model.
How to evaluate this model
For text-embedding-3-large, compare the accepted input format and billing basis with alternatives in the same operation.
Before you integrate
- Use a representative test set and check factual accuracy, format and failure cases.
- Keep the first request bounded. Follow the operation-specific example and its API scope.
- Record response time and usage in your own environment before setting a production budget.
Document search
Test retrieval relevance, vector compatibility and input limits on your corpus.
Compare models ↗Build your integration
Send a string or a list of strings to /v1/embeddings. Store the returned vectors in your search index. When switching models, rebuild the index and check vector dimensions instead of mixing incompatible vectors.
Inputs and service limits
The route accepts plain text and batches of up to 128 texts. Token ID arrays, media inputs and unsupported output formats are refused. Choose chunk sizes within the model’s configured input limit.
A request cost example
For 1,000 input tokens and 0 output tokens, without a cache discount. This is a catalogue estimate, not a fixed request fee. Reported consumption and the price frozen for your request determine the usage amount.
- Estimated usage, Toman
- 41
Plan your token usage
Estimate from the displayed uncached token rates. This is a planning calculation; final billing follows actual usage and the applicable request contract.
Connect to text-embedding-3-large API
Enable ai:embedding on your key and ai:models:read to check availability. Set SERVERNET_API_KEY in your server environment. Change the idempotency key for each new request; keep it unchanged only for an identical retry.
This example documents the request format. Send it only after this model appears in GET /v1/models.
curl https://servernet.cloud/v1/embeddings \
-H "Authorization: Bearer $SERVERNET_API_KEY" \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: CHANGE_FOR_EACH_NEW_REQUEST' \
-d '{
"model": "gapgpt-text-embedding-3-large-dbb48b3aa9",
"input": [
"Hello world",
"Search documents"
]
}'import json, os, urllib.request
from uuid import uuid4
body = json.loads("{\n \"model\": \"gapgpt-text-embedding-3-large-dbb48b3aa9\",\n \"input\": [\n \"Hello world\",\n \"Search documents\"\n ]\n}")
request = urllib.request.Request(
"https://servernet.cloud/v1/embeddings",
data=json.dumps(body).encode(),
headers={
"Authorization": "Bearer " + os.environ["SERVERNET_API_KEY"],
"Content-Type": "application/json",
"Idempotency-Key": str(uuid4()),
},
method="POST",
)
with urllib.request.urlopen(request) as response:
print(json.load(response))import { randomUUID } from 'node:crypto';
const response = await fetch('https://servernet.cloud/v1/embeddings', {
method: 'POST',
headers: {
Authorization: 'Bearer ' + process.env.SERVERNET_API_KEY,
'Content-Type': 'application/json',
'Idempotency-Key': randomUUID(),
},
body: JSON.stringify({
"model": "gapgpt-text-embedding-3-large-dbb48b3aa9",
"input": [
"Hello world",
"Search documents"
]
}),
});
if (!response.ok) throw new Error('HTTP ' + response.status);
console.log(await response.json());Use the same Idempotency-Key when retrying an identical request. Successful responses are replayed without a second charge for 24 hours. Do not automatically retry when x-should-retry:false is present. The key is shown once. Store it in a server environment variable. Keep it out of browser code, GitHub and logs.
Keys, budgets and usage reportsFrequently asked questions
Is text-embedding-3-large available through ServerNet?
text-embedding-3-large is currently unavailable for API use. A catalogue listing does not activate billing or access. Choose an available related model or check this page again after the route is verified.
Which model ID and API endpoint should I use for text-embedding-3-large?
Use gapgpt-text-embedding-3-large-dbb48b3aa9 as the model field, the endpoint shown below and the matching key scope. ServerNet keys are project-specific; an SDK also needs https://servernet.cloud/v1 as its base URL.
How is text-embedding-3-large usage charged?
Only input tokens are billed for this embedding route. A returned vector is not billable generated text. Each text in a batch contributes to input consumption.
What should I check before using text-embedding-3-large in production?
The route accepts plain text and batches of up to 128 texts. Token ID arrays, media inputs and unsupported output formats are refused. Choose chunk sizes within the model’s configured input limit.
Compare models for the same task
text-embedding-3-small
Preparing EmbeddingsConfigured context limit: 4,096 tokens
text-embedding-ada-002
Preparing EmbeddingsConfigured context limit: 4,096 tokens
OpenAI: Text Embedding 3 Large
Available EmbeddingsConfigured context limit: 8,192 tokens
OpenAI: Text Embedding 3 Small
Available EmbeddingsConfigured context limit: 8,192 tokens
OpenAI: Text Embedding Ada 002
Available EmbeddingsConfigured context limit: 8,192 tokens
gemini-embedding-001
Preparing EmbeddingsConfigured context limit: 4,096 tokens