Base URLhttps://www.tryingopen.com/v1

Gemma 4 31B

by Google · 31B parameters

google/gemma-4-31b-it
Tools8 providers

Google's newest Gemma. Reads pictures as well as text, and can show its thinking. Through the API it takes text only.

Context

256k tokens

Max output

8,192 tokens

Input, credits per 1M

75

Output, credits per 1M

115

Default route

Amazon Bedrock

Credits are charged at these prices whoever answers: the highest price any route lists for this model, including OpenRouter endpoints not shown below.

Providers

With no provider, requests go to Amazon Bedrock, with zero retention. Name one below to pin it; any provider preference goes through OpenRouter with zero retention.

ProviderInput / 1MOutput / 1MContextZero retentionSlug to pin
Amazon Bedrock (default)Not listed256kYesNone: send no provider
CoreWeave1034262kYescoreweave
DeepInfra934262kYesdeepinfra
Venice1236256kYesvenice
Novita1440262kYesnovita
Parasail1540262kYesparasail
ModelRun75100262kYesmodelrun
SiliconFlow75100262kYessiliconflow
SambaNova38115262kYessambanova

Provider prices are their list prices, in credits, for comparison.

Code

curl https://www.tryingopen.com/v1/chat/completions \
  -H "Authorization: Bearer your-name" \
  -H "Content-Type: application/json" \
  -d '{"model":"google/gemma-4-31b-it","max_tokens":1000,"messages":[{"role":"user","content":"Hello!"}]}'

Try it

The API isn't set up on this deployment yet.