by GoogleReleased Apr 2, 2026
google/gemma-4-31b-itGemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output. Features a 256K token context window, configurable thinking/reasoning mode, native function...
| Billed for | You pay |
|---|---|
| Input tokens | $0.11 / 1M |
| Output tokens | $0.41 / 1M |
| Cached input, read | $0.06 / 1M |
import OpenAI from "openai";const ai = new OpenAI({ baseURL: "https://relayfor.si/api/v1", apiKey: process.env.RELAYFOR_ROUTER_KEY,});const reply = await ai.chat.completions.create({ model: "google/gemma-4-31b-it", messages: [{ role: "user", content: "Welcome the 1,000th holder in one line." }],});$0.11 per million input tokens and $0.41 per million output tokens, paid from the token's AI credit. A call of 2,000 tokens in and 500 out costs about $0.0004.
Make a router key for one of your tokens on the dashboard, point any OpenAI or Anthropic SDK at https://relayfor.si/api/v1 and send the model id google/gemma-4-31b-it. The token's AI credit pays for each call.
Up to 262,144 tokens of context, and up to 16,384 tokens in one answer.
No. The RFS Router passes each call through and keeps only its token counts and cost, for the token's usage page.
| Provider | Answered, 24 h |
|---|---|
| DeepInfrafp4 | 99.4% |
| Crusoebf16 | 99.3% |
| ModelRunfp4 | 99.2% |
| Venicefp4 | 99.2% |
| CoreWeavefp4 | 99.1% |
| Parasailfp8 | 98.9% |
| Friendli | 98.1% |
| Io Net | 97% |
| SambaNova | 95.2% |
| SiliconFlowfp8 | 46.5% |
| Chutesfp4 | Unavailable now |
| Novitabf16 | Unavailable now |