Gemma Instruct (2B) API

Advanced AI model for personalized learning and instructional design solutions.
Output

How to use Gemma Instruct (2B) API

Install any OpenAI-compatible SDK, point it at api.aimlapi.com/v1, and set the model to .

OpenAI-compatible — swap the base URL and it works with your existing SDK.

Gemma Instruct (2B) API Pricing

TypePrice
Input
Output

Gemma Instruct (2B) vs other models

ModelInputOutputContextBest for
$6.5 / 1M tokens
$39 / 1M tokens
1M tokens
Reasoning + agents
$2.6 / 1M tokens
$13 / 1M tokens
1M tokens
Balanced coding + agents
$3.9 / 1M tokens
$19.5 / 1M tokens
1M tokens
Long-context, multimodal & agentic workflows
$0.65 / 1M tokens
$3.9 / 1M tokens
1M tokens
Reasoning + agents

Frequently asked questions

Yes, Gemma Instruct (2B) can stream responses as they are generated.

Yes, Gemma Instruct (2B) supports both function calling and structured outputs.

Gemma Instruct (2B) was built by Google.

Gemma Instruct (2B) is available via the v1 endpoint.

Start building with Gemma Instruct (2B)

Get API Key
1000+ models, one API.