Console

Gemma 4 31B

Context
262K
Max output
131K
Input → output
text, image → text
Weights
Open
Providers
4
01

Providers

4 providers · list price, latency and uptime
ProviderInput /1MCached /1MOutput /1MTTFB p50Uptime 24hRetention
1
DeepInfra
$0.20–$0.40– – none
Context
262K
Max output
131K
Precision
fp8
Regions
default
Headquarters
–
Data retention
Zero retention
2
Novita AI
$0.20–$0.40– – none
Context
262K
Max output
131K
Precision
–
Regions
default
Headquarters
–
Data retention
Zero retention
3
Sail Research
$0.40$0.20$0.60– – none
Context
256K
Max output
256K
Precision
bf16
Regions
default
Headquarters
–
Data retention
Zero retention
4
Doubleword
$0.12$0.12$0.35– – may retain
Context
262K
Max output
–
Cache write /1M
$0.15
Precision
–
Regions
default
Headquarters
–
Data retention
May retain prompts

By default the router tries our listings in routing order and fails over before the first byte — never mid-answer. Pin, exclude or order providers with a routing policy. Each provider charges its own price: name one with provider.only and you pay its price; otherwise you pay the price of the provider that serves the request ($0.20 in / $0.40 out per 1M where routing starts, unless it fails over). provider.sort: "price" tries the provider with the lowest input + output price first, and provider.max_price leaves out a provider above your limit. Uptime is our own 24h measurement; a dash means too few requests to measure yet. Open a row for its specs, parameters and policies.

02

Quickstart

any SDK — only the base URL changes
curl -N https://dev-api.routerplus.com/v1/chat/completions \
  -H "Authorization: Bearer $TM_API_KEY" -H "content-type: application/json" \
  -d '{"model":"google/gemma-4-31b-it","stream":true,"max_tokens":256,
       "messages":[{"role":"user","content":"hi"}]}'
03

Pricing

per 1M tokens
prompt$0.20
completion$0.40

Other providers charge from $0.12 / $0.35 in / out per 1M: name one with provider.only to pay its price.

Every billed response carries usage.cost — recompute your bill from the wire.