Gemma 4 31b It
Gemma 4 31b It by Google, available on Aether API through one OpenAI-compatible API key. Priced at $0.1/M input, $0.28/M output. 131K context window.
Pricing
| Provider | |
|---|---|
| Model ID | gemma-4-31b-it |
| Endpoint | https://api.aetherapi.dev/v1/chat/completions |
| Context window | 131K |
| Input | $0.1/1M tokens |
| Output | $0.28/1M tokens |
| Official provider price | $0.14/1M input ยท $0.4/1M output |
Supported endpoints
POST https://api.aetherapi.dev/v1/chat/completionsPOST https://api.aetherapi.dev/v1/responsesPOST https://api.aetherapi.dev/v1/messages
How to call Gemma 4 31b It
Send a request to https://api.aetherapi.dev/v1/chat/completions 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/chat/completions \
-H "Authorization: Bearer sk-aetherapi-..." \
-H "Content-Type: application/json" \
-d '{"model":"gemma-4-31b-it","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="gemma-4-31b-it",
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: "gemma-4-31b-it",
messages: [{ role: "user", content: "Hello" }],
});
Why run Gemma 4 31b It 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 Gemma 4 31b It cost on Aether API?
$0.1/M input | $0.28/M output. The provider's own list price is $0.14/M input | $0.4/M output, so the same request costs 30% less on Aether API.
What is the context window of Gemma 4 31b It?
Gemma 4 31b It accepts 131K tokens of context per request on Aether API, the same limit the provider applies on its own API.
How do I call Gemma 4 31b It?
Send a POST request to https://api.aetherapi.dev/v1/chat/completions 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 Gemma 4 31b It available on Aether API?
Yes. Gemma 4 31b It 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.