# Gemma 3 12B IT

> Google Gemma 3 12B instruction-tuned model with structured output support.

Agent resources: the index of everything machine-readable is https://www.ohmygpt.com/llms.txt; the integration skill (endpoints, auth, SDK and coding-tool setup) is https://www.ohmygpt.com/skill.md.

- Model ID: `google/gemma-3-12b-it`
- Live status and providers as JSON, no key needed: https://api.ohmygpt.com/v1/models/google/gemma-3-12b-it
- Released: 2024-12-01
- Context: 131K tokens
- Max output: 8K tokens
- Input: text, image; output: text
- Human preference rating (LMArena text): 1334

## Prices (USD)

| Item | Price | Unit |
| --- | --- | --- |
| Input | $0.099 | per 1M tokens |
| Output | $0.319 | per 1M tokens |

## Providers

Without a prefix each request goes to the best-priced healthy provider. To pin one, send the model as `<provider>:google/gemma-3-12b-it`.

| Provider | Pinned model ID | Location | Input | Output | Trains on your data |
| --- | --- | --- | --- | --- | --- |
| Amazon Bedrock | `bedrock:google/gemma-3-12b-it` | United States | $0.099 | $0.319 | no |

## Endpoints

| API | Request | model |
| --- | --- | --- |
| OpenAI Chat | POST https://api.ohmygpt.com/v1/chat/completions | `google/gemma-3-12b-it` |
| OpenAI Responses | POST https://api.ohmygpt.com/v1/responses | `google/gemma-3-12b-it` |
| Anthropic Messages | POST https://api.ohmygpt.com/v1/messages | `google/gemma-3-12b-it` |
| Google Gemini | POST https://api.ohmygpt.com/v1/models/google/gemma-3-12b-it:generateContent | `google/gemma-3-12b-it` |

## Example

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

Web page: https://www.ohmygpt.com/models/google/gemma-3-12b-it
