Poe API
Gemini 3.1 Pro is a state-of-the-art model for complex problem-solving, advanced reasoning, creative coding, and ambitious agentic workflows, delivering top benchmark results including a verified score of 77.1% on the ARC-AGI-2 benchmark (more than double the reasoning performance of Gemini 3 Pro).
Optional Parameters:
To instruct the bot to use more thinking effort, select from "Low" or "High"
To enable web search and real-time information update, toggle "enable web search". This is disabled by default.
Powered by Google: gemini-3.1-pro-preview. Learn more
- OFFICIAL
Build with Gemini-3.1-Pro using the Poe API
Start by creating an API key, for use with any bot on Poe:
Code samples
python
import openai
client = openai.OpenAI(
api_key = "YOUR_POE_API_KEY", # or os.getenv("POE_API_KEY")
base_url = "https://api.poe.com/v1",
)
chat = client.chat.completions.create(
model = "gemini-3.1-pro",
messages = [{
"role": "user",
"content": "Write a Java function to convert a binary number to a decimal number"
}]
)
print(chat.choices[0].message.content)See the full documentation for comprehensive guidance on getting started.