---
title: "Gemma 4 31B MeroMero API pricing"
canonical: https://uplinkswitch.ai/models/gemma-4-31b-meromero
generated: 2026-11-16T00:56:47.333Z
source: https://api.uplinkswitch.com/v1/catalog
base_url: https://api.uplinkswitch.com/v1
---

# Gemma 4 31B MeroMero API pricing

Gemma 4 31B MeroMero API at $0.40/M input and $1.76/M output tokens. 262,144-token context window. Works with the OpenAI SDK.

## Price per million tokens (USD)

| Tokens | Google (community tune) list price | UplinkSwitch | Under list |
| --- | --- | --- | --- |
| Input | — | $0.40 | — |
| Cached input | — | $0.20 | — |
| Output | — | $1.76 | — |

## Model

- Model id: `gemma-4-31b-meromero`
- Formats: OpenAI SDK
- Base URL: https://api.uplinkswitch.com/v1
- Context window: 262,144 tokens
- Daily real-model check: Steady since Nov 8 (https://uplinkswitch.ai/proof#gemma-4-31b-meromero)

## Gemma 4 31B MeroMero API key

1. Create a key in the console at uplinkswitch.ai/console. Credit is prepaid from $10 with no subscription, and the key works at once.
2. Point your SDK or tool at https://api.uplinkswitch.com/v1, for example with OPENAI_BASE_URL, and send the key as the bearer token.
3. Send gemma-4-31b-meromero as the model. The same key calls every other model in the catalog.

## Request

### Python · OpenAI SDK

```python
from openai import OpenAI

client = OpenAI(
    base_url="https://api.uplinkswitch.com/v1",
    api_key="sk-uplink-live-...",
)

completion = client.chat.completions.create(
    model="gemma-4-31b-meromero",
    messages=[{"role": "user", "content": "Summarize this in one line."}],
)
print(completion.choices[0].message.content)
```

### TypeScript · OpenAI SDK

```typescript
import OpenAI from 'openai';

const client = new OpenAI({
  baseURL: 'https://api.uplinkswitch.com/v1',
  apiKey: 'sk-uplink-live-...',
});

const completion = await client.chat.completions.create({
  model: 'gemma-4-31b-meromero',
  messages: [{ role: 'user', content: 'Summarize this in one line.' }],
});
console.log(completion.choices[0].message.content);
```

### curl

```bash
curl https://api.uplinkswitch.com/v1/chat/completions \
  -H "authorization: Bearer sk-uplink-live-..." \
  -H "content-type: application/json" \
  -d '{"model":"gemma-4-31b-meromero","messages":[{"role":"user","content":"Hello"}]}'
```

## Gemma 4 31B MeroMero settings for SillyTavern and Janitor AI

- SillyTavern API: Chat Completion
- Chat Completion Source: Custom (OpenAI-compatible)
- Custom Endpoint (Base URL): https://api.uplinkswitch.com/v1
- Model ID: gemma-4-31b-meromero
- Context (tokens): 262,144 tokens
- Janitor AI proxy URL: https://api.uplinkswitch.com/v1/chat/completions
- Janitor AI model: gemma-4-31b-meromero
- API key: your sk-uplink- key

A chat of 100 replies of 300 tokens costs $0.2128 at 4,000 tokens of context and $0.6928 at 16,000, at the live price; every message resends the context.

## Questions

### What is Gemma 4 31B MeroMero?

Gemma 4 31B MeroMero is a model from Google (community tune), with a 262,144-token context window. Through UplinkSwitch it answers the OpenAI SDK on one key as gemma-4-31b-meromero.

### How much does the Gemma 4 31B MeroMero API cost?

$0.40 per million input tokens and $1.76 per million output tokens, with cached input at $0.20.

### Is Gemma 4 31B MeroMero free?

It is pay as you go: prepaid credit from $10, with no subscription or monthly fee, billed per token. A 1,000-token prompt with a 500-token reply costs about $0.0013.

### What is the Gemma 4 31B MeroMero context window?

Gemma 4 31B MeroMero has a 262,144-token context window.

### What is the Gemma 4 31B MeroMero model id?

gemma-4-31b-meromero. Send it as the model through the OpenAI SDK with base URL https://api.uplinkswitch.com/v1.

### How do I get a Gemma 4 31B MeroMero API key?

Create one in the console at uplinkswitch.ai/console: prepaid credit from $10, no subscription, and the key is live at once. The same key calls Gemma 4 31B MeroMero and every other model in the catalog; send it as the bearer token with base URL https://api.uplinkswitch.com/v1.

### Is it the real Gemma 4 31B MeroMero?

Every day each model gets the same test prompt, and the results are public on /proof. Gemma 4 31B MeroMero's latest result: Steady since Nov 8.

### Is there a Gemma 4 31B MeroMero API?

Yes: gemma-4-31b-meromero on the OpenAI format at https://api.uplinkswitch.com/v1, $0.40 input and $1.76 output per million tokens. No weights to download and no GPU of your own; the key also runs every other model in the catalog.

### What is Gemma 4 31B MeroMero based on?

Google’s Gemma 4 31B it. zerofata fine-tuned it on about 49 million tokens and SLERP-merged the one-epoch checkpoint 50/50 back into the instruct model, per its card.

### What license does Gemma 4 31B MeroMero have?

The card lists Apache-2.0, the license of Gemma 4.

### What does Gemma 4 31B MeroMero cost per 100 messages?

$0.168 for 100 chat turns of 2,000 input and 500 output tokens each, at $0.40 input and $1.76 output per million tokens, from prepaid credit with no subscription.

### Gemma 4 31B MeroMero or Gemma 4 31B MeroMero v2?

Both are zerofata’s MeroMero tunes of Gemma 4 31B: this is v1 (card created 2026-04-30); v2 (card created 2026-07-31) adds two GRPO stages and an on-policy roleplay SFT for more varied swipes. Gemma 4 31B MeroMero is $0.40 / $1.76 per million tokens in / out, $1.68 for 1,000 chat turns; Gemma 4 31B MeroMero v2 is $0.35 / $1.575 per million tokens in / out, $1.49 for 1,000 chat turns. Both run on the same key, so send the same prompt to each.

## Related

- Uncensored models on one key: https://uplinkswitch.ai/uncensored
- SillyTavern setup: https://relayswitch.io/guides/sillytavern
- Janitor AI setup: https://relayswitch.io/guides/janitorai
- Chub AI setup: https://relayswitch.io/guides/chub
- RisuAI setup: https://relayswitch.io/guides/risu
- SDKs setup: https://uplinkswitch.ai/guides/sdks
- Every model and price: https://uplinkswitch.ai/llms-full.txt
- Machine catalog: https://uplinkswitch.ai/ai-catalog.json
