Gemma (2B) (Deprecated) API

Highly advanced AI model capable of solving complex problems efficiently.
Output
$0.105 / 1M

How to use Gemma (2B) (Deprecated) 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 (2B) (Deprecated) API Pricing

TypePrice
Input
$0.105 / 1M
Output
$0.105 / 1M

Gemma (2B) (Deprecated) vs other models

ModelInputOutputContextBest for
$0.105 / 1M
$0.105 / 1M
$1.26 / 1M
$1.26 / 1M
$0.945 / 1M
$0.945 / 1M
$0.21 / 1M
$0.21 / 1M
$0.84 / 1M
$0.84 / 1M

Frequently asked questions

Gemma (2B) (Deprecated) is priced at input $0.105 / 1M, output $0.105 / 1M.

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

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

Gemma (2B) (Deprecated) was built by Google.

No, Gemma (2B) is marked as deprecated.

Start building with Gemma (2B) (Deprecated)

Get API Key
1000+ models, one API.