Poe API

Bot image for Gemma-4-31B

Gemma-4-31B

·
  1. OFFICIAL
Chat

Powered by Google: gemma-4-31b-it. Learn more

Build with Gemma-4-31B using the Poe API

Start by creating an API key, for use with any bot on Poe:

Generate API key

Code samples

Responses API
import openai

client = openai.OpenAI(
    api_key = "YOUR_POE_API_KEY",  # or os.getenv("POE_API_KEY")
    base_url = "https://api.poe.com/v1",
)

response = client.responses.create(
    model = "gemma-4-31b",
    input = "Hello world"
)

print(response.output_text)

See the full documentation for comprehensive guidance on getting started.


More from Google

New
Bot image for Gemini-4-Neon
Gemini-4-Neon
Bot image for Gemini-4-Hydrogen
Gemini-4-Hydrogen
Bot image for Gemini-4-Carbon
Gemini-4-Carbon
Bot image for Gemini-Omni-1.2-Flash
Gemini-Omni-1.2-Flash
Bot image for Gemma-4-31B-Vercel
Gemma-4-31B-Vercel
Bot image for Gemma-4-26B-A4B
Gemma-4-26B-A4B
Bot image for Gemini-4-Argon
Gemini-4-Argon
Bot image for Nano-Banana-2.1
Nano-Banana-2.1
Bot image for Gemini-3.8-Flash
Gemini-3.8-Flash
Bot image for Gemini-Omni-1.1-Flash
Gemini-Omni-1.1-Flash