← all models

the model directory

Gemma 4 31B vs Muse Spark 1.3

compare api pricing, context windows, and capabilities side by side.

use the same workload to understand the cost before choosing a model.

prices are published impossibl api usage rates in usd. compare the billing units and context tiers alongside each price. unpublished capabilities are marked explicitly.

model pricing, capabilities, context limits, and retirement dates
specificationGemma 4 31B

google/gemma-4-31b

Muse Spark 1.3

meta/muse-spark-1.3

creatorGoogleMeta
model typeText generationText generation
input modalitiestext, imagetext, image
output modalitiestexttext
base input price$0.99 / 1m tokens$1.25 / 1m tokens
base output price$1.49 / 1m tokens$4.25 / 1m tokens
cached input pricenot published$0.15 / 1m tokens
context window128k tokens1.05m tokens
tool callingnot publishednot published
context pricing tiersnone publishednone published
endpoints
  • /v1/chat/completions
  • /v1/chat/completions
retirementnot announcednot announced

estimate your api cost

estimate text token usage across the same workload. all amounts are in usd.

token workload

total input, including cached tokens

include billable reasoning tokens

the same token usage in each request

a subset of total input, never additional tokens

Gemma 4 31B

$1.735

estimated usage cost

1,000 requests × (1,000 uncached input × $0.99 + 500 output × $1.49) / 1,000,000 = $1.735

base rates; no context pricing tiers are published.

Muse Spark 1.3

$3.375

estimated usage cost

1,000 requests × (1,000 uncached input × $1.25 + 500 output × $4.25) / 1,000,000 = $3.375

base rates; no context pricing tiers are published.

estimates use published impossibl api usage rates. configured billing adjustments, funding fees, taxes, and custom workspace rates are excluded and may change the final amount.

image and audio usage, cache creation, and additional tool charges are excluded. reasoning tokens count as billable output, even when they are not visible in the response.

Gemma 4 31B vs Muse Spark 1.3: side-by-side summary

Gemma 4 31B and Muse Spark 1.3 are available through the Impossibl API. They share the /v1/chat/completions endpoint. Set the model identifier to select the model for a supported request.

Gemma 4 31B is created by Google. It has a 128,000-token context window. Base API pricing (USD): $0.99 per million input tokens; $1.49 per million output tokens.

Muse Spark 1.3 is created by Meta. It has a 1,048,576-token context window. Base API pricing (USD): $1.25 per million input tokens; $4.25 per million output tokens.

context window

  • Gemma 4 31B: 128,000 tokens
  • Muse Spark 1.3: 1,048,576 tokens

price

  • Gemma 4 31B: Base API pricing (USD): $0.99 per million input tokens; $1.49 per million output tokens.
  • Muse Spark 1.3: Base API pricing (USD): $1.25 per million input tokens; $4.25 per million output tokens.

created by

  • Gemma 4 31B: Google
  • Muse Spark 1.3: Meta