Text model

Granite 4.0 H Micro API

Granite 4.0 H Micro is a text model from IBM, live on Corent. Answers in the OpenAI-compatible chat format.

Two ways to run it

Name Granite 4.0 H Micro, or let Corent choose

You pick

POST /v1/chat/completions{  "model": "corent-granite-4.0-h-micro",  "messages": [{ "role": "user",    "content": "Write a haiku about shipping fast." }]}

Direct access runs Granite 4.0 H Micro and no other model. No substitution, you pay its price plus Corent’s fee, and the receipt names the model you pinned.

The router picks

POST /v1/chat/completions{  "model": "corent",  "messages": [{ "role": "user",    "content": "Write a haiku about shipping fast." }]}

Leave the model out and Corent reads the prompt, weighs every live text model on quality and price, and picks Granite 4.0 H Micro whenever it is the best fit. The receipt shows the exact charge.

First call

One key, one request

curl -X POST https://api.corent.tech/v1/chat/completions \  -H "Authorization: Bearer $CORENT_API_KEY" \  -H "Content-Type: application/json" \  -d '{"model": "corent-granite-4.0-h-micro", "messages": [{"role": "user", "content": "Write a haiku about shipping fast."}]}'

The response carries the result and a receipt: the model that served you and the exact cost in cents. Full request and response shapes are in the docs.

Details

Granite 4.0 H Micro, as the API serves it today

Pin by namecorent-granite-4.0-h-micro
Kind of resultText
EndpointPOST /v1/chat/completions
Made byIBM
Quality4.0 out of 10, Corent’s score
StatusLive
Typical price$0.03 to $0.10 a typical reply. See pricing

These fields come from the live catalog, the same list the full model catalog prints, so they match what the API serves.

FAQ

Common questions

Does Granite 4.0 H Micro have an API?

Yes. Granite 4.0 H Micro is served through the Corent API on POST /v1/chat/completions. Pin the exact name corent-granite-4.0-h-micro and you get that model or nothing: no substitution, and the receipt names the model you pinned. One Corent key covers it alongside every other model in the catalog.

How much does Granite 4.0 H Micro cost on Corent?

You pay the model’s price plus Corent’s fee, and the exact charge comes back on every response. Text is billed per token, and a typical reply on Corent costs $0.03 to $0.10, depending on the model and the length. Typical prices for every kind of result are on the pricing page.

Do I have to pick Granite 4.0 H Micro?

No. Leave the model out and Corent reads each prompt, picks the cheapest live model that does the job well (or the top one with "quality": "best"), and switches models if one fails. Pinning corent-granite-4.0-h-micro is for when you want exactly this model on every request.

More text models

Related models

Start

Run Granite 4.0 H Micro in your next request

One key opens the whole catalog: pin Granite 4.0 H Micro, or leave the model out and let Corent pick. Start with $5 in prepaid credits, no subscription.