Models and tools

A chat reply from Gemma 4 26B A4b IT

A chat reply from Gemma 4 26B A4b IT. POST messages[] with max_tokens ≥ 256 (smaller values are raised; Gemma spends a reasoning budget). Dynamic token pricing. Hero: GET /heroes/frontier-llm. Tiers: /v1/chat/reasoning, /v1/chat/code, /v1/chat/agent, /v1/chat/70b.

inference.a_chat_reply_from_gemma_4_26b_a4b_itToolsAvailableAll tools
On this page

POSThttps://api.usdf.fi/v1/tools/inference.a_chat_reply_from_gemma_4_26b_a4b_it

Request

curl -X POST "https://api.usdf.fi/v1/tools/inference.a_chat_reply_from_gemma_4_26b_a4b_it" \
  -H "Authorization: Bearer $USDF_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "body": {
    "messages": [
      {
        "role": "user",
        "content": "Hello"
      }
    ],
    "max_tokens": 16
  }
}'

body

object, required

body.messages

array of objects, required

body.max_tokens

integer, optional

A call uses the same USDF balance and API key as a model request. It holds the most the input can cost, then charges what the call came to, never more than the hold. Failed calls are not charged.

See the API reference

Foundry documentation

Confirm it's you

Confirm to continue the action you started.

Checking confirmation options…