AILE.SH
$AILE $0.000122
EN
Log in

ollama-cloud Available now

gemma4:31b on Ollama Cloud.

Ollama Cloud serves gemma4:31b at $0.140 per million input tokens and $0.400 per million output. Context window: 256K tokens. 1 sharer is online for it, from $0.100 per million input tokens.

Input /Mtok

$0.140

Output /Mtok

$0.400

Context

256K

Sharer online

1

01Overview

Ollama Cloud serves gemma4:31b at $0.140 per million input tokens and $0.400 per million output. Context window: 256K tokens. 1 sharer is online for it, from $0.100 per million input tokens.

02Pricing

Per million tokens, in USD. This is the rate you are charged.
Input$0.140
Output$0.400
Cache read$0.0500

Across 1 online sharer, input rates run from $0.100 to $0.100 per million tokens.

03Capabilities

You can attach an image to a request and ask about it.This model can reason at length before it answers.This model can call tools and functions you define.
Context window256K tokens
Maximum output256K tokens
Knowledge cutoff2025-01
Released2026-04-02
Supported parametersmax_tokens, temperature, top_p, stop, frequency_penalty, presence_penalty, seed, logit_bias, logprobs, top_logprobs, tools, tool_choice, response_format, structured_outputs, reasoning, reasoning_effort

04Availability

1 sharer is online for this model right now.

05Usage

This model has not been served through Aile yet.

06Call it

Any OpenAI- or Anthropic-compatible SDK works. Use this exact model id:

curlTerminal
curl https://aile.sh/v1/chat/completions \
  -H "Authorization: Bearer $AILE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "ollama-cloud/gemma4:31b",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Quickstart · API reference

07Alternatives

Other providers serve gemma4:31b too, at their own rates — compare every provider for gemma4:31b.

Other models from Ollama Cloud:

ModelProviderInput /MtokOutput /MtokStatus
deepseek-v4.1-flash:1017ollama-cloud$0.300$1.20Online
deepseek-v4.1-flashollama-cloud$0.300$1.20Online
glm-5.3ollama-cloud$1.40$4.40Online
deepseek-v4-pro:0813ollama-cloud$1.32$3.96Online
kimi-k3ollama-cloud$0.171$9.75Online
glm-5.3-flashollama-cloud$0.0180$0.140Online
mistral-large-3:675bollama-cloud——Offline
kimi-k2.7-codeollama-cloud$0.600$3.00Online
kimi-k2.6ollama-cloud$0.950$4.00Online
glm-5.2ollama-cloud$1.40$4.40Online
muse-spark-openollama-cloud$1.25$4.25Online
minimax-m3ollama-cloud$0.600$2.40Online

Similar published rates elsewhere:

ModelProviderInput /MtokOutput /MtokStatus
deepseek-v4.1-flashalibaba$0.300$1.20Offline
deepseek-v4.1-flashalibaba-cn$0.299$1.20Offline
deepseek-ai/DeepSeek-V4.1-Flashbaseten$0.300$1.20Offline
deepseek-v4.1-flashbazaarlink$0.225$0.900Offline
deepseek-v4.1-flashcharm-hyper$0.330$1.31Offline
cline-pass/deepseek-v4.1-flashclinepass$0.300$1.20Offline