LiteLLMModels

Flan T5 XL 3B API Pricing

As of October 10, 2026, Flan T5 XL 3B costs $0.60 per 1M input tokens and $0.60 per 1M output tokens on IBM watsonx.ai. It has an 8,192-token context window and returns up to 8,192 tokens per response.

By GoogleModel ID watsonx/google/flan-t5-xl-3bPrices updated Checked
Input
$0.60 / 1M tokens
Output
$0.60 / 1M tokens
Context window
8,192 tokens
Max output
8,192 tokens
Providers
1
Added to LiteLLM
October 2025

Flan T5 XL 3B pricing by provider

1 listing across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.

ProviderModel name in LiteLLMInputOutputContext
IBM watsonx.aiwatsonx/google/flan-t5-xl-3b$0.60$0.608K

What Flan T5 XL 3B costs in practice

1,000 requests with 2,000 input and 500 output tokens each

IBM watsonx.ai$1.50

Flan T5 XL 3B features

Use Flan T5 XL 3B with LiteLLM

Call Flan T5 XL 3B through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.

Python SDK
from litellm import completion

response = completion(
    model="watsonx/google/flan-t5-xl-3b",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: flan-t5-xl-3b
    litellm_params:
      model: watsonx/google/flan-t5-xl-3b
      # credentials: see the provider's LiteLLM docs page
Call the proxy
curl http://0.0.0.0:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-1234" \
  -d '{
    "model": "flan-t5-xl-3b",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Flan T5 XL 3B FAQ

How much does Flan T5 XL 3B cost?

Flan T5 XL 3B costs $0.60 per 1M input tokens and $0.60 per 1M output tokens on IBM watsonx.ai.

What is the context window of Flan T5 XL 3B?

Flan T5 XL 3B has an 8,192-token context window and returns up to 8,192 tokens per response.

Which providers offer Flan T5 XL 3B?

Flan T5 XL 3B is available from IBM watsonx.ai through LiteLLM, using the model name watsonx/google/flan-t5-xl-3b.

How do I call Flan T5 XL 3B with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="watsonx/google/flan-t5-xl-3b", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

What features does Flan T5 XL 3B support?

It does not support function calling, parallel tool calls and image input.

When did LiteLLM add Flan T5 XL 3B?

Flan T5 XL 3B was added to LiteLLM's model price file in October 2025.

Sources

Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request.

LiteLLM docs: IBM watsonx.ai.

Provider pages: IBM watsonx.ai.