DeepInfra raises $107M Series B to scale the inference cloud — read the announcement

Granite 4.2 8B is an 8-billion-parameter dense transformer reasoning model developed by IBM. As the mid-size member of the Granite 4.2 family, it balances reasoning depth with operational efficiency.
Released under the Apache 2.0 license, the model is built for complex reasoning, code generation, tool calling, and structured data output.
Its defining feature is native chain-of-thought reasoning. Granite 4.2 8B performs step-by-step logical processing inside <think>…</think> tags before producing a final answer.
This supports applications that need deep logic, such as mathematical problem solving, agentic workflows, and software engineering tasks.
To give developers control over latency and computational depth, the model supports three thinking modes that can be toggled on a per-query basis:
The model has been tested across reasoning, knowledge, instruction following, and coding tasks:
| Category | Benchmark | Score | Metric |
|---|---|---|---|
| Reasoning | AIME 2025 | 86.67 | Accuracy |
| Reasoning | GPQA | 64.14 | Accuracy |
| Knowledge | MMLU-Pro | 74.04 | Accuracy |
| Instruction Following | Arena-Hard-V2 | 65.19 | Score |
| Coding | SWE-Bench Verified | 47.67 | Resolved Issues |
Compared to Granite 4.2 3B, the 8B variant offers greater reasoning depth. Compared to the 30B flagship, it remains more resource-efficient, making it a middle option for enterprise deployments.
Granite 4.2 8B natively supports a 128K token context window, extendable to 512K tokens for long-context tasks.
This makes it capable of analyzing long documents and large codebases.
The model officially supports 12 languages, including English, French, Japanese, Arabic, Spanish, and Chinese.
Granite 4.2 8B is hosted on DeepInfra, with an OpenAI-compatible interface for integration into existing workflows.
The API requires a DeepInfra API key. Include it in the HTTP Authorization header as a bearer token:
Authorization: Bearer <YOUR_DEEPINFRA_API_KEY>
Content-Type: application/json
curl -X POST "https://api.deepinfra.com/v1/openai/chat/completions" \
-H "Authorization: Bearer $DEEPINFRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "ibm-granite/granite-4.2-8b",
"messages": [
{"role": "user", "content": "Solve: If a store sells 12 pens for $18, how much do 30 pens cost?"}
],
"temperature": 0.7
}'import os
import requests
api_key = os.environ.get("DEEPINFRA_API_KEY")
url = "https://api.deepinfra.com/v1/openai/chat/completions"
payload = {
"model": "ibm-granite/granite-4.2-8b",
"messages": [
{"role": "system", "content": "Be a helpful assistant."},
{"role": "user", "content": "Write a Python function to check if a string is a palindrome."}
],
"temperature": 0.7,
"max_tokens": 1024
}
response = requests.post(url, headers={"Authorization": f"Bearer {api_key}"}, json=payload)
print(response.json())The API supports the following parameters to fine-tune model behavior:
| Parameter | Type | Default | Description |
|---|---|---|---|
| max_tokens | integer | not set | Maximum new tokens to generate, capped by the model’s context length |
| temperature | float | 1 | Controls randomness (0 is deterministic, higher is more creative) |
| top_p | float | 1 | Nucleus sampling probability cutoff |
| repetition_penalty | float | 1 | Discourages repetitive text generation |
| stop | array | not set | Sequences that halt token generation |
| response_format | object | text | Set to json_object or json_schema for structured JSON output |
| tools / tool_choice | array / string | not set | Defines callable functions and controls tool invocation |
| prompt_cache_key | string | not set | Explicit key for reusing cached prompt state across requests |
The tools / tool_choice parameters are what make tool calling work: the model decides which function to invoke and supplies arguments that match its schema.
The response_format parameter is how you request reliable structured data output instead of free-form text.
Because Granite 4.2 8B is a reasoning model, the content field in the response includes the reasoning steps followed by the final answer:
{
"choices": [
{
"message": {
"role": "assistant",
"content": "<think>\n12 pens cost $18, so 1 pen is $1.50. 30 * $1.50 = $45.\n</think>\n30 pens will cost $45."
}
}
]
}DeepInfra prices Granite 4.2 8B on a per-token basis:
Private endpoint deployments and dedicated hosting are available for high-volume enterprise needs.
Granite 4.2 8B was post-trained from Granite 4.1 8B Base using a three-stage pipeline. The final stage used Group Relative Policy Optimization, a reinforcement learning technique, run on an NVIDIA GB200 NVL72 cluster.
This training supports what IBM calls reasoning-augmented tool calling, where the model reasons about which tool to use and why it fits the task.
Granite 4.2 8B sits alongside other efficient models on DeepInfra that handle tool calling and agentic workloads:
Granite 4.2 8B bridges lightweight efficiency and deep logical processing. Its native chain-of-thought, large context window, and flexible thinking modes make it a fit for agentic workflows and enterprise coding tasks.
Key takeaways:
Get an API key and try Granite 4.2 8B on DeepInfra.
Best AI Inference Platforms for Speed & Cost in 2026<p>Updated November 2026. TL;DR: Best Inference Models and Platforms by Workload The best inference models for most production work are open-weight, and once you have picked one, the platform serving it moves your bill more than the model does. Llama 3.3 70B costs anywhere from $0.18 to $0.84 per 1,000 identical requests across the five […]</p>
GLM-5.3 API Providers: Speed, Latency & Cost<p>GLM-5.3 API Review Summary GLM-5.3 is Z AI’s flagship coding and agentic reasoning model, released on August 14, 2026, and available on DeepInfra since launch. The model is built on the same ~753-billion parameter Mixture of Experts (MoE) base architecture as GLM-5.2, with all performance gains derived entirely from scaled post-training rather than architectural changes. […]</p>
From Search Results to Evidence: NVIDIA Nemotron 3.5 Embed and Rerank on DeepInfraNVIDIA Nemotron 3.5 Embed and Rerank are available on DeepInfra from day zero. Call Embed 1B, Embed 8B, and Rerank 8B through the DeepInfra API with no deployment setup and pay-per-token pricing.© 2026 DeepInfra. All rights reserved.