DzRouter

IBM Granite Micro

Tool use

IBM's ultra-efficient micro model. Small but mighty - perfect for simple tasks requiring minimal latency and cost.

Model id — paste this in your code
ibm-granite/ibm-granite-micro

Pricing · per 1M tokens

Show prices in
Input5.1 DA$0.0204
Output33.6 DA$0.134
Cached input5.1 DA$0.0204
Context window131KMax output: 33K

Capabilities

  • Tool use — Can call your functions / tools

Estimate your cost

Estimated cost

Use this model

Create an account, top up in dinars and call it with your key:

from openai import OpenAI

client = OpenAI(
    base_url="https://dzrouter.com/v1",
    api_key="sk-dz-…",
)

reply = client.chat.completions.create(
    model="ibm-granite/ibm-granite-micro",
    messages=[{"role": "user", "content": "Salam!"}],
)
print(reply.choices[0].message.content)
Create a free account

Start building with AI today

Create your account, top up from 500 DA and send your first request in minutes.

Create a free account