# Gemma 4 31B Heretic

Google's Gemma 4 31B with its refusals removed by Heretic. A capable everyday model for writing and second opinions that also reads screenshots and photos.

| | |
|---|---|
| API id | `gemma4-31b-heretic` |
| Price | $0.80 input / $2.25 output per 1M tokens |
| Context window | 32,768 tokens |
| Size | 31B |
| Reads | text, file, image |
| Best for | Text, Images |
| Base model | [coder3101/gemma-4-31B-it-heretic](https://huggingface.co/coder3101/gemma-4-31B-it-heretic) |
| License | Apache 2.0 |
| Made by | Google DeepMind |

## Use it through the API

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

## Use it in your tools

This model is chat and API only.

[Chat with Gemma 4 31B Heretic](https://thesapientdirective.com/ghost/models/gemma-4-31b-heretic/) · [All models](https://thesapientdirective.com/ghost/models/) · [API docs](https://thesapientdirective.com/ghost/api/docs/)
