Gemini Embedding 2
Gemini Embedding 2 by Google, available on Aether API through one OpenAI-compatible API key. Priced at $0.14/M input, Free/M output.
Pricing
| Provider | |
|---|---|
| Model ID | gemini-embedding-2 |
| Endpoint | https://api.aetherapi.dev/v1/embeddings |
| Input | $0.14/1M tokens |
| Output | Free/1M tokens |
| Official provider price | $0.2/1M input ยท Free/1M output |
Supported endpoints
POST https://api.aetherapi.dev/v1/embeddings
How to call Gemini Embedding 2
Send a request to https://api.aetherapi.dev/v1/embeddings with your Aether API key. The body is the OpenAI format, so the OpenAI SDK works after changing the base URL to https://api.aetherapi.dev/v1.
cURL
curl https://api.aetherapi.dev/v1/embeddings \
-H "Authorization: Bearer sk-aetherapi-..." \
-H "Content-Type: application/json" \
-d '{"model":"gemini-embedding-2","messages":[{"role":"user","content":"Hello"}]}'
Python
from openai import OpenAI
client = OpenAI(api_key="sk-aetherapi-...", base_url="https://api.aetherapi.dev/v1")
reply = client.chat.completions.create(
model="gemini-embedding-2",
messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)
Node.js
import OpenAI from "openai";
const client = new OpenAI({
apiKey: "sk-aetherapi-...",
baseURL: "https://api.aetherapi.dev/v1",
});
const reply = await client.chat.completions.create({
model: "gemini-embedding-2",
messages: [{ role: "user", content: "Hello" }],
});
Why run Gemini Embedding 2 on Aether API
- One key for every model: this model and every other model in the catalogue use the same Aether API key, so a new provider does not mean a new integration.
- OpenAI-compatible: the request format is the OpenAI format. Existing SDK code only needs a different base URL.
- Per-token billing with credits that never expire: you pay for what you send, and unused credits stay usable.
- Spend limits per key: set a daily or monthly credit limit for every key and see the estimated cost of each request.
- No minimum commitment: no contract, no minimum volume, and every model is priced below the provider's own list price.
Frequently asked questions
How much does Gemini Embedding 2 cost on Aether API?
$0.14/M input | Free/M output. The provider's own list price is $0.2/M input | Free/M output, so the same request costs 30% less on Aether API.
How do I call Gemini Embedding 2?
Send a POST request to https://api.aetherapi.dev/v1/embeddings with your Aether API key as a Bearer token. The request body is the OpenAI format, so the OpenAI SDK works after changing the base URL to https://api.aetherapi.dev/v1.
Is Gemini Embedding 2 available on Aether API?
Yes. Gemini Embedding 2 runs on Google infrastructure and is reachable with the same key as every other model, with per-token billing, per-key spend limits, and no minimum commitment.
Related
Compare this model with other Google models: Gemma 4 26b A4b It Free, Gemma 4 31b It Free, Gemini 2.5 Flash Lite, Gemma 4 26b A4b It.
Compare this model against every other model on the models page, or see Aether API pricing and the chat completions reference.