skip to content

granite-4.2-8b

model idgranite-4.2-8b

01·price

Price per 1M tokens

What Conifer charges, in US dollars, as the gateway's public catalog lists it.

billedusdper
Input$0.061M tokens
Output$0.251M tokens
Cache read$0.0151M tokens

02·the model

From the catalog

Model id
granite-4.2-8b
Provider
deepinfra
Context window
131,072 tokens
Capabilities
toolsreasoning

03·a request

Call it

POST /v1/chat/completions, with your key in $CONIFER_API_KEY. To point an existing client at the gateway, see Replace your provider key.

terminal
curl https://api.conifer.build/v1/chat/completions \
  -H "Authorization: Bearer $CONIFER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "granite-4.2-8b",
    "max_tokens": 1024,
    "messages": [{"role": "user", "content": "three names for a build cache"}]
  }'

04·more

Elsewhere on Conifer

  • All modelsEvery model Conifer serves, with its prices.
  • GatewayOne API key and endpoint, with the model and cost stated on every response.
  • RouterA model picked for each request from a pool you approve.