What it costs
One model, two catalogs. Verified goes to the vendor or its official partner; Community goes through third-party providers for less.
- Input
- $0.072
- Output
- $0.18
- Cached input
- $0.018
input / output per 1M
Straight from the vendor or its official partner. The original model.
Not available in this catalog
Third-party providers. Cheaper, with no guarantee the model isn't quantized.
Specs and latency
Everything you need for a request, and how fast the model answers on real traffic.
- ID
- ibm-granite/granite-4.2-8b
- Endpoint
- POST /v1/chat/completions
- Modality
- Text
- Context
- 131K
- Capabilities
First request
The API is OpenAI-compatible: change base_url and the model name, keep the rest of your code.
1curl https://api.velisity.live/v1/chat/completions \2 -H "Authorization: Bearer $VELISITY_API_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "model": "ibm-granite/granite-4.2-8b",6 "stream": true,7 "messages": [{ "role": "user", "content": "ping" }]8 }'In your tools
Three fields in settings and the model is available in your editor or framework.
- CursorIDE
- Override OpenAI Base URL
- https://api.velisity.live/v1
- Model
- ibm-granite/granite-4.2-8b
- ClineIDE
- API Provider
- OpenAI Compatible
- Base URL
- https://api.velisity.live/v1
- Model ID
- ibm-granite/granite-4.2-8b
- ContinueIDE
- provider
- openai
- apiBase
- https://api.velisity.live/v1
- model
- ibm-granite/granite-4.2-8b
- aiderCLI
- openai-api-base
- https://api.velisity.live/v1
- model
- openai/ibm-granite/granite-4.2-8b
- LangChainPython
- ChatOpenAI
- model="ibm-granite/granite-4.2-8b"
- base_url
- "https://api.velisity.live/v1"
- LlamaIndexPython
- OpenAILike
- model="ibm-granite/granite-4.2-8b"
- api_base
- "https://api.velisity.live/v1"
- is_chat_model
- True
- Vercel AI SDKTypeScript
- createOpenAI
- baseURL: "https://api.velisity.live/v1"
- model
- velisity.chat("ibm-granite/granite-4.2-8b")
- OpenAI SDKPython · Node · Go
- base_url
- https://api.velisity.live/v1
- model
- ibm-granite/granite-4.2-8b
- Anthropic SDKMessages API
- base_url
- https://api.velisity.live
- model
- ibm-granite/granite-4.2-8b
Similar price
Models of the same modality at a similar price. Compare to see the difference at your volume.
| Model | Price | Context | Compare |
|---|---|---|---|
| Granite 4.2 8B | $0.072 / $0.18 | 131K | |
| Nova Lite 1.0 | $0.072 / $0.29 | 300K | Compare → |
| Ling 3.0 Flash VL | $0.072 / $0.22 | 131K | Compare → |
| LingSante 3.1 Air VL | $0.072 / $0.22 | 131K | Compare → |
Questions about Granite 4.2 8B
Verified: $0.072 input / $0.18 output per 1M tokens. Pay as you go, no subscription; the balance is kept in US dollars.
Granite 4.2 8B has a 131K-token window. You pay for the tokens you actually send, not for the window size.
In any OpenAI-compatible SDK set base_url to https://api.velisity.live/v1 and the model to "ibm-granite/granite-4.2-8b". Get a key in the console; the rest of your code stays the same.
Your first request in a minute
Create a key, change the base_url — and your code already works with any model. You only pay for answers.