Skip to main content

Gemma 4 31B Turbo

Gemma is a family of open models built by Google DeepMind. Gemma 4 models are multimodal, handling text and image input and generating text output.

Model card on Hugging Face
Input / output price
$0.09 / $0.34 per 1M
Context
262K tokens
Released
Apr 2, 2026
Agent setup

Paste into Claude Code, Cursor, or Codex

Help me set up the Respan gateway: fetch and follow https://www.respan.ai/docs/agent-setup.md. Use model "gemma-4-31b-it-turbo".

Read docs

Providers

One provider serves this model, priced per 1M tokens after gateway discounts.

ProviderInputOutput
DeepInfradeepinfra/google/gemma-4-31B-it-turbo
$0.09/M$0.34/M

Pricing

USD per 1M tokens on DeepInfra, after gateway discounts.

Input
$0.09 per 1M
Output
$0.34 per 1M
Cache read
$0.05 per 1M

Cost by volume

Total cost from 0 to 1T tokens.

$0.09/MDeepInfra

Throughput and latency

30-day averages from requests through the Respan gateway. Under each figure, every model on the gateway by its average, this one in blue.

Output speed

Higher is better

21tokens/sacross providers

Faster than 38% of the other 599 models on the gateway

Time to first token

Lower is better

1.4sacross providers

Faster than 55% of the other 152 models on the gateway

Response latency

Lower is better

3.9sacross providers

Faster than 36% of the other 780 models on the gateway

Apps

Use Gemma 4 31B Turbo in the tools you already run. Each guide points the app at the Respan gateway.

Setup guides for more apps are in the integration docs.

Gemma 4 31B Turbo FAQ

Short answers, built from the data on this page.

Gemma 4 31B Turbo is a model from Google Gemini AI, released on Apr 2, 2026. Gemma is a family of open models built by Google DeepMind. Gemma 4 models are multimodal, handling text and image input and generating text output.

On the Respan gateway, Gemma 4 31B Turbo costs $0.09 per 1M input tokens and $0.34 per 1M output tokens on DeepInfra, after gateway discounts.

Gemma 4 31B Turbo is served by DeepInfra.

Gemma 4 31B Turbo accepts up to 262K tokens of context.

Point any OpenAI-compatible SDK at https://gateway.respan.ai/v1 with your Respan API key and set the model to "gemma-4-31b-it-turbo". To set it up with a coding agent, copy the agent setup prompt at the top of this page.

Certified where it counts.

Built to meet the security and privacy standards that enterprise and healthcare teams require.

ISO 27001

The internationally recognized standard for information security management.

SOC 2

Secure, compliant management of your data across all of our systems.

GDPR

Operated under GDPR, the world's strictest standard for data privacy.

HIPAA

HIPAA compliant, with a BAA available for healthcare teams.

Works with your entire stack

Use Respan with your favorite frameworks and tools.

AnthropicAI21 LabsxAIVercel AI SDK
LangChainOpenRouterAssemblyAICursor
LiteLLMGroqBasetenMem0
CohereCogneeLlamaIndexFireworks
DeepSeekLinkupHaystackTogether AI
PerplexityInference.netPostHogRubyLLM
SlackMastraAzure OpenAIMistral
AWS BedrockMoonshotHyperspellBAML
ModaInstructorGoogle GeminiParasail
ReductoZapierAgnoNebius
OpenAINovita AIReplicateSuperagent

Built for AI agents.
Break less.
Ship more.