Google DeepMind's experimental diffusion-based member of the Gemma 4 open model family. Unlike autoregressive models that generate text one token at a time, DiffusionGemma denoises a canvas of placeholder tokens to produce up to 256 tokens in parallel, finalizing output in one block. A Mixture-of-Experts model with 26B total parameters and 3.8B active per inference, delivering roughly 4x the throughput of similarly sized autoregressive Gemma models on local hardware. Excels at non-linear tasks like in-line editing, molecular sequencing, mathematical graphing, and self-correcting puzzles.
262K tokens
2
Disponible
Más económico
Google AI Studio
$0.00/1M tokens
Google AI Studio, Hugging Face Inference
Ordenados por coste total (entrada y salida por 1 millón de tokens). Selecciona una fila para ver los detalles del proveedor.
| Proveedor | Precio (por 1 M) | Límites | Regiones | Estado | Latencia |
|---|---|---|---|---|---|
Entrada: GratisSalida: Gratis | 15 RPM / 500K TPM | us-east-1eu-west-1global | Operativo | 0ms | |
Entrada: $0.15Salida: $0.15 | 300 RPM / 500K TPM | us-east-1eu-west-1 | Operativo | 0ms |
Usa este modelo mediante Google AI Studio con un SDK compatible con OpenAI.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.google-ai-studio.com/v1",
apiKey: process.env.GOOGLE_AI_STUDIO_API_KEY,
});
const response = await client.chat.completions.create({
model: "diffusiongemma-26b-a4b-it",
messages: [
{ role: "user", content: "Hello!" }
],
});
console.log(response.choices[0].message.content);API de Google AI Studio · SDK compatible con OpenAI