AI Model APIs
AI Model APIsProviders
AI Model APIs

The complete platform for comparing AI models. Find pricing, capabilities, and the perfect model for your use case.

contact@aimodelapis.com

Resources

  • AI Models APIs
  • Providers

About

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 AI Model APIs. All rights reserved.

Back to Models
Lilac

Gemma 4 31B IT API

Lilac
About

Build advanced reasoning agents with Gemma 4 31B IT, a specialized AI model optimized for complex logic and chain-of-thought tasks. This model delivers cost-effective pricing at $0.11/1M input and $0.35/1M output tokens, native tool calling support, open weights architecture. Access Gemma 4 31B IT via the Lilac API with up to 262K output tokens.

Capabilities

Input Modalities

textimagevideo

Output Modalities

text
Reasoning
Yes
Structured Output
Yes
Tool Use
Yes
WeightsOpen
Temperature
Adjustable
Attachment
Supported
Limits
Context Window
262K

Tokens

Input Limit
262K

Tokens

Max Output
262K

Tokens

Pricing

Standard (per 1M tokens)

Input
$0.11
Output
$0.35
Frequently Asked Questions

Gemma 4 31B IT by Lilac costs $0.11 per 1M input tokens and $0.35 per 1M output tokens.

Model Details
ID
google/gemma-4-31b-it
Provider
Lilac
Family
gemma
Release Date
Apr 2, 2026
Knowledge Cutoff
Jan 1, 2025
API Integration
NPM Package
@ai-sdk/openai-compatible
Environment Variables
LILAC_API_KEY
API Base URL
https://api.getlilac.com/v1
Documentation