Google: Gemma 2 27B

Not supportedQuick start

Gemma 2 27B is Google's open-weight 27-billion-parameter text model, released 2024-07, built on research from the Gemini line. It targets question answering, summarization, and reasoning, and suits developers who need a capable general-purpose model without closed-model restrictions.

MirAPI doesn’t offer this model. The prices shown are the official list prices.

Modalities
inTextoutText
Price / 1M
$0.65 / $0.65
Context
8K
Released
Jul 13, 2024
Knowledge cutoff
Jun 30, 2024

Capabilities

Structured output

Parameters

Request parameters this model accepts through the API.

frequency_penaltymax_tokenspresence_penaltyrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetop_p

Showcase

Every chat model gets the same three fixed prompts. Outputs are archived verbatim, so you can copy a prompt and reproduce the result.

Task prompt · identical for all models
Build a single-file HTML page using three.js from a CDN: a low-poly planet with a tilted ring of ~200 orbiting particles, a soft key light plus rim light, slow auto-rotation, and drag-to-orbit controls. No build tools — one file only.
Archived output
Archive not published yet

Every model will run this exact prompt, and its output will appear here verbatim with token counts and the cost per run.

Quick start

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.mirapi.ai/v1",   # changed
    api_key=os.environ["MIRAPI_API_KEY"],   # changed
)

resp = client.chat.completions.create(
    model="",
    messages=[{"role": "user", "content": "Hello"}],
)
Wire Gemma 2 27B into your product

1M free tokens to start, no card required. It’s OpenAI-compatible, so you only change the base URL.

Start free