openai logo
openai

OpenAI: Text Embedding Ada 002 (batch)

来源介绍(英文)

text-embedding-ada-002 is OpenAI's legacy text embedding model.

模型概览

模型规格

上下文
8,192 tokens
最大输出
7,372 tokens
架构
text->embeddings
分词器
Other
知识截止时间
暂未提供
内容审核
OPENROUTER

完整价格

同步自 OpenRouter。Token 价格均按每百万 Token 展示。

输入
$0.05
每百万 Token
API

快速调用

在本地设置 OPENROUTER_API_KEY。Python 需安装 requests;JavaScript 在 Node.js 中运行。密钥应保存在服务端。

此请求使用基础模型 ID 提交异步批处理。返回任务 ID 表示已提交,不表示已完成。

API 文档

curl --fail-with-body https://openrouter.ai/api/beta/batches \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"endpoint":"/v1/embeddings","model":"openai/text-embedding-ada-002","requests":[{"custom_id":"request-1","body":{"input":"Your text here"}}]}'

# Replace JOB_ID with the returned id to check progress.
curl --fail-with-body "https://openrouter.ai/api/beta/batches/JOB_ID" \
  -H "Authorization: Bearer $OPENROUTER_API_KEY"
能力与模态

输入输出

输入
text
输出
embeddings
API

支持的 API 参数

frequency_penaltylogit_biaslogprobsmax_tokenspresence_penaltyresponse_formatseedstopstructured_outputstemperaturetop_logprobstop_p
可用提供方

1 提供方

核验日期: 2026年9月7日

在 OpenRouter 查看实时 Provider

Provider 可用性、延迟、吞吐量和路由会持续变化,请前往来源页面查看实时运行数据。

OpenRouter

OpenAI

暂未提供
上下文
8K
最大输出
7K
输入
$0.05
输出
免费
缓存读取
暂未提供
缓存写入
暂未提供
openai

4 个模型

全部模型
openai logoopenai

OpenAI: GPT-6 Astra

GPT-6 Astra is OpenAI's flagship model for demanding end-to-end work. It is suited for advanced analysis, software engineering, deep research, scientific work, and document creation, with particular strengths in long-horizon...

上下文
1.1M
输入
file · image · text
输出
text
输入: $10输出: $50每百万 Token
查看模型详情
openai logoopenai

OpenAI: GPT-6 Astra (batch)

GPT-6 Astra is OpenAI's flagship model for demanding end-to-end work. It is suited for advanced analysis, software engineering, deep research, scientific work, and document creation, with particular strengths in long-horizon...

上下文
1.1M
输入
file · image · text
输出
text
输入: $5输出: $25每百万 Token
查看模型详情
openai logoopenai

OpenAI: GPT-6 Astra Pro

GPT-6 Astra Pro is the same underlying model as GPT-6 Astra, served with reasoning.mode set to pro for higher-quality responses on complex tasks. Learn more in OpenAI's docs: https://developers.openai.com/api/docs/guides/reasoning#reasoning-mode

上下文
1.1M
输入
file · image · text
输出
text
输入: $10输出: $50每百万 Token
查看模型详情
openai logoopenai

OpenAI: GPT-6 Astra Pro (batch)

GPT-6 Astra Pro is the same underlying model as GPT-6 Astra, served with reasoning.mode set to pro for higher-quality responses on complex tasks. Learn more in OpenAI's docs: https://developers.openai.com/api/docs/guides/reasoning#reasoning-mode

上下文
1.1M
输入
file · image · text
输出
text
输入: $5输出: $25每百万 Token
查看模型详情