# Google: gemma-4-31b-it

- Model ID: `gemma-4-31b-it`
- Provider: Google
- Web version: https://www.moleapi.com/en/models/google/gemma-4-31b-it
- Content status: catalog

## Model introduction

Gemma model by Google for general chat, writing, coding assistance, and tool-assisted workflows.

## Model capabilities

- OpenAI compatible

### Verified specifications

- Catalog status: Currently available on MoleAPI
- Compatible protocols: openai
- Available billing groups: Temporary (availability may vary)

## Model pricing and access

Pricing is supplied dynamically by the MoleAPI console API.

### Temporary (availability may vary) (temp, x0.1)

- Input: $7.5 / 1M tokens
- Output: $7.5 / 1M tokens

### Access protocols

| Protocol | Method | Endpoint |
| --- | --- | --- |
| openai | POST | /v1/chat/completions |

- Live pricing source: https://home.moleapi.com/api/pricing

## About gemma-4-31b-it

Gemma model by Google for general chat, writing, coding assistance, and tool-assisted workflows.

### Sources

- [MoleAPI console pricing catalog](https://home.moleapi.com/api/pricing) — MoleAPI

## Code examples

### cURL

```bash
curl https://api.moleapi.com/v1/chat/completions \
  -H "Authorization: Bearer $MOLEAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gemma-4-31b-it","messages":[{"role":"user","content":"Hello"}]}'
```

## More related models

- [gemini-3.5-flash](https://www.moleapi.com/en/models/google/gemini-3.5-flash) — Google
- [gemini-3.1-pro](https://www.moleapi.com/en/models/google/gemini-3.1-pro) — Google
- [gemini-3-flash](https://www.moleapi.com/en/models/google/gemini-3-flash) — Google

## Frequently asked questions

### How is gemma-4-31b-it priced?

Prices are read from the MoleAPI console API and update with model prices, context tiers, and account groups.

### How can I access gemma-4-31b-it?

The catalog currently lists openai.

### How do I switch an existing project to gemma-4-31b-it?

Keep the MoleAPI API address and key, replace the model parameter, and check protocol-specific parameters.

### Where do the gemma-4-31b-it details come from?

Only confirmed availability, pricing, and protocol details from the MoleAPI catalog are included.
